diplomacy_cicero
diplomacy_cicero copied to clipboard
Error when install postman
Getting an error when trying to install postman:
$ pip install -e ./thirdparty/github/fairinternal/postman/postman/ Looking in indexes: https://pypi.python.org/simple Obtaining file:///home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman Preparing metadata (setup.py) ... done Requirement already satisfied: torch>=1.4.0 in /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages (from postman==0.2.2) (1.7.1+cu110) Requirement already satisfied: numpy in /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages (from torch>=1.4.0->postman==0.2.2) (1.20.3) Requirement already satisfied: typing-extensions in /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages (from torch>=1.4.0->postman==0.2.2) (4.4.0) Installing collected packages: postman Running setup.py develop for postman error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [191 lines of output]
running develop
running egg_info
writing python/postman.egg-info/PKG-INFO
writing dependency_links to python/postman.egg-info/dependency_links.txt
writing requirements to python/postman.egg-info/requires.txt
writing top-level names to python/postman.egg-info/top_level.txt
reading manifest file 'python/postman.egg-info/SOURCES.txt'
writing manifest file 'python/postman.egg-info/SOURCES.txt'
running build_ext
make -C cmake_build/postman -j
make[1]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target zlibstatic
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target address_sorting
[ 98%] Built target absl_log_severity
[ 98%] Built target absl_spinlock_wait
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_dynamic_annotations
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_int128
[ 98%] Built target c-ares
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target ssl
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target upb
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_raw_logging_internal
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target gtest
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_base
[ 98%] Built target absl_bad_optional_access
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target gtest_main
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target libprotobuf
[ 98%] Built target absl_throw_delegate
[ 98%] Built target absl_strings_internal
[ 98%] Built target crypto
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_strings
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_str_format_internal
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target gpr
[ 98%] Built target libprotoc
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target protoc
[ 98%] Built target grpc_plugin_support
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target grpc_cpp_plugin
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target grpc
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target grpc++
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
Consolidate compiler generated dependencies of target postman
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
[ 98%] Building CXX object CMakeFiles/postman.dir/cc/serialization.cc.o
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/serialization.h:25,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/serialization.cc:7:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘nest::Nest<T> nest::Nest<T>::pack_as(InputIt, InputIt) const’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:162:18: error: ‘range_error’ is not a member of ‘std’
162 | throw std::range_error("Nest didn't exhaust sequence");
| ^~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:172:35: error: ‘out_of_range’ is not a member of ‘std’
172 | throw std::out_of_range("Too few elements in sequence");
| ^~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In static member function ‘static nest::Nest<std::vector<T> > nest::Nest<T>::zip(const std::vector<nest::Nest<T> >&)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:197:18: error: ‘invalid_argument’ is not a member of ‘std’
197 | throw std::invalid_argument("Expected at least one nest.");
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:223:28: error: ‘invalid_argument’ is not a member of ‘std’
223 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:240:28: error: ‘invalid_argument’ is not a member of ‘std’
240 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:249:30: error: ‘invalid_argument’ is not a member of ‘std’
249 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:259:26: error: ‘invalid_argument’ is not a member of ‘std’
259 | throw std::invalid_argument("nests don't match");
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:290:28: error: ‘invalid_argument’ is not a member of ‘std’
290 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:304:28: error: ‘invalid_argument’ is not a member of ‘std’
304 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:312:30: error: ‘invalid_argument’ is not a member of ‘std’
312 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:320:26: error: ‘invalid_argument’ is not a member of ‘std’
320 | throw std::invalid_argument("nests don't match");
| ^~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/postman.dir/build.make:131: CMakeFiles/postman.dir/cc/serialization.cc.o] Error 1
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: *** [CMakeFiles/Makefile2:787: CMakeFiles/postman.dir/all] Error 2
make[2]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[1]: *** [Makefile:146: all] Error 2
make[1]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make: *** [Makefile:12: compile] Error 2
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 38, in <module>
main()
File "/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 33, in main
test_suite="setup.test_suite",
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 20, in run
subprocess.check_call("make develop".split(), cwd="..")
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'develop']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [191 lines of output]
running develop
running egg_info
writing python/postman.egg-info/PKG-INFO
writing dependency_links to python/postman.egg-info/dependency_links.txt
writing requirements to python/postman.egg-info/requires.txt
writing top-level names to python/postman.egg-info/top_level.txt
reading manifest file 'python/postman.egg-info/SOURCES.txt'
writing manifest file 'python/postman.egg-info/SOURCES.txt'
running build_ext
make -C cmake_build/postman -j
make[1]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target zlibstatic
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target address_sorting
[ 98%] Built target absl_log_severity
[ 98%] Built target absl_spinlock_wait
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_dynamic_annotations
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_int128
[ 98%] Built target c-ares
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target ssl
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target upb
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_raw_logging_internal
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target gtest
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_base
[ 98%] Built target absl_bad_optional_access
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target gtest_main
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target libprotobuf
[ 98%] Built target absl_throw_delegate
[ 98%] Built target absl_strings_internal
[ 98%] Built target crypto
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_strings
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_str_format_internal
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target gpr
[ 98%] Built target libprotoc
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target protoc
[ 98%] Built target grpc_plugin_support
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target grpc_cpp_plugin
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target grpc
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target grpc++
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
Consolidate compiler generated dependencies of target postman
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
[ 98%] Building CXX object CMakeFiles/postman.dir/cc/serialization.cc.o
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/serialization.h:25,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/serialization.cc:7:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘nest::Nest<T> nest::Nest<T>::pack_as(InputIt, InputIt) const’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:162:18: error: ‘range_error’ is not a member of ‘std’
162 | throw std::range_error("Nest didn't exhaust sequence");
| ^~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:172:35: error: ‘out_of_range’ is not a member of ‘std’
172 | throw std::out_of_range("Too few elements in sequence");
| ^~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In static member function ‘static nest::Nest<std::vector<T> > nest::Nest<T>::zip(const std::vector<nest::Nest<T> >&)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:197:18: error: ‘invalid_argument’ is not a member of ‘std’
197 | throw std::invalid_argument("Expected at least one nest.");
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:223:28: error: ‘invalid_argument’ is not a member of ‘std’
223 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:240:28: error: ‘invalid_argument’ is not a member of ‘std’
240 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:249:30: error: ‘invalid_argument’ is not a member of ‘std’
249 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:259:26: error: ‘invalid_argument’ is not a member of ‘std’
259 | throw std::invalid_argument("nests don't match");
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:290:28: error: ‘invalid_argument’ is not a member of ‘std’
290 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:304:28: error: ‘invalid_argument’ is not a member of ‘std’
304 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:312:30: error: ‘invalid_argument’ is not a member of ‘std’
312 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:320:26: error: ‘invalid_argument’ is not a member of ‘std’
320 | throw std::invalid_argument("nests don't match");
| ^~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/postman.dir/build.make:131: CMakeFiles/postman.dir/cc/serialization.cc.o] Error 1
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: *** [CMakeFiles/Makefile2:787: CMakeFiles/postman.dir/all] Error 2
make[2]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[1]: *** [Makefile:146: all] Error 2
make[1]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make: *** [Makefile:12: compile] Error 2
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip.
This issue seems the same as #1 . Please see it.
It's the same as the second issue on #1 which gets no reply (But new error occurs) https://github.com/facebookresearch/diplomacy_cicero/issues/1#issuecomment-1325814550 I did try the solution for the first on #1 and it did not work.
I see. The same error occurred in my environment. It seems to be caused by the version of the C++ compiler.
In my environment, I applied a patch to the following source.
./thirdparty/github/fairinternal/postman/nest/nest/nest.h
#include <algorithm>
#include <deque>
#include <map>
#include <memory>
#include <string>
#include <variant>
#include <vector>
+ #include <stdexcept>
I also had to apply a patch to the following part.
./thirdparty/github/fairinternal/postman/third_party/grpc/third_party/googletest/googletest/src/gtest-death-test.cc
Line 1290 - 1303
static void StackLowerThanAddress(const void* ptr, bool* result) {
- int dummy;
+ int dummy = 0;
*result = (&dummy < ptr);
}
// Make sure AddressSanitizer does not tamper with the stack here.
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
GTEST_ATTRIBUTE_NO_SANITIZE_HWADDRESS_
static bool StackGrowsDown() {
- int dummy;
+ int dummy = 0;
bool result;
StackLowerThanAddress(&dummy, &result);
return result;
}
Another problem is that ${PYTHON_LIBRARIES}
is missing from target_link_libraries
in CMakeList.txt. Even if the build passes, an error occurs in the linker.
In addition, if your system Python version is not 3.7, you need to specify the Python library, include file directory, and pybind11 directory in the Makefile and "compile.sh" where you are running cmake as follows.
-
-DPYTHON_LIBRARY=<Python 3.7 installation path>/lib/libpython3.7m.so
-
-DPYTHON_INCLUDE_DIR=<Python 3.7 installation path>/include/python3.7m
-
-Dpybind11_DIR=< Execution result of "pybind11-config --cmakedir" >
What version of the C++ compiler was this intended for?
The README does not specify the version, so I don't know exactly. But I found the following issue that I was searching for this error. It seems to assume the version is older than GCC 11. https://github.com/google/googletest/issues/3219
As an aside, I'm building on Manjaro Linux. And my GCC version is 12.2.0. It is buildable if patched according to the previous comment. Also, I'm not using Conda, building with Python 3.7 venv.
OK I have gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
Is that CMakeLists.txt in /diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/CMakeLists.txt ? or /repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/buffer/CMakeLists.txt ?
There's no compile.sh in /postman
I think this is the same as #1, I got it working and posted my solution there. I tried reinstalling and it worked on the second time around or using the method I posted.
OK I have Python 3.7.15 but I set
$(CMAKE_TARGET):
git submodule update --init --recursive
mkdir -p cmake_build/postman && cd cmake_build/postman && cmake -DCMAKE_BUILD_TYPE=Release ../../postman -DPYTHON_EXECUTABLE=$(shell which python) -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=../../postman/python/postman -DPYTHON_INCLUDE_DIR=~miniconda3/envs/diplomacy_cicero/include/python3.7m -Dpybind11_DIR=~/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/pybind11/share/cmake/pybind11 -DPYTHON_LIBRARY=~/miniconda3/envs/diplomacy_cicero/lib/libpython3.7m.so
in ../postman/Makefile anyway
also set
target_link_libraries(postman PUBLIC grpc libprotobuf grpc++ ${PYTHON_LIBRARIES} ${TORCH_LIBRARIES} ${TORCH_PYTHON_LIBRARIES} nest)
in ../postman/CMakeLists.txt
and made the code changes in nest.h and gtest-death-test.cc
I get a bunch of new errors:
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [944 lines of output]
running develop
running egg_info
writing python/postman.egg-info/PKG-INFO
writing dependency_links to python/postman.egg-info/dependency_links.txt
writing requirements to python/postman.egg-info/requires.txt
writing top-level names to python/postman.egg-info/top_level.txt
reading manifest file 'python/postman.egg-info/SOURCES.txt'
writing manifest file 'python/postman.egg-info/SOURCES.txt'
running build_ext
make -C cmake_build/postman -j
make[1]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
-- Found PythonInterp: /home/xxx/miniconda3/envs/diplomacy_cicero/bin/python (found suitable version "3.7.15", minimum required is "3.7")
-- pybind11 v2.3.dev1
-- No CMAKE_CXX_STANDARD set, assuming 11
--
-- 3.11.2.0
CMake Deprecation Warning at /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/grpc/third_party/zlib/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Caffe2: CUDA detected: 11.5
-- Caffe2: CUDA nvcc is: /usr/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr
-- Caffe2: Header version is: 11.5
-- Found cuDNN: v8.2.4 (include: /usr/include/x86_64-linux-gnu, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Added CUDA NVCC flags for: -gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70
CMake Deprecation Warning at /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/grpc/third_party/googletest/CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/grpc/third_party/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/grpc/third_party/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Found PythonInterp: /home/xxx/miniconda3/envs/diplomacy_cicero/bin/python (found version "3.7.15")
-- Configuring done
CMake Warning at /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/pybind11/tools/pybind11Tools.cmake:131 (add_library):
Cannot generate a safe runtime search path for target rpc because files in
some directories may conflict with libraries in implicit directories:
runtime library [libcufft.so.10] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib
runtime library [libcurand.so.10] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib
runtime library [libcublas.so.11] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib
runtime library [libnvToolsExt.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib
runtime library [libcudart.so.11.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib
Some of these libraries may not be found correctly.
Call Stack (most recent call first):
CMakeLists.txt:96 (pybind11_add_module)
CMake Warning at tests/CMakeLists.txt:11 (add_executable):
Cannot generate a safe runtime search path for target test_postman because
files in some directories may conflict with libraries in implicit
directories:
runtime library [libcufft.so.10] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib
runtime library [libcurand.so.10] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib
runtime library [libcublas.so.11] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib
runtime library [libnvToolsExt.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib
runtime library [libcudart.so.11.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib
Some of these libraries may not be found correctly.
-- Generating done
-- Build files have been written to: /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman
make[2]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_dynamic_annotations
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_spinlock_wait
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target address_sorting
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target zlibstatic
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_int128
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_log_severity
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target gtest
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target upb
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_dynamic_annotations
[ 98%] Built target zlibstatic
[ 98%] Built target absl_log_severity
[ 98%] Built target address_sorting
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_int128
[ 98%] Built target absl_spinlock_wait
[ 98%] Built target gtest
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target upb
Consolidate compiler generated dependencies of target ssl
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target c-ares
Consolidate compiler generated dependencies of target absl_raw_logging_internal
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target gtest_main
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target gtest_main
[ 98%] Built target absl_raw_logging_internal
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target ssl
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target c-ares
Consolidate compiler generated dependencies of target absl_bad_optional_access
Consolidate compiler generated dependencies of target absl_throw_delegate
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_strings_internal
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_base
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_bad_optional_access
[ 98%] Built target absl_throw_delegate
[ 98%] Built target absl_strings_internal
[ 98%] Built target absl_base
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Scanning dependencies of target crypto
Consolidate compiler generated dependencies of target crypto
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_strings
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_strings
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target libprotobuf
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_str_format_internal
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target absl_str_format_internal
[ 98%] Built target crypto
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target libprotobuf
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target gpr
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target gpr
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target libprotoc
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target libprotoc
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target protoc
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target protoc
Consolidate compiler generated dependencies of target grpc_plugin_support
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target grpc_plugin_support
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target grpc_cpp_plugin
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target grpc_cpp_plugin
Consolidate compiler generated dependencies of target grpc
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target grpc
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target grpc++
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target grpc++
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
Consolidate compiler generated dependencies of target postman
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Built target postman
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/rpc.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/rpc.dir/build.make:77: warning: ignoring old recipe for target '.'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target test_postman
Consolidate compiler generated dependencies of target rpc
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/rpc.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/rpc.dir/build.make:77: warning: ignoring old recipe for target '.'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 98%] Linking CXX executable test_postman
[ 98%] Building CXX object CMakeFiles/rpc.dir/cc/rpc_python.cc.o
/usr/bin/ld: ../grpc/libgrpc.a(channelz_registry.cc.o): in function `grpc_channelz_get_subchannel':
channelz_registry.cc:(.text+0x22a7): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(channelz_registry.cc.o): in function `grpc_channelz_get_channel':
channelz_registry.cc:(.text+0x29d7): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(channelz_registry.cc.o): in function `grpc_channelz_get_server':
channelz_registry.cc:(.text+0x30f7): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(channelz_registry.cc.o): in function `grpc_channelz_get_socket':
channelz_registry.cc:(.text+0x3827): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(channelz_registry.cc.o): in function `grpc_core::channelz::ChannelzRegistry::InternalGetTopChannels(long)':
channelz_registry.cc:(.text+0x4217): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(channelz_registry.cc.o):channelz_registry.cc:(.text+0x5267): more undefined references to `grpc_core::Json::Dump(int) const' follow
/usr/bin/ld: ../grpc/libgrpc.a(call.cc.o): in function `call_start_batch(grpc_call*, grpc_op const*, unsigned long, void*, int)':
call.cc:(.text+0x16df): undefined reference to `grpc_core::SliceBufferByteStream::SliceBufferByteStream(grpc_slice_buffer*, unsigned int)'
/usr/bin/ld: ../grpc/libgrpc.a(client_channel.cc.o): in function `grpc_core::(anonymous namespace)::CallData::RetryCommit(grpc_call_element*, grpc_core::(anonymous namespace)::CallData::SubchannelCallRetryState*)':
client_channel.cc:(.text+0x12e3): undefined reference to `grpc_core::ByteStreamCache::Destroy()'
/usr/bin/ld: ../grpc/libgrpc.a(client_channel.cc.o): in function `grpc_core::(anonymous namespace)::CallData::OnComplete(void*, grpc_error*)':
client_channel.cc:(.text+0x4500): undefined reference to `grpc_core::ByteStreamCache::Destroy()'
/usr/bin/ld: ../grpc/libgrpc.a(client_channel.cc.o): in function `grpc_core::(anonymous namespace)::CallData::StartRetriableSubchannelBatches(void*, grpc_error*)':
client_channel.cc:(.text+0x5c58): undefined reference to `grpc_core::ByteStreamCache::CachingByteStream::CachingByteStream(grpc_core::ByteStreamCache*)'
/usr/bin/ld: client_channel.cc:(.text+0x5eff): undefined reference to `grpc_core::ByteStreamCache::CachingByteStream::CachingByteStream(grpc_core::ByteStreamCache*)'
/usr/bin/ld: client_channel.cc:(.text+0x6096): undefined reference to `grpc_core::ByteStreamCache::ByteStreamCache(std::unique_ptr<grpc_core::ByteStream, grpc_core::OrphanableDelete>)'
/usr/bin/ld: ../grpc/libgrpc.a(inproc_transport.cc.o): in function `(anonymous namespace)::message_transfer_locked((anonymous namespace)::inproc_stream*, (anonymous namespace)::inproc_stream*)':
inproc_transport.cc:(.text+0x36df): undefined reference to `grpc_core::SliceBufferByteStream::SliceBufferByteStream(grpc_slice_buffer*, unsigned int)'
/usr/bin/ld: ../grpc/libgrpc.a(channelz.cc.o): in function `grpc_core::channelz::BaseNode::RenderJsonString()':
channelz.cc:(.text+0x13a7): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(channelz.cc.o): in function `grpc_core::channelz::ServerNode::RenderServerSockets(long, long)':
channelz.cc:(.text+0x3e4c): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(health_check_client.cc.o): in function `grpc_core::HealthCheckClient::CallState::StartCall()':
health_check_client.cc:(.text+0x13be): undefined reference to `grpc_core::SliceBufferByteStream::SliceBufferByteStream(grpc_slice_buffer*, unsigned int)'
/usr/bin/ld: ../grpc/libgrpc.a(cds.cc.o): in function `grpc_core::(anonymous namespace)::CdsLb::ClusterWatcher::OnClusterChanged(grpc_core::XdsApi::CdsUpdate)':
cds.cc:(.text+0x2f0b): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(dns_resolver_ares.cc.o): in function `grpc_core::(anonymous namespace)::AresDnsResolver::OnResolvedLocked(void*, grpc_error*)':
dns_resolver_ares.cc:(.text+0x198b): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(http_client_filter.cc.o): in function `http_client_start_transport_stream_op_batch(grpc_call_element*, grpc_transport_stream_op_batch*)':
http_client_filter.cc:(.text+0xde5): undefined reference to `grpc_core::ByteStreamCache::ByteStreamCache(std::unique_ptr<grpc_core::ByteStream, grpc_core::OrphanableDelete>)'
/usr/bin/ld: http_client_filter.cc:(.text+0xe09): undefined reference to `grpc_core::ByteStreamCache::CachingByteStream::CachingByteStream(grpc_core::ByteStreamCache*)'
/usr/bin/ld: ../grpc/libgrpc.a(http_client_filter.cc.o): in function `send_message_on_complete(void*, grpc_error*)':
http_client_filter.cc:(.text+0x13e9): undefined reference to `grpc_core::ByteStreamCache::~ByteStreamCache()'
/usr/bin/ld: ../grpc/libgrpc.a(http_client_filter.cc.o): in function `on_send_message_next_done(void*, grpc_error*)':
http_client_filter.cc:(.text+0x15d1): undefined reference to `grpc_core::ByteStreamCache::CachingByteStream::Reset()'
/usr/bin/ld: ../grpc/libgrpc.a(xds_bootstrap.cc.o): in function `grpc_core::XdsBootstrap::ReadFromFile(grpc_core::XdsClient*, grpc_core::TraceFlag*, grpc_error**)':
xds_bootstrap.cc:(.text+0x3431): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: xds_bootstrap.cc:(.text+0x350f): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(json_token.cc.o): in function `encoded_jwt_header(char const*, char const*) [clone .constprop.0]':
json_token.cc:(.text+0x2537): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(json_token.cc.o): in function `encoded_jwt_claim(grpc_auth_json_key const*, char const*, gpr_timespec, char const*)':
json_token.cc:(.text+0x35be): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(jwt_credentials.cc.o): in function `grpc_service_account_jwt_access_credentials_create':
jwt_credentials.cc:(.text+0xc53): undefined reference to `grpc_core::Json::Dump(int) const'
/usr/bin/ld: ../grpc/libgrpc.a(message_compress_filter.cc.o): in function `finish_send_message(grpc_call_element*)':
message_compress_filter.cc:(.text+0x271): undefined reference to `grpc_core::SliceBufferByteStream::SliceBufferByteStream(grpc_slice_buffer*, unsigned int)'
/usr/bin/ld: ../grpc/libgrpc.a(http_server_filter.cc.o): in function `hs_filter_incoming_metadata(grpc_call_element*, grpc_metadata_batch*)':
http_server_filter.cc:(.text+0xac4): undefined reference to `grpc_core::SliceBufferByteStream::SliceBufferByteStream(grpc_slice_buffer*, unsigned int)'
collect2: error: ld returned 1 exit status
make[3]: *** [tests/CMakeFiles/test_postman.dir/build.make:153: tests/test_postman] Error 1
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: *** [CMakeFiles/Makefile2:4439: tests/CMakeFiles/test_postman.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:22:23: warning: pack expansion in using-declaration only available with ‘-std=c++17’ or ‘-std=gnu++17’
22 | using Ts::operator()...;
| ^~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:25:37: error: expected constructor, destructor, or type conversion before ‘;’ token
25 | overloaded(Ts...)->overloaded<Ts...>;
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:31:12: error: ‘variant’ in namespace ‘std’ does not name a template type
31 | std::variant<T, std::vector<Nest>, std::map<std::string, Nest>>;
| ^~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:31:7: note: ‘std::variant’ is only available from C++17 onwards
31 | std::variant<T, std::vector<Nest>, std::map<std::string, Nest>>;
| ^~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:51:15: error: expected ‘)’ before ‘v’
51 | Nest(value_t v) : value(std::move(v)) {}
| ~ ^~
| )
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:53:3: error: ‘value_t’ does not name a type
53 | value_t value;
| ^~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: error: ‘invoke_result_t’ is not a member of ‘std’
112 | Nest<std::invoke_result_t<Function, T>> map(Function f) const {
| ^~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: error: ‘invoke_result_t’ is not a member of ‘std’
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:39: error: wrong number of template arguments (2, should be 1)
112 | Nest<std::invoke_result_t<Function, T>> map(Function f) const {
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:28:8: note: provided for ‘template<class T> struct nest::Nest’
28 | struct Nest {
| ^~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:40: error: expected unqualified-id before ‘>’ token
112 | Nest<std::invoke_result_t<Function, T>> map(Function f) const {
| ^~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: error: ‘invoke_result_t’ is not a member of ‘std’
214 | static Nest<std::invoke_result_t<Function, T1, T2>> map2(
| ^~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: error: ‘invoke_result_t’ is not a member of ‘std’
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:50: error: wrong number of template arguments (3, should be 1)
214 | static Nest<std::invoke_result_t<Function, T1, T2>> map2(
| ^~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:28:8: note: provided for ‘template<class T> struct nest::Nest’
28 | struct Nest {
| ^~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:52: error: expected unqualified-id before ‘>’ token
214 | static Nest<std::invoke_result_t<Function, T1, T2>> map2(
| ^~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In constructor ‘nest::Nest<T>::Nest(std::vector<T>)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:32:34: error: class ‘nest::Nest<T>’ does not have any field named ‘value’
32 | Nest(std::vector<T> entries) : value(std::vector<Nest>()) {
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:33:43: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
33 | auto &v = std::get<std::vector<Nest>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In constructor ‘nest::Nest<T>::Nest(std::map<std::basic_string<char>, T>)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:40:9: error: class ‘nest::Nest<T>’ does not have any field named ‘value’
40 | : value(std::map<std::string, Nest>()) {
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:41:53: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
41 | auto &m = std::get<std::map<std::string, Nest>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘bool nest::Nest<T>::is_leaf() const’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:55:38: error: ‘holds_alternative’ is not a member of ‘std’; did you mean ‘c10::holds_alternative’?
55 | bool is_leaf() const { return std::holds_alternative<T>(value); }
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/enum.h:7,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/util/variant.h:2450:25: note: ‘c10::holds_alternative’ declared here
2450 | inline constexpr bool holds_alternative(const variant<Ts...> &v) noexcept {
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:55:57: error: expected primary-expression before ‘>’ token
55 | bool is_leaf() const { return std::holds_alternative<T>(value); }
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:55:59: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
55 | bool is_leaf() const { return std::holds_alternative<T>(value); }
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘bool nest::Nest<T>::is_vector() const’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:58:17: error: ‘holds_alternative’ is not a member of ‘std’; did you mean ‘c10::holds_alternative’?
58 | return std::holds_alternative<std::vector<Nest<T>>>(value);
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/enum.h:7,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/util/variant.h:2450:25: note: ‘c10::holds_alternative’ declared here
2450 | inline constexpr bool holds_alternative(const variant<Ts...> &v) noexcept {
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:58:55: error: expected primary-expression before ‘>’ token
58 | return std::holds_alternative<std::vector<Nest<T>>>(value);
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:58:57: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
58 | return std::holds_alternative<std::vector<Nest<T>>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘bool nest::Nest<T>::is_map() const’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:62:17: error: ‘holds_alternative’ is not a member of ‘std’; did you mean ‘c10::holds_alternative’?
62 | return std::holds_alternative<std::map<std::string, Nest<T>>>(value);
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/enum.h:7,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:9,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/util/variant.h:2450:25: note: ‘c10::holds_alternative’ declared here
2450 | inline constexpr bool holds_alternative(const variant<Ts...> &v) noexcept {
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:62:65: error: expected primary-expression before ‘>’ token
62 | return std::holds_alternative<std::map<std::string, Nest<T>>>(value);
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:62:67: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
62 | return std::holds_alternative<std::map<std::string, Nest<T>>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘std::vector<nest::Nest<T> >& nest::Nest<T>::get_vector()’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:66:43: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
66 | return std::get<std::vector<Nest<T>>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘const std::vector<nest::Nest<T> >& nest::Nest<T>::get_vector() const’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:70:43: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
70 | return std::get<std::vector<Nest<T>>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘T& nest::Nest<T>::front()’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:74:17: error: ‘visit’ is not a member of ‘std’
74 | return std::visit(overloaded{[](T &t) -> T & { return t; },
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:74:17: note: ‘std::visit’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:74:33: error: missing template arguments before ‘{’ token
74 | return std::visit(overloaded{[](T &t) -> T & { return t; },
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:81:23: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
81 | value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘const T& nest::Nest<T>::front() const’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:85:17: error: ‘visit’ is not a member of ‘std’
85 | return std::visit(
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:85:17: note: ‘std::visit’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:86:19: error: missing template arguments before ‘{’ token
86 | overloaded{[](const T &t) -> const T & { return t; },
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:93:9: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
93 | value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘bool nest::Nest<T>::empty() const’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:97:17: error: ‘visit’ is not a member of ‘std’
97 | return std::visit(
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:97:17: note: ‘std::visit’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:98:19: error: missing template arguments before ‘{’ token
98 | overloaded{[](const T &t) { return false; },
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:108:9: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
108 | value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘OutputIt nest::Nest<T>::flatten(OutputIt) const’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:142:10: error: ‘visit’ is not a member of ‘std’
142 | std::visit(overloaded{
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:142:10: note: ‘std::visit’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:142:26: error: missing template arguments before ‘{’ token
142 | std::visit(overloaded{
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:155:16: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
155 | value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘nest::Nest<T> nest::Nest<T>::pack_as(InputIt*, const InputIt&) const’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:170:17: error: ‘visit’ is not a member of ‘std’
170 | return std::visit(
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:170:17: note: ‘std::visit’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:171:19: error: missing template arguments before ‘{’ token
171 | overloaded{[&first, &last](const T &) {
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:192:9: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
192 | value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘Function nest::Nest<T>::for_each(Function)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:267:10: error: ‘visit’ is not a member of ‘std’
267 | std::visit(overloaded{f,
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:267:10: note: ‘std::visit’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:267:26: error: missing template arguments before ‘{’ token
267 | std::visit(overloaded{f,
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:278:16: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
278 | value);
| ^~~~~
| c10::attr::value
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In static member function ‘static void nest::Nest<T>::for_each(Function, nest::Nest<T1>&, const nest::Nest<T2>&)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:285:17: error: ‘visit’ is not a member of ‘std’
285 | return std::visit(
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:285:17: note: ‘std::visit’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:286:19: error: missing template arguments before ‘{’ token
286 | overloaded{
| ^
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:16:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h: In static member function ‘static pybind11::handle pybind11::detail::type_caster<nest::Nest<Value> >::cast(pybind11::detail::type_caster<nest::Nest<Value> >::ValueNest&&, pybind11::return_value_policy, pybind11::handle)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:53:17: error: ‘visit’ is not a member of ‘std’
53 | return std::visit(
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:53:17: note: ‘std::visit’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:54:25: error: missing template arguments before ‘{’ token
54 | nest::overloaded{
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h: In static member function ‘static pybind11::handle pybind11::detail::type_caster<nest::Nest<Value> >::cast(const ValueNest&, pybind11::return_value_policy, pybind11::handle)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:74:17: error: ‘visit’ is not a member of ‘std’
74 | return std::visit(
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:74:17: note: ‘std::visit’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:75:25: error: missing template arguments before ‘{’ token
75 | nest::overloaded{
| ^
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:29,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:20:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h: In member function ‘bool BlockingCounter::DecrementCount(uint)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h:87:24: error: missing template arguments before ‘l’
87 | std::unique_lock l(count_mutex_);
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h: In member function ‘void BlockingCounter::Wait()’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h:109:22: error: missing template arguments before ‘l’
109 | std::unique_lock l(count_mutex_);
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h:118:24: error: ‘l’ was not declared in this scope
118 | count_cond_.wait(l);
| ^
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:20:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h: In member function ‘std::shared_future<nest::Nest<at::Tensor> > postman::ComputationQueue::compute(const TensorNest&, int64_t*)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:72:24: error: missing template arguments before ‘lock’
72 | std::unique_lock lock(computation_mu_);
| ^~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:77:18: error: ‘const TensorNest’ {aka ‘const struct nest::Nest<at::Tensor>’} has no member named ‘map’
77 | args.map([batch_size = batch_size_](const at::Tensor& t) {
| ^~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h: In member function ‘void postman::ComputationQueue::close()’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:112:22: error: missing template arguments before ‘lock’
112 | std::unique_lock lock(computation_mu_);
| ^~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h: In member function ‘std::shared_ptr<postman::ComputationQueue::Computation> postman::ComputationQueue::get(bool)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:124:26: error: missing template arguments before ‘lock’
124 | std::unique_lock lock(computation_mu_);
| ^~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h: In member function ‘void postman::ComputationQueue::set_batch_size(uint32_t)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:149:22: error: missing template arguments before ‘lock’
149 | std::unique_lock lock(computation_mu_);
| ^~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:22:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/server.h: At global scope:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/server.h:56:31: error: use of deleted function ‘std::atomic<bool>::atomic(const std::atomic<bool>&)’
56 | std::atomic_bool running_ = false;
| ^~~~~
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/util/typeid.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:8,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:10,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:7,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/usr/include/c++/11/atomic:72:5: note: declared here
72 | atomic(const atomic&) = delete;
| ^~~~~~
/usr/include/c++/11/atomic:76:15: note: after user-defined conversion: ‘constexpr std::atomic<bool>::atomic(bool)’
76 | constexpr atomic(bool __i) noexcept : _M_base(__i) { }
| ^~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:22:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/server.h:57:27: error: use of deleted function ‘std::atomic<int>::atomic(const std::atomic<int>&)’
57 | std::atomic_int port_ = 0;
| ^
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/util/typeid.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:8,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:10,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:7,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/usr/include/c++/11/atomic:821:7: note: declared here
821 | atomic(const atomic&) = delete;
| ^~~~~~
/usr/include/c++/11/atomic:825:17: note: after user-defined conversion: ‘constexpr std::atomic<int>::atomic(std::atomic<int>::__integral_type)’
825 | constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
| ^~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:29:6: error: ‘invoke_result_t’ in namespace ‘std’ does not name a template type
29 | std::invoke_result_t<Function> callwithcatch(Function f) {
| ^~~~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:29:1: note: ‘std::invoke_result_t’ is only available from C++17 onwards
29 | std::invoke_result_t<Function> callwithcatch(Function f) {
| ^~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:79:21: error: ‘callwithcatch’ was not declared in this scope
79 | return callwithcatch(
| ^~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:95:21: error: ‘callwithcatch’ was not declared in this scope
95 | return callwithcatch(
| ^~~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc: In function ‘void pybind11_init_rpc(pybind11::module&)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:124:19: error: ‘std::optional’ has not been declared
124 | std::optional<TensorNest> outputs) {
| ^~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:124:27: error: expected ‘,’ or ‘...’ before ‘<’ token
124 | std::optional<TensorNest> outputs) {
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc: In lambda function:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:125:41: error: ‘outputs’ was not declared in this scope; did you mean ‘puts’?
125 | self->set_outputs(std::move(outputs).value_or(
| ^~~~~~~
| puts
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:126:53: error: no matching function for call to ‘nest::Nest<at::Tensor>::Nest(std::vector<nest::Nest<at::Tensor>, std::allocator<nest::Nest<at::Tensor> > >)’
126 | TensorNest(std::vector<TensorNest>())));
| ^
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:48:3: note: candidate: ‘constexpr nest::Nest<T>::Nest(nest::Nest<T>&&) [with T = at::Tensor]’
48 | Nest(Nest &&) = default;
| ^~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:48:8: note: no known conversion for argument 1 from ‘std::vector<nest::Nest<at::Tensor>, std::allocator<nest::Nest<at::Tensor> > >’ to ‘nest::Nest<at::Tensor>&&’
48 | Nest(Nest &&) = default;
| ^~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:47:3: note: candidate: ‘constexpr nest::Nest<T>::Nest(const nest::Nest<T>&) [with T = at::Tensor]’
47 | Nest(const Nest &) = default;
| ^~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:47:8: note: no known conversion for argument 1 from ‘std::vector<nest::Nest<at::Tensor>, std::allocator<nest::Nest<at::Tensor> > >’ to ‘const nest::Nest<at::Tensor>&’
47 | Nest(const Nest &) = default;
| ^~~~~~~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:46:3: note: candidate: ‘constexpr nest::Nest<T>::Nest() [with T = at::Tensor]’
46 | Nest() = default; // needed for type_caster below.
| ^~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:46:3: note: candidate expects 0 arguments, 1 provided
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:39:3: note: candidate: ‘nest::Nest<T>::Nest(std::map<std::basic_string<char>, T>) [with T = at::Tensor]’
39 | Nest(std::map<std::string, T> entries)
| ^~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:39:33: note: no known conversion for argument 1 from ‘std::vector<nest::Nest<at::Tensor>, std::allocator<nest::Nest<at::Tensor> > >’ to ‘std::map<std::basic_string<char>, at::Tensor, std::less<std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, at::Tensor> > >’
39 | Nest(std::map<std::string, T> entries)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:32:3: note: candidate: ‘nest::Nest<T>::Nest(std::vector<T>) [with T = at::Tensor]’
32 | Nest(std::vector<T> entries) : value(std::vector<Nest>()) {
| ^~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:32:23: note: no known conversion for argument 1 from ‘vector<nest::Nest<at::Tensor>,allocator<nest::Nest<at::Tensor>>>’ to ‘vector<at::Tensor,allocator<at::Tensor>>’
32 | Nest(std::vector<T> entries) : value(std::vector<Nest>()) {
| ~~~~~~~~~~~~~~~^~~~~~~
In file included from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:16:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h: In instantiation of ‘bool pybind11::detail::type_caster<nest::Nest<Value> >::load(pybind11::handle, bool) [with Value = at::Tensor]’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/pybind11/include/pybind11/cast.h:1923:53: required from ‘bool pybind11::detail::argument_loader<Args>::load_impl_sequence(pybind11::detail::function_call&, std::index_sequence<indices ...>) [with long unsigned int ...Is = {0, 1, 2}; Args = {postman::Client*, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const nest::Nest<at::Tensor>&}; std::index_sequence<indices ...> = std::integer_sequence<long unsigned int, 0, 1, 2>]’
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/pybind11/include/pybind11/cast.h:1903:34: required from ‘bool pybind11::detail::argument_loader<Args>::load_args(pybind11::detail::function_call&) [with Args = {postman::Client*, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const nest::Nest<at::Tensor>&}]’
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/pybind11/include/pybind11/pybind11.h:141:42: required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11_init_rpc(pybind11::module&)::<lambda(postman::Client*, const string&, const TensorNest&)>; Return = nest::Nest<at::Tensor>; Args = {postman::Client*, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const nest::Nest<at::Tensor>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]’
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/pybind11/include/pybind11/pybind11.h:71:19: required from ‘pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) [with Func = pybind11_init_rpc(pybind11::module&)::<lambda(postman::Client*, const string&, const TensorNest&)>; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}; <template-parameter-1-3> = void]’
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/pybind11/include/pybind11/pybind11.h:1111:22: required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = pybind11_init_rpc(pybind11::module&)::<lambda(postman::Client*, const string&, const TensorNest&)>; Extra = {}; type_ = postman::Client; options = {}]’
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:72:11: required from here
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:31:13: error: ‘using ValueNest = struct nest::Nest<at::Tensor>’ {aka ‘struct nest::Nest<at::Tensor>’} has no member named ‘value’
31 | value.value = cast_op<std::vector<ValueNest>&&>(std::move(list_conv));
| ~~~~~~^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:37:13: error: ‘using ValueNest = struct nest::Nest<at::Tensor>’ {aka ‘struct nest::Nest<at::Tensor>’} has no member named ‘value’
37 | value.value =
| ~~~~~~^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:47:11: error: ‘using ValueNest = struct nest::Nest<at::Tensor>’ {aka ‘struct nest::Nest<at::Tensor>’} has no member named ‘value’
47 | value.value = cast_op<Value&&>(std::move(conv));
| ~~~~~~^~~~~
make[3]: *** [CMakeFiles/rpc.dir/build.make:89: CMakeFiles/rpc.dir/cc/rpc_python.cc.o] Error 1
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: *** [CMakeFiles/Makefile2:836: CMakeFiles/rpc.dir/all] Error 2
make[2]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[1]: *** [Makefile:146: all] Error 2
make[1]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make: *** [Makefile:13: compile] Error 2
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 38, in <module>
main()
File "/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 33, in main
test_suite="setup.test_suite",
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 20, in run
subprocess.check_call("make develop".split(), cwd="..")
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'develop']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
There's no compile.sh in /postman
Ah... compile.sh is located in /dipcc. This file will be needed in a later step.
also set
target_link_libraries(postman PUBLIC grpc libprotobuf grpc++ ${PYTHON_LIBRARIES} ${TORCH_LIBRARIES} ${TORCH_PYTHON_LIBRARIES} nest)
in ../postman/CMakeLists.txt and made the code changes in nest.h and gtest-death-test.cc I get a bunch of new errors:
Hmmm... How about running the following command to erase the generated material once before re-running it?
cd ./thirdparty/github/fairinternal/postman/
make clean
cd ../../../..
Also, you might want to add ${PYTHON_LIBRARIES}
to target_link_libraries
on line 101.
OK it seems to have progressed I think. I get
[ 96%] Built target postman
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/rpc.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/rpc.dir/build.make:77: warning: ignoring old recipe for target '.'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/rpc.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/rpc.dir/build.make:77: warning: ignoring old recipe for target '.'
make[3]: Entering directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 96%] Building CXX object tests/CMakeFiles/test_postman.dir/cc/simple_test.cc.o
[ 96%] Building CXX object CMakeFiles/rpc.dir/cc/rpc_python.cc.o
[ 96%] Building CXX object CMakeFiles/rpc.dir/proto/rpc.pb.cc.o
make[3]: *** No rule to make target 'envs/diplomacy_cicero/include/python3.7m', needed by '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/python/postman/rpc.cpython-37m-x86_64-linux-gnu.so'. Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: *** No rule to make target 'envs/diplomacy_cicero/include/python3.7m', needed by 'tests/test_postman'. Stop.
make[3]: *** Waiting for unfinished jobs....
[ 98%] Building CXX object tests/CMakeFiles/test_postman.dir/cc/async_client_test.cc.o
[100%] Building CXX object CMakeFiles/rpc.dir/proto/rpc.grpc.pb.cc.o
In file included from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/Device.h:3,
from /home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/python.h:8,
from /home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:13:
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/python_headers.h:10:10: fatal error: Python.h: No such file or directory
10 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
make[3]: *** [CMakeFiles/rpc.dir/build.make:89: CMakeFiles/rpc.dir/cc/rpc_python.cc.o] Error 1
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: *** [CMakeFiles/Makefile2:836: CMakeFiles/rpc.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: *** [CMakeFiles/Makefile2:4439: tests/CMakeFiles/test_postman.dir/all] Error 2
make[2]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[1]: *** [Makefile:146: all] Error 2
make[1]: Leaving directory '/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make: *** [Makefile:13: compile] Error 2
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 38, in <module>
main()
File "/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 33, in main
test_suite="setup.test_suite",
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 20, in run
subprocess.check_call("make develop".split(), cwd="..")
File "/home/xxx/miniconda3/envs/diplomacy_cicero/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'develop']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
but I have python3-dev installed
libpython2.7-dbg: /usr/include/python2.7_d/Python.h libpython2.7-dev: /usr/include/python2.7/Python.h libpython3.10-dbg: /usr/include/python3.10d/Python.h libpython3.10-dev: /usr/include/python3.10/Python.h libpython3.11-dbg: /usr/include/python3.11d/Python.h libpython3.11-dev: /usr/include/python3.11/Python.h
so I'm not sure what the issued is now. Is it because it can't find it in the python 3.7 environment?
What does the console show when you run python-config --includes
and python-config --ldflags
?
-I/home/xxx/.pyenv/versions/3.9.0/include/python3.9 -I/home/xxx/.pyenv/versions/3.9.0/include/python3.9
-L/home/xxx/.pyenv/versions/3.9.0/lib/python3.9/config-3.9-x86_64-linux-gnu -L/home/xxx/.pyenv/versions/3.9.0/lib -lcrypt -ldl -lm -lm
OK. First of all, I'm sorry about python-config. Are you using Miniconda, aren't you? I tried python-config in the Ubuntu VM. python-config could not detect the Miniconda python directory.
I think the lib directory is <Conda install directory>/lib
, and the include directory is <Conda install directory>/include/python3.7m
.
Please see it.
Hi, I'm experiencing the same error. I made the patches to ./thirdparty/github/fairinternal/postman/nest/nest/nest.h and ./thirdparty/github/fairinternal/postman/third_party/grpc/third_party/googletest/googletest/src/gtest-death-test.cc This enabled it to progress past the original error, but I'm now getting this error:
Any thoughts on this? Thanks!
Obtaining file:///home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman Preparing metadata (setup.py) ... done Requirement already satisfied: torch>=1.4.0 in /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages (from postman==0.2.2) (1.7.1) Requirement already satisfied: typing_extensions in /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages (from torch>=1.4.0->postman==0.2.2) (4.4.0) Requirement already satisfied: numpy in /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages (from torch>=1.4.0->postman==0.2.2) (1.20.3) Installing collected packages: postman Running setup.py develop for postman error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [808 lines of output]
running develop
running egg_info
writing python/postman.egg-info/PKG-INFO
writing dependency_links to python/postman.egg-info/dependency_links.txt
writing requirements to python/postman.egg-info/requires.txt
writing top-level names to python/postman.egg-info/top_level.txt
reading manifest file 'python/postman.egg-info/SOURCES.txt'
writing manifest file 'python/postman.egg-info/SOURCES.txt'
running build_ext
make -C cmake_build/postman -j
make[1]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_spinlock_wait
Consolidate compiler generated dependencies of target absl_log_severity
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_dynamic_annotations
Consolidate compiler generated dependencies of target address_sorting
Consolidate compiler generated dependencies of target absl_int128
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target upb
Consolidate compiler generated dependencies of target gtest
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 0%] Built target absl_spinlock_wait
[ 0%] Built target absl_log_severity
[ 0%] Built target absl_dynamic_annotations
[ 0%] Built target address_sorting
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 0%] Built target absl_int128
Consolidate compiler generated dependencies of target zlibstatic
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 0%] Built target gtest
[ 0%] Built target upb
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_raw_logging_internal
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 1%] Built target zlibstatic
[ 1%] Built target absl_raw_logging_internal
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target gtest_main
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_throw_delegate
Consolidate compiler generated dependencies of target absl_bad_optional_access
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_strings_internal
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_base
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 3%] Built target absl_throw_delegate
[ 3%] Built target gtest_main
[ 3%] Built target absl_bad_optional_access
[ 3%] Built target absl_strings_internal
Consolidate compiler generated dependencies of target c-ares
[ 3%] Built target absl_base
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target ssl
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 9%] Built target c-ares
[ 11%] Built target ssl
Consolidate compiler generated dependencies of target absl_strings
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 13%] Built target absl_strings
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_str_format_internal
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 13%] Built target absl_str_format_internal
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target libprotobuf
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target gpr
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 16%] Built target gpr
Consolidate compiler generated dependencies of target crypto
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 24%] Built target libprotobuf
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 47%] Built target crypto
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target libprotoc
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 54%] Built target libprotoc
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target protoc
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target grpc_plugin_support
[ 54%] Built target protoc
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 54%] Built target grpc_plugin_support
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target grpc_cpp_plugin
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 54%] Built target grpc_cpp_plugin
Consolidate compiler generated dependencies of target grpc
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 90%] Built target grpc
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target grpc++
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 96%] Built target grpc++
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
Consolidate compiler generated dependencies of target postman
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 96%] Built target postman
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/rpc.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/rpc.dir/build.make:77: warning: ignoring old recipe for target '.'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target test_postman
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target rpc
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/rpc.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/rpc.dir/build.make:77: warning: ignoring old recipe for target '.'
[ 98%] Built target test_postman
[ 98%] Building CXX object CMakeFiles/rpc.dir/cc/rpc_python.cc.o
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:22:23: warning: pack expansion in using-declaration only available with ‘-std=c++17’ or ‘-std=gnu++17’
22 | using Ts::operator()...;
| ^~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:25:37: error: expected constructor, destructor, or type conversion before ‘;’ token
25 | overloaded(Ts...)->overloaded<Ts...>;
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:31:12: error: ‘variant’ in namespace ‘std’ does not name a template type
31 | std::variant<T, std::vector<Nest>, std::map<std::string, Nest>>;
| ^~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:31:7: note: ‘std::variant’ is only available from C++17 onwards
31 | std::variant<T, std::vector<Nest>, std::map<std::string, Nest>>;
| ^~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:51:15: error: expected ‘)’ before ‘v’
51 | Nest(value_t v) : value(std::move(v)) {}
| ~ ^~
| )
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:53:3: error: ‘value_t’ does not name a type
53 | value_t value;
| ^~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: error: ‘invoke_result_t’ is not a member of ‘std’
112 | Nest<std::invoke_result_t<Function, T>> map(Function f) const {
| ^~~~~~~~~~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: error: ‘invoke_result_t’ is not a member of ‘std’
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:39: error: wrong number of template arguments (2, should be 1)
112 | Nest<std::invoke_result_t<Function, T>> map(Function f) const {
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:28:8: note: provided for ‘template<class T> struct nest::Nest’
28 | struct Nest {
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:40: error: expected unqualified-id before ‘>’ token
112 | Nest<std::invoke_result_t<Function, T>> map(Function f) const {
| ^~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: error: ‘invoke_result_t’ is not a member of ‘std’
214 | static Nest<std::invoke_result_t<Function, T1, T2>> map2(
| ^~~~~~~~~~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: error: ‘invoke_result_t’ is not a member of ‘std’
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:50: error: wrong number of template arguments (3, should be 1)
214 | static Nest<std::invoke_result_t<Function, T1, T2>> map2(
| ^~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:28:8: note: provided for ‘template<class T> struct nest::Nest’
28 | struct Nest {
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:52: error: expected unqualified-id before ‘>’ token
214 | static Nest<std::invoke_result_t<Function, T1, T2>> map2(
| ^~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In constructor ‘nest::Nest<T>::Nest(std::vector<T>)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:32:34: error: class ‘nest::Nest<T>’ does not have any field named ‘value’
32 | Nest(std::vector<T> entries) : value(std::vector<Nest>()) {
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:33:43: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
33 | auto &v = std::get<std::vector<Nest>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In constructor ‘nest::Nest<T>::Nest(std::map<std::basic_string<char>, T>)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:40:9: error: class ‘nest::Nest<T>’ does not have any field named ‘value’
40 | : value(std::map<std::string, Nest>()) {
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:41:53: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
41 | auto &m = std::get<std::map<std::string, Nest>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘bool nest::Nest<T>::is_leaf() const’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:55:38: error: ‘holds_alternative’ is not a member of ‘std’; did you mean ‘c10::holds_alternative’?
55 | bool is_leaf() const { return std::holds_alternative<T>(value); }
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/enum.h:7,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:9,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/util/variant.h:2450:25: note: ‘c10::holds_alternative’ declared here
2450 | inline constexpr bool holds_alternative(const variant<Ts...> &v) noexcept {
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:55:57: error: expected primary-expression before ‘>’ token
55 | bool is_leaf() const { return std::holds_alternative<T>(value); }
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:55:59: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
55 | bool is_leaf() const { return std::holds_alternative<T>(value); }
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘bool nest::Nest<T>::is_vector() const’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:58:17: error: ‘holds_alternative’ is not a member of ‘std’; did you mean ‘c10::holds_alternative’?
58 | return std::holds_alternative<std::vector<Nest<T>>>(value);
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/enum.h:7,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:9,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/util/variant.h:2450:25: note: ‘c10::holds_alternative’ declared here
2450 | inline constexpr bool holds_alternative(const variant<Ts...> &v) noexcept {
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:58:55: error: expected primary-expression before ‘>’ token
58 | return std::holds_alternative<std::vector<Nest<T>>>(value);
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:58:57: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
58 | return std::holds_alternative<std::vector<Nest<T>>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘bool nest::Nest<T>::is_map() const’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:62:17: error: ‘holds_alternative’ is not a member of ‘std’; did you mean ‘c10::holds_alternative’?
62 | return std::holds_alternative<std::map<std::string, Nest<T>>>(value);
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/enum.h:7,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:9,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/util/variant.h:2450:25: note: ‘c10::holds_alternative’ declared here
2450 | inline constexpr bool holds_alternative(const variant<Ts...> &v) noexcept {
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:62:65: error: expected primary-expression before ‘>’ token
62 | return std::holds_alternative<std::map<std::string, Nest<T>>>(value);
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:62:67: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
62 | return std::holds_alternative<std::map<std::string, Nest<T>>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘std::vector<nest::Nest<T> >& nest::Nest<T>::get_vector()’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:66:43: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
66 | return std::get<std::vector<Nest<T>>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘const std::vector<nest::Nest<T> >& nest::Nest<T>::get_vector() const’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:70:43: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
70 | return std::get<std::vector<Nest<T>>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘T& nest::Nest<T>::front()’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:74:17: error: ‘visit’ is not a member of ‘std’
74 | return std::visit(overloaded{[](T &t) -> T & { return t; },
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:74:17: note: ‘std::visit’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:74:33: error: missing template arguments before ‘{’ token
74 | return std::visit(overloaded{[](T &t) -> T & { return t; },
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:81:23: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
81 | value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘const T& nest::Nest<T>::front() const’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:85:17: error: ‘visit’ is not a member of ‘std’
85 | return std::visit(
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:85:17: note: ‘std::visit’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:86:19: error: missing template arguments before ‘{’ token
86 | overloaded{[](const T &t) -> const T & { return t; },
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:93:9: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
93 | value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘bool nest::Nest<T>::empty() const’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:97:17: error: ‘visit’ is not a member of ‘std’
97 | return std::visit(
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:97:17: note: ‘std::visit’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:98:19: error: missing template arguments before ‘{’ token
98 | overloaded{[](const T &t) { return false; },
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:108:9: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
108 | value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘OutputIt nest::Nest<T>::flatten(OutputIt) const’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:142:10: error: ‘visit’ is not a member of ‘std’
142 | std::visit(overloaded{
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:142:10: note: ‘std::visit’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:142:26: error: missing template arguments before ‘{’ token
142 | std::visit(overloaded{
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:155:16: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
155 | value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘nest::Nest<T> nest::Nest<T>::pack_as(InputIt*, const InputIt&) const’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:170:17: error: ‘visit’ is not a member of ‘std’
170 | return std::visit(
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:170:17: note: ‘std::visit’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:171:19: error: missing template arguments before ‘{’ token
171 | overloaded{[&first, &last](const T &) {
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:192:9: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
192 | value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘Function nest::Nest<T>::for_each(Function)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:267:10: error: ‘visit’ is not a member of ‘std’
267 | std::visit(overloaded{f,
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:267:10: note: ‘std::visit’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:267:26: error: missing template arguments before ‘{’ token
267 | std::visit(overloaded{f,
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:278:16: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
278 | value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In static member function ‘static void nest::Nest<T>::for_each(Function, nest::Nest<T1>&, const nest::Nest<T2>&)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:285:17: error: ‘visit’ is not a member of ‘std’
285 | return std::visit(
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:285:17: note: ‘std::visit’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:286:19: error: missing template arguments before ‘{’ token
286 | overloaded{
| ^
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:16:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h: In static member function ‘static pybind11::handle pybind11::detail::type_caster<nest::Nest<Value> >::cast(pybind11::detail::type_caster<nest::Nest<Value> >::ValueNest&&, pybind11::return_value_policy, pybind11::handle)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:53:17: error: ‘visit’ is not a member of ‘std’
53 | return std::visit(
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:53:17: note: ‘std::visit’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:54:25: error: missing template arguments before ‘{’ token
54 | nest::overloaded{
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h: In static member function ‘static pybind11::handle pybind11::detail::type_caster<nest::Nest<Value> >::cast(const ValueNest&, pybind11::return_value_policy, pybind11::handle)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:74:17: error: ‘visit’ is not a member of ‘std’
74 | return std::visit(
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:74:17: note: ‘std::visit’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:75:25: error: missing template arguments before ‘{’ token
75 | nest::overloaded{
| ^
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:29,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:20:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h: In member function ‘bool BlockingCounter::DecrementCount(uint)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h:87:24: error: missing template arguments before ‘l’
87 | std::unique_lock l(count_mutex_);
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h: In member function ‘void BlockingCounter::Wait()’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h:109:22: error: missing template arguments before ‘l’
109 | std::unique_lock l(count_mutex_);
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h:118:24: error: ‘l’ was not declared in this scope
118 | count_cond_.wait(l);
| ^
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:20:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h: In member function ‘std::shared_future<nest::Nest<at::Tensor> > postman::ComputationQueue::compute(const TensorNest&, int64_t*)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:72:24: error: missing template arguments before ‘lock’
72 | std::unique_lock lock(computation_mu_);
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:77:18: error: ‘const TensorNest’ {aka ‘const struct nest::Nest<at::Tensor>’} has no member named ‘map’
77 | args.map([batch_size = batch_size_](const at::Tensor& t) {
| ^~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h: In member function ‘void postman::ComputationQueue::close()’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:112:22: error: missing template arguments before ‘lock’
112 | std::unique_lock lock(computation_mu_);
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h: In member function ‘std::shared_ptr<postman::ComputationQueue::Computation> postman::ComputationQueue::get(bool)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:124:26: error: missing template arguments before ‘lock’
124 | std::unique_lock lock(computation_mu_);
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h: In member function ‘void postman::ComputationQueue::set_batch_size(uint32_t)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h:149:22: error: missing template arguments before ‘lock’
149 | std::unique_lock lock(computation_mu_);
| ^~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:22:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/server.h: At global scope:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/server.h:56:31: error: use of deleted function ‘std::atomic<bool>::atomic(const std::atomic<bool>&)’
56 | std::atomic_bool running_ = false;
| ^~~~~
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/util/typeid.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:8,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:10,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:7,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/usr/include/c++/11/atomic:72:5: note: declared here
72 | atomic(const atomic&) = delete;
| ^~~~~~
/usr/include/c++/11/atomic:76:15: note: after user-defined conversion: ‘constexpr std::atomic<bool>::atomic(bool)’
76 | constexpr atomic(bool __i) noexcept : _M_base(__i) { }
| ^~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:22:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/server.h:57:27: error: use of deleted function ‘std::atomic<int>::atomic(const std::atomic<int>&)’
57 | std::atomic_int port_ = 0;
| ^
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/util/typeid.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:8,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:10,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:7,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/usr/include/c++/11/atomic:821:7: note: declared here
821 | atomic(const atomic&) = delete;
| ^~~~~~
/usr/include/c++/11/atomic:825:17: note: after user-defined conversion: ‘constexpr std::atomic<int>::atomic(std::atomic<int>::__integral_type)’
825 | constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
| ^~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:29:6: error: ‘invoke_result_t’ in namespace ‘std’ does not name a template type
29 | std::invoke_result_t<Function> callwithcatch(Function f) {
| ^~~~~~~~~~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:29:1: note: ‘std::invoke_result_t’ is only available from C++17 onwards
29 | std::invoke_result_t<Function> callwithcatch(Function f) {
| ^~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc: In lambda function:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:79:21: error: ‘callwithcatch’ was not declared in this scope
79 | return callwithcatch(
| ^~~~~~~~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc: In lambda function:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:95:21: error: ‘callwithcatch’ was not declared in this scope
95 | return callwithcatch(
| ^~~~~~~~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc: In function ‘void pybind11_init_rpc(pybind11::module&)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:124:19: error: ‘std::optional’ has not been declared
124 | std::optional<TensorNest> outputs) {
| ^~~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:124:27: error: expected ‘,’ or ‘...’ before ‘<’ token
124 | std::optional<TensorNest> outputs) {
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc: In lambda function:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:125:41: error: ‘outputs’ was not declared in this scope; did you mean ‘puts’?
125 | self->set_outputs(std::move(outputs).value_or(
| ^~~~~~~
| puts
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:126:53: error: no matching function for call to ‘nest::Nest<at::Tensor>::Nest(std::vector<nest::Nest<at::Tensor>, std::allocator<nest::Nest<at::Tensor> > >)’
126 | TensorNest(std::vector<TensorNest>())));
| ^
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:48:3: note: candidate: ‘constexpr nest::Nest<T>::Nest(nest::Nest<T>&&) [with T = at::Tensor]’
48 | Nest(Nest &&) = default;
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:48:8: note: no known conversion for argument 1 from ‘std::vector<nest::Nest<at::Tensor>, std::allocator<nest::Nest<at::Tensor> > >’ to ‘nest::Nest<at::Tensor>&&’
48 | Nest(Nest &&) = default;
| ^~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:47:3: note: candidate: ‘constexpr nest::Nest<T>::Nest(const nest::Nest<T>&) [with T = at::Tensor]’
47 | Nest(const Nest &) = default;
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:47:8: note: no known conversion for argument 1 from ‘std::vector<nest::Nest<at::Tensor>, std::allocator<nest::Nest<at::Tensor> > >’ to ‘const nest::Nest<at::Tensor>&’
47 | Nest(const Nest &) = default;
| ^~~~~~~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:46:3: note: candidate: ‘constexpr nest::Nest<T>::Nest() [with T = at::Tensor]’
46 | Nest() = default; // needed for type_caster below.
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:46:3: note: candidate expects 0 arguments, 1 provided
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:39:3: note: candidate: ‘nest::Nest<T>::Nest(std::map<std::basic_string<char>, T>) [with T = at::Tensor]’
39 | Nest(std::map<std::string, T> entries)
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:39:33: note: no known conversion for argument 1 from ‘std::vector<nest::Nest<at::Tensor>, std::allocator<nest::Nest<at::Tensor> > >’ to ‘std::map<std::basic_string<char>, at::Tensor, std::less<std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, at::Tensor> > >’
39 | Nest(std::map<std::string, T> entries)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:32:3: note: candidate: ‘nest::Nest<T>::Nest(std::vector<T>) [with T = at::Tensor]’
32 | Nest(std::vector<T> entries) : value(std::vector<Nest>()) {
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:32:23: note: no known conversion for argument 1 from ‘vector<nest::Nest<at::Tensor>,allocator<nest::Nest<at::Tensor>>>’ to ‘vector<at::Tensor,allocator<at::Tensor>>’
32 | Nest(std::vector<T> entries) : value(std::vector<Nest>()) {
| ~~~~~~~~~~~~~~~^~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:16:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h: In instantiation of ‘bool pybind11::detail::type_caster<nest::Nest<Value> >::load(pybind11::handle, bool) [with Value = at::Tensor]’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/pybind11/include/pybind11/cast.h:1923:53: required from ‘bool pybind11::detail::argument_loader<Args>::load_impl_sequence(pybind11::detail::function_call&, std::index_sequence<indices ...>) [with long unsigned int ...Is = {0, 1, 2}; Args = {postman::Client*, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const nest::Nest<at::Tensor>&}; std::index_sequence<indices ...> = std::integer_sequence<long unsigned int, 0, 1, 2>]’
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/pybind11/include/pybind11/cast.h:1903:34: required from ‘bool pybind11::detail::argument_loader<Args>::load_args(pybind11::detail::function_call&) [with Args = {postman::Client*, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const nest::Nest<at::Tensor>&}]’
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/pybind11/include/pybind11/pybind11.h:141:42: required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11_init_rpc(pybind11::module&)::<lambda(postman::Client*, const string&, const TensorNest&)>; Return = nest::Nest<at::Tensor>; Args = {postman::Client*, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const nest::Nest<at::Tensor>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]’
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/pybind11/include/pybind11/pybind11.h:71:19: required from ‘pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) [with Func = pybind11_init_rpc(pybind11::module&)::<lambda(postman::Client*, const string&, const TensorNest&)>; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}; <template-parameter-1-3> = void]’
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/pybind11/include/pybind11/pybind11.h:1111:22: required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = pybind11_init_rpc(pybind11::module&)::<lambda(postman::Client*, const string&, const TensorNest&)>; Extra = {}; type_ = postman::Client; options = {}]’
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:72:11: required from here
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:31:13: error: ‘using ValueNest = struct nest::Nest<at::Tensor>’ {aka ‘struct nest::Nest<at::Tensor>’} has no member named ‘value’
31 | value.value = cast_op<std::vector<ValueNest>&&>(std::move(list_conv));
| ~~~~~~^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:37:13: error: ‘using ValueNest = struct nest::Nest<at::Tensor>’ {aka ‘struct nest::Nest<at::Tensor>’} has no member named ‘value’
37 | value.value =
| ~~~~~~^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest_pybind.h:47:11: error: ‘using ValueNest = struct nest::Nest<at::Tensor>’ {aka ‘struct nest::Nest<at::Tensor>’} has no member named ‘value’
47 | value.value = cast_op<Value&&>(std::move(conv));
| ~~~~~~^~~~~
make[3]: *** [CMakeFiles/rpc.dir/build.make:89: CMakeFiles/rpc.dir/cc/rpc_python.cc.o] Error 1
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: *** [CMakeFiles/Makefile2:836: CMakeFiles/rpc.dir/all] Error 2
make[2]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[1]: *** [Makefile:146: all] Error 2
make[1]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make: *** [Makefile:12: compile] Error 2
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 38, in <module>
main()
File "/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 33, in main
test_suite="setup.test_suite",
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 20, in run
subprocess.check_call("make develop".split(), cwd="..")
File "/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'develop']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [808 lines of output]
running develop
running egg_info
writing python/postman.egg-info/PKG-INFO
writing dependency_links to python/postman.egg-info/dependency_links.txt
writing requirements to python/postman.egg-info/requires.txt
writing top-level names to python/postman.egg-info/top_level.txt
reading manifest file 'python/postman.egg-info/SOURCES.txt'
writing manifest file 'python/postman.egg-info/SOURCES.txt'
running build_ext
make -C cmake_build/postman -j
make[1]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_spinlock_wait
Consolidate compiler generated dependencies of target absl_log_severity
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_dynamic_annotations
Consolidate compiler generated dependencies of target address_sorting
Consolidate compiler generated dependencies of target absl_int128
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target upb
Consolidate compiler generated dependencies of target gtest
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 0%] Built target absl_spinlock_wait
[ 0%] Built target absl_log_severity
[ 0%] Built target absl_dynamic_annotations
[ 0%] Built target address_sorting
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 0%] Built target absl_int128
Consolidate compiler generated dependencies of target zlibstatic
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 0%] Built target gtest
[ 0%] Built target upb
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_raw_logging_internal
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 1%] Built target zlibstatic
[ 1%] Built target absl_raw_logging_internal
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target gtest_main
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_throw_delegate
Consolidate compiler generated dependencies of target absl_bad_optional_access
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_strings_internal
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_base
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 3%] Built target absl_throw_delegate
[ 3%] Built target gtest_main
[ 3%] Built target absl_bad_optional_access
[ 3%] Built target absl_strings_internal
Consolidate compiler generated dependencies of target c-ares
[ 3%] Built target absl_base
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target ssl
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 9%] Built target c-ares
[ 11%] Built target ssl
Consolidate compiler generated dependencies of target absl_strings
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 13%] Built target absl_strings
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target absl_str_format_internal
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 13%] Built target absl_str_format_internal
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target libprotobuf
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target gpr
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 16%] Built target gpr
Consolidate compiler generated dependencies of target crypto
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 24%] Built target libprotobuf
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 47%] Built target crypto
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target libprotoc
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 54%] Built target libprotoc
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target protoc
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target grpc_plugin_support
[ 54%] Built target protoc
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 54%] Built target grpc_plugin_support
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target grpc_cpp_plugin
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 54%] Built target grpc_cpp_plugin
Consolidate compiler generated dependencies of target grpc
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 90%] Built target grpc
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target grpc++
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 96%] Built target grpc++
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
Consolidate compiler generated dependencies of target postman
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 96%] Built target postman
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/rpc.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/rpc.dir/build.make:77: warning: ignoring old recipe for target '.'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target test_postman
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
Consolidate compiler generated dependencies of target rpc
make[3]: Leaving directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/rpc.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/rpc.dir/build.make:77: warning: ignoring old recipe for target '.'
[ 98%] Built target test_postman
[ 98%] Building CXX object CMakeFiles/rpc.dir/cc/rpc_python.cc.o
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:22:23: warning: pack expansion in using-declaration only available with ‘-std=c++17’ or ‘-std=gnu++17’
22 | using Ts::operator()...;
| ^~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:25:37: error: expected constructor, destructor, or type conversion before ‘;’ token
25 | overloaded(Ts...)->overloaded<Ts...>;
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:31:12: error: ‘variant’ in namespace ‘std’ does not name a template type
31 | std::variant<T, std::vector<Nest>, std::map<std::string, Nest>>;
| ^~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:31:7: note: ‘std::variant’ is only available from C++17 onwards
31 | std::variant<T, std::vector<Nest>, std::map<std::string, Nest>>;
| ^~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:51:15: error: expected ‘)’ before ‘v’
51 | Nest(value_t v) : value(std::move(v)) {}
| ~ ^~
| )
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:53:3: error: ‘value_t’ does not name a type
53 | value_t value;
| ^~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: error: ‘invoke_result_t’ is not a member of ‘std’
112 | Nest<std::invoke_result_t<Function, T>> map(Function f) const {
| ^~~~~~~~~~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: error: ‘invoke_result_t’ is not a member of ‘std’
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:13: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:39: error: wrong number of template arguments (2, should be 1)
112 | Nest<std::invoke_result_t<Function, T>> map(Function f) const {
| ^
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:28:8: note: provided for ‘template<class T> struct nest::Nest’
28 | struct Nest {
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:112:40: error: expected unqualified-id before ‘>’ token
112 | Nest<std::invoke_result_t<Function, T>> map(Function f) const {
| ^~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: error: ‘invoke_result_t’ is not a member of ‘std’
214 | static Nest<std::invoke_result_t<Function, T1, T2>> map2(
| ^~~~~~~~~~~~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: error: ‘invoke_result_t’ is not a member of ‘std’
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:20: note: ‘std::invoke_result_t’ is only available from C++17 onwards
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:50: error: wrong number of template arguments (3, should be 1)
214 | static Nest<std::invoke_result_t<Function, T1, T2>> map2(
| ^~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:28:8: note: provided for ‘template<class T> struct nest::Nest’
28 | struct Nest {
| ^~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:214:52: error: expected unqualified-id before ‘>’ token
214 | static Nest<std::invoke_result_t<Function, T1, T2>> map2(
| ^~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In constructor ‘nest::Nest<T>::Nest(std::vector<T>)’:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:32:34: error: class ‘nest::Nest<T>’ does not have any field named ‘value’
32 | Nest(std::vector<T> entries) : value(std::vector<Nest>()) {
| ^~~~~
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:33:43: error: ‘value’ was not declared in this scope; did you mean ‘c10::attr::value’?
33 | auto &v = std::get<std::vector<Nest>>(value);
| ^~~~~
| c10::attr::value
In file included from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:19,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:12:
/home/danie/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:503:1: note: ‘c10::attr::value’ declared here
503 | FORALL_NS_SYMBOLS(DEFINE_SYMBOL)
| ^~~~~~~~~~~~~~~~~
In file included from /home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc:15:
/home/danie/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In constructor ‘nest::Nest<T>::Nest(std::map<std::basic_string
note: This error originates from a subprocess, and is likely not a problem with pip.
@dpbeasley I've never seen this error before. What is the your environment?
Ubuntu 22.04.1 on WSL2
OK. First of all, I'm sorry about python-config. Are you using Miniconda, aren't you? I tried python-config in the Ubuntu VM. python-config could not detect the Miniconda python directory.
I think the lib directory is
<Conda install directory>/lib
, and the include directory is<Conda install directory>/include/python3.7m
. Please see it.
Yeah using miniconda just like the instructions suggest I already have
mkdir -p cmake_build/postman && cd cmake_build/postman && cmake -DCMAKE_BUILD_TYPE=Release ../../postman -DPYTHON_EXECUTABLE=$(shell which python) -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=../../postman/python/postman -DPYTHON_INCLUDE_DIR=~miniconda3/envs/diplomacy_cicero/include/python3.7m -Dpybind11_DIR=~/miniconda3/envs/diplomacy_cicero/lib/python3.7/site-packages/pybind11/share/cmake/pybind11 -DPYTHON_LIBRARY=~/miniconda3/envs/diplomacy_cicero/lib/libpython3.7m.so
in my .../postman/Makefile, so <Conda install directory> == ~/miniconda3/envs/diplomacy_cicero
but still getting the above error, is there something wrong with my miniconda installation?
From my activated conda environment:
(diplomacy_cicero) xxx@asdf:~/repos/diplomacy_cicero$ pwd
/home/xxx/repos/diplomacy_cicero
(diplomacy_cicero) xxx@asdf:~/repos/diplomacy_cicero$ python -V
Python 3.7.15
(diplomacy_cicero) xxx@asdf:~/repos/diplomacy_cicero$ python-config --includes
-I/home/xxx/.pyenv/versions/3.9.0/include/python3.9 -I/home/xxx/.pyenv/versions/3.9.0/include/python3.9
(diplomacy_cicero) xxx@asdf:~/repos/diplomacy_cicero$ python-config --ldflags
-L/home/xxx/.pyenv/versions/3.9.0/lib/python3.9/config-3.9-x86_64-linux-gnu -L/home/xxx/.pyenv/versions/3.9.0/lib -lcrypt -ldl -lm -lm
Yeah, postman is a bit finicky to build depending on your compiler versions. Can you see if python -m pip install -e ./thirdparty/github/fairinternal/postman/nest/
works for you? If it's just postman that's not working, you can probably just comment out
https://github.com/facebookresearch/diplomacy_cicero/blob/main/Makefile#L18
and
skip the installation of postman (pip install -e ./thirdparty/github/fairinternal/postman/postman/
)
and use most of Cicero without it (except for RL training).
@akhti is most likely to be able to help with postman, but is currently on vacation.
nest installation works just fine.
I commented out the line you suggested and make gives:
In file included from /home/xxx/repos/diplomacy_cicero/fairdiplomacy/selfplay/cc/pybind.cc:12:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.h: In static member function ‘static pybind11::handle pybind11::detail::type_caster<nest::Nest<Value> >::cast(pybind11::detail::type_caster<nest::Nest<Value> >::ValueNest&&, pybind11::return_value_policy, pybind11::handle)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.h:53:17: error: ‘visit’ is not a member of ‘std’
53 | return std::visit(
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.h:53:17: note: ‘std::visit’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.h:54:25: error: missing template arguments before ‘{’ token
54 | nest::overloaded{
| ^
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.h: In static member function ‘static pybind11::handle pybind11::detail::type_caster<nest::Nest<Value> >::cast(const ValueNest&, pybind11::return_value_policy, pybind11::handle)’:
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.h:74:17: error: ‘visit’ is not a member of ‘std’
74 | return std::visit(
| ^~~~~
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.h:74:17: note: ‘std::visit’ is only available from C++17 onwards
/home/xxx/repos/diplomacy_cicero/thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.h:75:25: error: missing template arguments before ‘{’ token
75 | nest::overloaded{
| ^
make[3]: *** [CMakeFiles/rela.dir/build.make:76: CMakeFiles/rela.dir/pybind.cc.o] Error 1
make[3]: Leaving directory '/home/xxx/repos/diplomacy_cicero/build/selfplay'
make[2]: *** [CMakeFiles/Makefile2:156: CMakeFiles/rela.dir/all] Error 2
make[2]: Leaving directory '/home/xxx/repos/diplomacy_cicero/build/selfplay'
make[1]: *** [Makefile:146: all] Error 2
make[1]: Leaving directory '/home/xxx/repos/diplomacy_cicero/build/selfplay'
make: *** [Makefile:18: selfplay] Error 2
@vandreas but you shouldn't be making the selfplay
directory at all if you comment out the selfplay
target in the Makefile.
Do you install google-glog package?
Do you install google-glog package?
Yes sorry, I just figured out that libgoogle-glog-dev
was not installed correctly because when running apt-get install -y wget bzip2 ca-certificates curl git build-essential clang-format-8 git wget cmake build-essential autoconf libtool pkg-config libgoogle-glog-dev
, apt could not find clang-format-8
.
I don't have this error anymore when running make
. make test_fast
is showing lots of errors from unit tests, but I guess this might be related to the selfplay part.
However, postman is still not installed. Is there anything else I can try to do to install it? Disabling RL training might be problematic