Advertisement
dream_4ild

Untitled

Mar 3rd, 2025
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 35.85 KB | None | 0 0
  1. В gitlab-ci:
  2. Running with gitlab-runner 17.8.3 (690ce25c)
  3.   on concurrency-course-gitlab-runner t2_FpJueU, system ID: s_23c4b3926fb3
  4. Preparing the "docker" executor
  5. 00:04
  6. Using Docker executor with image localhost:5000/concurrency-course-grade-image ...
  7. Pulling docker image localhost:5000/concurrency-course-grade-image ...
  8. Using docker image sha256:bd66e57d001169d5b139c9dce4fa3aaafe73718fe282ba009497ce2a51926307 for localhost:5000/concurrency-course-grade-image with digest localhost:5000/concurrency-course-grade-image@sha256:8a5524aa2c2f2c2067ef9c82fd9b526ff439a3e5f0736b8d3e60b45c74cf5abb ...
  9. Preparing environment
  10. 00:01
  11. Getting source from Git repository
  12. 00:04
  13. Fetching changes with git depth set to 20...
  14. Reinitialized existing Git repository in /builds/concurrency-course-workspace/2025/solutions/mipt-y-dmitry-y-grishin-y-dream_4ild/.git/
  15. Checking out e1bef70e as detached HEAD (ref is refs/merge-requests/9/head)...
  16. Removing .clippy-user.json
  17. Skipping Git submodules setup
  18. Executing "step_script" stage of the job script
  19. 02:01
  20. Using docker image sha256:bd66e57d001169d5b139c9dce4fa3aaafe73718fe282ba009497ce2a51926307 for localhost:5000/concurrency-course-grade-image with digest localhost:5000/concurrency-course-grade-image@sha256:8a5524aa2c2f2c2067ef9c82fd9b526ff439a3e5f0736b8d3e60b45c74cf5abb ...
  21. $ md5sum $CI_CONFIG_PATH; md5sum /course/.grade.gitlab-ci.yml; cmp $CI_CONFIG_PATH /course/.grade.gitlab-ci.yml # If this fails you need to revert changes in .grade.gitlab-ci.yml
  22. 2c06201f20f293d4f46406dad5fc8a33  .gitlab-ci.yml
  23. 2c06201f20f293d4f46406dad5fc8a33  /course/.grade.gitlab-ci.yml
  24. $ /grade.py
  25. Job: project = mipt-y-dmitry-y-grishin-y-dream_4ild, namespace = concurrency-course-workspace/2025/solutions, user = dream_4ild, source branch = sync/mutex, commit sha = e1bef70ed1a8b3e412d80c1aa69512318ec04a02
  26. Clippy: /course/client/client.py
  27. Manytask: http://concurrency-course.cc
  28. Updating course repository (/course)
  29. --------------------------------------------------------------------------------
  30. Howdy, root!
  31. Command running: ['hi'], cwd: /course
  32. Time: 2025-03-03 13:17:36
  33. Platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.35
  34. Python: 3.10.12, CPython, /usr/bin/python3
  35. C++ compiler: /usr/bin/clang++-19 (Ubuntu clang version 19.1.7 (++20250114103320+cd708029e0b2-1~exp1~20250114103432.75))
  36. Repository root directory: /course
  37. Git commit: 1d8a24e61ee74c038bf2c5d548197d8de900986d
  38.  _________________________________________
  39. < Hi, I am Clippy, your course assistant. >
  40.  -----------------------------------------
  41.  \
  42.   \
  43.      __
  44.     /  \
  45.     |  |
  46.     @  @
  47.     |  |
  48.     || |/
  49.     || ||
  50.     |\_/|
  51.     \___/
  52. Already up to date.
  53. --------------------------------------------------------------------------------
  54. Hello, root!
  55. Command running: ['update', '--no-cmake'], cwd: /course
  56. Time: 2025-03-03 13:17:37
  57. Platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.35
  58. Python: 3.10.12, CPython, /usr/bin/python3
  59. C++ compiler: /usr/bin/clang++-19 (Ubuntu clang version 19.1.7 (++20250114103320+cd708029e0b2-1~exp1~20250114103432.75))
  60. Repository root directory: /course
  61. Git commit: 1d8a24e61ee74c038bf2c5d548197d8de900986d
  62. Updating tasks repository
  63. Done
  64. --------------------------------------------------------------------------------
  65. Hi, root!
  66. Command running: ['attach-local', '/builds/concurrency-course-workspace/2025/solutions/mipt-y-dmitry-y-grishin-y-dream_4ild'], cwd: /course
  67. Time: 2025-03-03 13:17:38
  68. Platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.35
  69. Python: 3.10.12, CPython, /usr/bin/python3
  70. C++ compiler: /usr/bin/clang++-19 (Ubuntu clang version 19.1.7 (++20250114103320+cd708029e0b2-1~exp1~20250114103432.75))
  71. Repository root directory: /course
  72. Git commit: 1d8a24e61ee74c038bf2c5d548197d8de900986d
  73. https://gitlab-ci-token:[MASKED]@gitlab.com/concurrency-course-workspace/2025/solutions/mipt-y-dmitry-y-grishin-y-dream_4ild.git
  74. Solutions local repo: /builds/concurrency-course-workspace/2025/solutions/mipt-y-dmitry-y-grishin-y-dream_4ild
  75. Done
  76. --------------------------------------------------------------------------------
  77. Howdy, root!
  78. Command running: ['apply', '--commit', 'e1bef70ed1a8b3e412d80c1aa69512318ec04a02', '--force'], cwd: /course/tasks/sync/mutex
  79. Time: 2025-03-03 13:17:38
  80. Platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.35
  81. Python: 3.10.12, CPython, /usr/bin/python3
  82. C++ compiler: /usr/bin/clang++-19 (Ubuntu clang version 19.1.7 (++20250114103320+cd708029e0b2-1~exp1~20250114103432.75))
  83. Repository root directory: /course
  84. Git commit: 1d8a24e61ee74c038bf2c5d548197d8de900986d
  85. Moving to repo /builds/concurrency-course-workspace/2025/solutions/mipt-y-dmitry-y-grishin-y-dream_4ild
  86. Running git: ['checkout', 'e1bef70ed1a8b3e412d80c1aa69512318ec04a02', '--']
  87. Applying solution from solutions repo...
  88. Done
  89. --------------------------------------------------------------------------------
  90. Hello, root!
  91. Command running: ['cmake'], cwd: /course/tasks/sync/mutex
  92. Time: 2025-03-03 13:17:39
  93. Platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.35
  94. Python: 3.10.12, CPython, /usr/bin/python3
  95. C++ compiler: /usr/bin/clang++-19 (Ubuntu clang version 19.1.7 (++20250114103320+cd708029e0b2-1~exp1~20250114103432.75))
  96. Repository root directory: /course
  97. Git commit: 1d8a24e61ee74c038bf2c5d548197d8de900986d
  98. Build directory: /tmp/clippy-build
  99. Generate build scripts for profile Debug
  100. CMake options for profile Debug: ['CMAKE_BUILD_TYPE=Debug', 'UBSAN=ON', 'CMAKE_CXX_COMPILER=/usr/bin/clang++-19', 'CMAKE_C_COMPILER=/usr/bin/clang-19', 'TOOL_BUILD=ON']
  101. cmake output:
  102. -- C++ compiler: /usr/bin/clang++-19
  103. -- C++ standard: 23
  104. -- Sanitize with UB Sanitizer (UBSAN)
  105. -- [concurrency_course] FetchContent: fmt
  106. -- Version: 10.2.1
  107. -- Build type: Debug
  108. -- [concurrency_course] FetchContent: function2
  109. -- [concurrency_course] FetchContent: wheels
  110. CMake Deprecation Warning at /tmp/clippy-build/Debug/_deps/gflags-src/CMakeLists.txt:73 (cmake_minimum_required):
  111.   Compatibility with CMake < 3.10 will be removed from a future version of
  112.   CMake.
  113.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  114.   to tell CMake that the project requires at least <min> but has been updated
  115.   to work with policies introduced by <max> or earlier.
  116. -- [concurrency_course] FetchContent: sure-stack
  117. -- [concurrency_course] FetchContent: sure
  118. CMake Deprecation Warning at /tmp/clippy-build/Debug/_deps/sure-src/CMakeLists.txt:1 (cmake_minimum_required):
  119.   Compatibility with CMake < 3.10 will be removed from a future version of
  120.   CMake.
  121.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  122.   to tell CMake that the project requires at least <min> but has been updated
  123.   to work with policies introduced by <max> or earlier.
  124. -- [sure] Host system processor: x86_64
  125. -- [sure] MachineContext: x86_64
  126. -- [sure] ExceptionsContext: unix
  127. -- [concurrency_course] FetchContent: futex_like
  128. -- [futex_like] Platform: Linux
  129. -- [concurrency_course] FetchContent: spin_wait
  130. -- [spin_wait] Host system processor: x86_64
  131. -- [concurrency_course] FetchContent: twist
  132. -- [twist] Sanitize with UB Sanitizer
  133. -- [twist] Processor count: 4
  134. -- [twist] CMake version: 3.31.5
  135. -- [twist] C++ compiler: /usr/bin/clang++-19
  136. -- [twist] C++ standard: 20
  137. -- [twist] Fault injection: Off
  138. -- [twist] Runtime: Threads
  139. -- [concurrency_course] FetchContent: tinyfiber
  140. -- C++ compiler: /usr/bin/clang++-19
  141. -- Sanitize with UB Sanitizer (UBSAN)
  142. -- [concurrency_course] FetchContent: asio
  143. -- [concurrency_course] Topic = 'tutorial', task = 'aplusb'
  144. -- [concurrency_course] Topic = 'tutorial', task = 'function'
  145. -- [concurrency_course] Topic = 'sync', task = 'deadlock'
  146. -- [concurrency_course] Topic = 'sync', task = 'dining'
  147. -- [concurrency_course] Topic = 'sync', task = 'livelock'
  148. -- [concurrency_course] Topic = 'sync', task = 'lock_guard'
  149. -- [concurrency_course] Topic = 'sync', task = 'mutexed'
  150. -- [concurrency_course] Topic = 'sync', task = 'spinlock'
  151. -- [concurrency_course] Topic = 'sync', task = 'mutex'
  152. -- [concurrency_course] Topic = 'sync', task = 'try_lock'
  153. -- [concurrency_course] Topic = 'sync', task = 'barrier'
  154. -- [concurrency_course] Topic = 'sync', task = 'condvar'
  155. -- [concurrency_course] Topic = 'sync', task = 'semaphore'
  156. -- [concurrency_course] Topic = 'sync', task = 'wait_group'
  157. -- [concurrency_course] Topic = 'runtime', task = 'thread_pool'
  158. -- [concurrency_course] Add task library: task_runtime_thread_pool_exe
  159. -- [concurrency_course] Include dir: /course/tasks/runtime/thread_pool/source
  160. -- [concurrency_course] Add task playground: task_runtime_thread_pool_play
  161. -- [concurrency_course] Topic = 'future', task = 'std_like'
  162. -- [concurrency_course] Add task library: task_future_std_like_exe
  163. -- [concurrency_course] Add task playground: task_future_std_like_play
  164. -- Configuring done (12.3s)
  165. -- Generating done (0.4s)
  166. -- Build files have been written to: /tmp/clippy-build/Debug
  167. Generate build scripts for profile DebugASan
  168. CMake options for profile DebugASan: ['CMAKE_BUILD_TYPE=Debug', 'ASAN=ON', 'CMAKE_CXX_COMPILER=/usr/bin/clang++-19', 'CMAKE_C_COMPILER=/usr/bin/clang-19', 'TOOL_BUILD=ON']
  169. cmake output:
  170. -- C++ compiler: /usr/bin/clang++-19
  171. -- C++ standard: 23
  172. -- Sanitize with Address Sanitizer (ASAN)
  173. -- [concurrency_course] FetchContent: fmt
  174. -- Version: 10.2.1
  175. -- Build type: Debug
  176. -- [concurrency_course] FetchContent: function2
  177. -- [concurrency_course] FetchContent: wheels
  178. CMake Deprecation Warning at /tmp/clippy-build/DebugASan/_deps/gflags-src/CMakeLists.txt:73 (cmake_minimum_required):
  179.   Compatibility with CMake < 3.10 will be removed from a future version of
  180.   CMake.
  181.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  182.   to tell CMake that the project requires at least <min> but has been updated
  183.   to work with policies introduced by <max> or earlier.
  184. -- [concurrency_course] FetchContent: sure-stack
  185. -- [sure-stack] Sanitize with Address Sanitizer
  186. -- [concurrency_course] FetchContent: sure
  187. CMake Deprecation Warning at /tmp/clippy-build/DebugASan/_deps/sure-src/CMakeLists.txt:1 (cmake_minimum_required):
  188.   Compatibility with CMake < 3.10 will be removed from a future version of
  189.   CMake.
  190.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  191.   to tell CMake that the project requires at least <min> but has been updated
  192.   to work with policies introduced by <max> or earlier.
  193. -- [sure] Sanitize with Address Sanitizer
  194. -- [sure] Host system processor: x86_64
  195. -- [sure] MachineContext: x86_64
  196. -- [sure] ExceptionsContext: unix
  197. -- [concurrency_course] FetchContent: futex_like
  198. -- [futex_like] Platform: Linux
  199. -- [concurrency_course] FetchContent: spin_wait
  200. -- [spin_wait] Host system processor: x86_64
  201. -- [concurrency_course] FetchContent: twist
  202. -- [twist] Sanitize with Address Sanitizer
  203. -- [twist] Processor count: 4
  204. -- [twist] CMake version: 3.31.5
  205. -- [twist] C++ compiler: /usr/bin/clang++-19
  206. -- [twist] C++ standard: 20
  207. -- [twist] Fault injection: Off
  208. -- [twist] Runtime: Threads
  209. -- [concurrency_course] FetchContent: tinyfiber
  210. -- C++ compiler: /usr/bin/clang++-19
  211. -- Sanitize with Address Sanitizer (ASAN)
  212. -- [concurrency_course] FetchContent: asio
  213. -- [concurrency_course] Topic = 'tutorial', task = 'aplusb'
  214. -- [concurrency_course] Topic = 'tutorial', task = 'function'
  215. -- [concurrency_course] Topic = 'sync', task = 'deadlock'
  216. -- [concurrency_course] Topic = 'sync', task = 'dining'
  217. -- [concurrency_course] Topic = 'sync', task = 'livelock'
  218. -- [concurrency_course] Topic = 'sync', task = 'lock_guard'
  219. -- [concurrency_course] Topic = 'sync', task = 'mutexed'
  220. -- [concurrency_course] Topic = 'sync', task = 'spinlock'
  221. -- [concurrency_course] Topic = 'sync', task = 'mutex'
  222. -- [concurrency_course] Topic = 'sync', task = 'try_lock'
  223. -- [concurrency_course] Topic = 'sync', task = 'barrier'
  224. -- [concurrency_course] Topic = 'sync', task = 'condvar'
  225. -- [concurrency_course] Topic = 'sync', task = 'semaphore'
  226. -- [concurrency_course] Topic = 'sync', task = 'wait_group'
  227. -- [concurrency_course] Topic = 'runtime', task = 'thread_pool'
  228. -- [concurrency_course] Add task library: task_runtime_thread_pool_exe
  229. -- [concurrency_course] Include dir: /course/tasks/runtime/thread_pool/source
  230. -- [concurrency_course] Add task playground: task_runtime_thread_pool_play
  231. -- [concurrency_course] Topic = 'future', task = 'std_like'
  232. -- [concurrency_course] Add task library: task_future_std_like_exe
  233. -- [concurrency_course] Add task playground: task_future_std_like_play
  234. -- Configuring done (13.2s)
  235. -- Generating done (0.6s)
  236. -- Build files have been written to: /tmp/clippy-build/DebugASan
  237. Generate build scripts for profile Release
  238. CMake options for profile Release: ['CMAKE_BUILD_TYPE=Release', 'SURE_EXCEPTIONS=OFF', 'CMAKE_CXX_COMPILER=/usr/bin/clang++-19', 'CMAKE_C_COMPILER=/usr/bin/clang-19', 'TOOL_BUILD=ON']
  239. cmake output:
  240. -- C++ compiler: /usr/bin/clang++-19
  241. -- C++ standard: 23
  242. -- [concurrency_course] FetchContent: fmt
  243. -- Version: 10.2.1
  244. -- Build type: Release
  245. -- [concurrency_course] FetchContent: function2
  246. -- [concurrency_course] FetchContent: wheels
  247. CMake Deprecation Warning at /tmp/clippy-build/Release/_deps/gflags-src/CMakeLists.txt:73 (cmake_minimum_required):
  248.   Compatibility with CMake < 3.10 will be removed from a future version of
  249.   CMake.
  250.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  251.   to tell CMake that the project requires at least <min> but has been updated
  252.   to work with policies introduced by <max> or earlier.
  253. -- [concurrency_course] FetchContent: sure-stack
  254. -- [concurrency_course] FetchContent: sure
  255. CMake Deprecation Warning at /tmp/clippy-build/Release/_deps/sure-src/CMakeLists.txt:1 (cmake_minimum_required):
  256.   Compatibility with CMake < 3.10 will be removed from a future version of
  257.   CMake.
  258.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  259.   to tell CMake that the project requires at least <min> but has been updated
  260.   to work with policies introduced by <max> or earlier.
  261. -- [sure] Host system processor: x86_64
  262. -- [sure] MachineContext: x86_64
  263. -- [sure] ExceptionsContext: nop
  264. -- [concurrency_course] FetchContent: futex_like
  265. -- [futex_like] Platform: Linux
  266. -- [concurrency_course] FetchContent: spin_wait
  267. -- [spin_wait] Host system processor: x86_64
  268. -- [concurrency_course] FetchContent: twist
  269. -- [twist] Processor count: 4
  270. -- [twist] CMake version: 3.31.5
  271. -- [twist] C++ compiler: /usr/bin/clang++-19
  272. -- [twist] C++ standard: 20
  273. -- [twist] Fault injection: Off
  274. -- [twist] Runtime: Threads
  275. -- [concurrency_course] FetchContent: tinyfiber
  276. -- C++ compiler: /usr/bin/clang++-19
  277. -- [concurrency_course] FetchContent: asio
  278. -- [concurrency_course] FetchContent: mimalloc
  279. --
  280. -- Override standard malloc (MI_OVERRIDE=ON)
  281. -- Architecture: x64
  282. --
  283. -- Library base name: mimalloc
  284. -- Version          : 2.1.9
  285. -- Build type       : release
  286. -- C Compiler       : /usr/bin/clang-19
  287. -- Compiler flags   : -Wall;-Wextra;-Wpedantic;-Wno-unknown-pragmas;-fvisibility=hidden;-Wstrict-prototypes;-Wno-static-in-inline;-ftls-model=initial-exec;-fno-builtin-malloc
  288. -- Compiler defines :
  289. -- Link libraries   : pthread;rt;atomic
  290. -- Build targets    : shared;static;object;tests
  291. --
  292. -- [concurrency_course] Topic = 'tutorial', task = 'aplusb'
  293. -- [concurrency_course] Topic = 'tutorial', task = 'function'
  294. -- [concurrency_course] Topic = 'sync', task = 'deadlock'
  295. -- [concurrency_course] Topic = 'sync', task = 'dining'
  296. -- [concurrency_course] Topic = 'sync', task = 'livelock'
  297. -- [concurrency_course] Topic = 'sync', task = 'lock_guard'
  298. -- [concurrency_course] Topic = 'sync', task = 'mutexed'
  299. -- [concurrency_course] Topic = 'sync', task = 'spinlock'
  300. -- [concurrency_course] Topic = 'sync', task = 'mutex'
  301. -- [concurrency_course] Topic = 'sync', task = 'try_lock'
  302. -- [concurrency_course] Topic = 'sync', task = 'barrier'
  303. -- [concurrency_course] Topic = 'sync', task = 'condvar'
  304. -- [concurrency_course] Topic = 'sync', task = 'semaphore'
  305. -- [concurrency_course] Topic = 'sync', task = 'wait_group'
  306. -- [concurrency_course] Topic = 'runtime', task = 'thread_pool'
  307. -- [concurrency_course] Add task library: task_runtime_thread_pool_exe
  308. -- [concurrency_course] Include dir: /course/tasks/runtime/thread_pool/source
  309. -- [concurrency_course] Add task playground: task_runtime_thread_pool_play
  310. -- [concurrency_course] Topic = 'future', task = 'std_like'
  311. -- [concurrency_course] Add task library: task_future_std_like_exe
  312. -- [concurrency_course] Add task playground: task_future_std_like_play
  313. -- Configuring done (16.2s)
  314. -- Generating done (0.6s)
  315. -- Build files have been written to: /tmp/clippy-build/Release
  316. Generate build scripts for profile FaultyThreadASan
  317. CMake options for profile FaultyThreadASan: ['CMAKE_BUILD_TYPE=RelWithDebInfo', 'TWIST_FAULTY=ON', 'ASAN=ON', 'CMAKE_CXX_COMPILER=/usr/bin/clang++-19', 'CMAKE_C_COMPILER=/usr/bin/clang-19', 'TOOL_BUILD=ON']
  318. cmake output:
  319. -- C++ compiler: /usr/bin/clang++-19
  320. -- C++ standard: 23
  321. -- Sanitize with Address Sanitizer (ASAN)
  322. -- [concurrency_course] FetchContent: fmt
  323. -- Version: 10.2.1
  324. -- Build type: RelWithDebInfo
  325. -- [concurrency_course] FetchContent: function2
  326. -- [concurrency_course] FetchContent: wheels
  327. CMake Deprecation Warning at /tmp/clippy-build/FaultyThreadASan/_deps/gflags-src/CMakeLists.txt:73 (cmake_minimum_required):
  328.   Compatibility with CMake < 3.10 will be removed from a future version of
  329.   CMake.
  330.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  331.   to tell CMake that the project requires at least <min> but has been updated
  332.   to work with policies introduced by <max> or earlier.
  333. -- [concurrency_course] FetchContent: sure-stack
  334. -- [sure-stack] Sanitize with Address Sanitizer
  335. -- [concurrency_course] FetchContent: sure
  336. CMake Deprecation Warning at /tmp/clippy-build/FaultyThreadASan/_deps/sure-src/CMakeLists.txt:1 (cmake_minimum_required):
  337.   Compatibility with CMake < 3.10 will be removed from a future version of
  338.   CMake.
  339.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  340.   to tell CMake that the project requires at least <min> but has been updated
  341.   to work with policies introduced by <max> or earlier.
  342. -- [sure] Sanitize with Address Sanitizer
  343. -- [sure] Host system processor: x86_64
  344. -- [sure] MachineContext: x86_64
  345. -- [sure] ExceptionsContext: unix
  346. -- [concurrency_course] FetchContent: futex_like
  347. -- [futex_like] Platform: Linux
  348. -- [concurrency_course] FetchContent: spin_wait
  349. -- [spin_wait] Host system processor: x86_64
  350. -- [concurrency_course] FetchContent: twist
  351. -- [twist] Sanitize with Address Sanitizer
  352. -- [twist] Processor count: 4
  353. -- [twist] CMake version: 3.31.5
  354. -- [twist] C++ compiler: /usr/bin/clang++-19
  355. -- [twist] C++ standard: 20
  356. -- [twist] Fault injection: On
  357. -- [twist] Fault placement: BEFORE
  358. -- [twist] Runtime: Threads
  359. -- [concurrency_course] FetchContent: tinyfiber
  360. -- C++ compiler: /usr/bin/clang++-19
  361. -- Sanitize with Address Sanitizer (ASAN)
  362. -- [concurrency_course] FetchContent: asio
  363. -- [concurrency_course] Topic = 'tutorial', task = 'aplusb'
  364. -- [concurrency_course] Topic = 'tutorial', task = 'function'
  365. -- [concurrency_course] Topic = 'sync', task = 'deadlock'
  366. -- [concurrency_course] Topic = 'sync', task = 'dining'
  367. -- [concurrency_course] Topic = 'sync', task = 'livelock'
  368. -- [concurrency_course] Topic = 'sync', task = 'lock_guard'
  369. -- [concurrency_course] Topic = 'sync', task = 'mutexed'
  370. -- [concurrency_course] Topic = 'sync', task = 'spinlock'
  371. -- [concurrency_course] Topic = 'sync', task = 'mutex'
  372. -- [concurrency_course] Topic = 'sync', task = 'try_lock'
  373. -- [concurrency_course] Topic = 'sync', task = 'barrier'
  374. -- [concurrency_course] Topic = 'sync', task = 'condvar'
  375. -- [concurrency_course] Topic = 'sync', task = 'semaphore'
  376. -- [concurrency_course] Topic = 'sync', task = 'wait_group'
  377. -- [concurrency_course] Topic = 'runtime', task = 'thread_pool'
  378. -- [concurrency_course] Add task library: task_runtime_thread_pool_exe
  379. -- [concurrency_course] Include dir: /course/tasks/runtime/thread_pool/source
  380. -- [concurrency_course] Add task playground: task_runtime_thread_pool_play
  381. -- [concurrency_course] Topic = 'future', task = 'std_like'
  382. -- [concurrency_course] Add task library: task_future_std_like_exe
  383. -- [concurrency_course] Add task playground: task_future_std_like_play
  384. -- Configuring done (12.2s)
  385. -- Generating done (0.5s)
  386. -- Build files have been written to: /tmp/clippy-build/FaultyThreadASan
  387. Generate build scripts for profile FaultyThreadTSan
  388. CMake options for profile FaultyThreadTSan: ['CMAKE_BUILD_TYPE=RelWithDebInfo', 'TWIST_FAULTY=ON', 'TSAN=ON', 'CMAKE_CXX_COMPILER=/usr/bin/clang++-19', 'CMAKE_C_COMPILER=/usr/bin/clang-19', 'TOOL_BUILD=ON']
  389. cmake output:
  390. -- C++ compiler: /usr/bin/clang++-19
  391. -- C++ standard: 23
  392. -- Sanitize with Thread Sanitizer (TSAN)
  393. -- [concurrency_course] FetchContent: fmt
  394. -- Version: 10.2.1
  395. -- Build type: RelWithDebInfo
  396. -- [concurrency_course] FetchContent: function2
  397. -- [concurrency_course] FetchContent: wheels
  398. CMake Deprecation Warning at /tmp/clippy-build/FaultyThreadTSan/_deps/gflags-src/CMakeLists.txt:73 (cmake_minimum_required):
  399.   Compatibility with CMake < 3.10 will be removed from a future version of
  400.   CMake.
  401.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  402.   to tell CMake that the project requires at least <min> but has been updated
  403.   to work with policies introduced by <max> or earlier.
  404. -- [concurrency_course] FetchContent: sure-stack
  405. -- [concurrency_course] FetchContent: sure
  406. CMake Deprecation Warning at /tmp/clippy-build/FaultyThreadTSan/_deps/sure-src/CMakeLists.txt:1 (cmake_minimum_required):
  407.   Compatibility with CMake < 3.10 will be removed from a future version of
  408.   CMake.
  409.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  410.   to tell CMake that the project requires at least <min> but has been updated
  411.   to work with policies introduced by <max> or earlier.
  412. -- [sure] Sanitize with Thread Sanitizer
  413. -- [sure] Host system processor: x86_64
  414. -- [sure] MachineContext: x86_64
  415. -- [sure] ExceptionsContext: unix
  416. -- [concurrency_course] FetchContent: futex_like
  417. -- [futex_like] Platform: Linux
  418. -- [concurrency_course] FetchContent: spin_wait
  419. -- [spin_wait] Host system processor: x86_64
  420. -- [concurrency_course] FetchContent: twist
  421. -- [twist] Sanitize with Thread Sanitizer
  422. -- [twist] Processor count: 4
  423. -- [twist] CMake version: 3.31.5
  424. -- [twist] C++ compiler: /usr/bin/clang++-19
  425. -- [twist] C++ standard: 20
  426. -- [twist] Fault injection: On
  427. -- [twist] Fault placement: BEFORE
  428. -- [twist] Runtime: Threads
  429. -- [concurrency_course] FetchContent: tinyfiber
  430. -- C++ compiler: /usr/bin/clang++-19
  431. -- Sanitize with Thread Sanitizer (TSAN)
  432. -- [concurrency_course] FetchContent: asio
  433. -- [concurrency_course] Topic = 'tutorial', task = 'aplusb'
  434. -- [concurrency_course] Topic = 'tutorial', task = 'function'
  435. -- [concurrency_course] Topic = 'sync', task = 'deadlock'
  436. -- [concurrency_course] Topic = 'sync', task = 'dining'
  437. -- [concurrency_course] Topic = 'sync', task = 'livelock'
  438. -- [concurrency_course] Topic = 'sync', task = 'lock_guard'
  439. -- [concurrency_course] Topic = 'sync', task = 'mutexed'
  440. -- [concurrency_course] Topic = 'sync', task = 'spinlock'
  441. -- [concurrency_course] Topic = 'sync', task = 'mutex'
  442. -- [concurrency_course] Topic = 'sync', task = 'try_lock'
  443. -- [concurrency_course] Topic = 'sync', task = 'barrier'
  444. -- [concurrency_course] Topic = 'sync', task = 'condvar'
  445. -- [concurrency_course] Topic = 'sync', task = 'semaphore'
  446. -- [concurrency_course] Topic = 'sync', task = 'wait_group'
  447. -- [concurrency_course] Topic = 'runtime', task = 'thread_pool'
  448. -- [concurrency_course] Add task library: task_runtime_thread_pool_exe
  449. -- [concurrency_course] Include dir: /course/tasks/runtime/thread_pool/source
  450. -- [concurrency_course] Add task playground: task_runtime_thread_pool_play
  451. -- [concurrency_course] Topic = 'future', task = 'std_like'
  452. -- [concurrency_course] Add task library: task_future_std_like_exe
  453. -- [concurrency_course] Add task playground: task_future_std_like_play
  454. -- Configuring done (13.6s)
  455. -- Generating done (0.6s)
  456. -- Build files have been written to: /tmp/clippy-build/FaultyThreadTSan
  457. Generate build scripts for profile Fiber
  458. CMake options for profile Fiber: ['CMAKE_BUILD_TYPE=RelWithDebInfo', 'TWIST_FAULTY=ON', 'TWIST_SIM=ON', 'CMAKE_CXX_COMPILER=/usr/bin/clang++-19', 'CMAKE_C_COMPILER=/usr/bin/clang-19', 'TOOL_BUILD=ON']
  459. cmake output:
  460. -- C++ compiler: /usr/bin/clang++-19
  461. -- C++ standard: 23
  462. -- [concurrency_course] FetchContent: fmt
  463. -- Version: 10.2.1
  464. -- Build type: RelWithDebInfo
  465. -- [concurrency_course] FetchContent: function2
  466. -- [concurrency_course] FetchContent: wheels
  467. CMake Deprecation Warning at /tmp/clippy-build/Fiber/_deps/gflags-src/CMakeLists.txt:73 (cmake_minimum_required):
  468.   Compatibility with CMake < 3.10 will be removed from a future version of
  469.   CMake.
  470.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  471.   to tell CMake that the project requires at least <min> but has been updated
  472.   to work with policies introduced by <max> or earlier.
  473. -- [concurrency_course] FetchContent: sure-stack
  474. -- [concurrency_course] FetchContent: sure
  475. CMake Deprecation Warning at /tmp/clippy-build/Fiber/_deps/sure-src/CMakeLists.txt:1 (cmake_minimum_required):
  476.   Compatibility with CMake < 3.10 will be removed from a future version of
  477.   CMake.
  478.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  479.   to tell CMake that the project requires at least <min> but has been updated
  480.   to work with policies introduced by <max> or earlier.
  481. -- [sure] Host system processor: x86_64
  482. -- [sure] MachineContext: x86_64
  483. -- [sure] ExceptionsContext: unix
  484. -- [concurrency_course] FetchContent: futex_like
  485. -- [futex_like] Platform: Linux
  486. -- [concurrency_course] FetchContent: spin_wait
  487. -- [spin_wait] Host system processor: x86_64
  488. -- [concurrency_course] FetchContent: twist
  489. -- [twist] Processor count: 4
  490. -- [twist] CMake version: 3.31.5
  491. -- [twist] C++ compiler: /usr/bin/clang++-19
  492. -- [twist] C++ standard: 20
  493. -- [twist] Fault injection: On
  494. -- [twist] Fault placement: BEFORE
  495. -- [twist] Runtime: Simulation
  496. -- [concurrency_course] FetchContent: tinyfiber
  497. -- C++ compiler: /usr/bin/clang++-19
  498. -- [concurrency_course] FetchContent: asio
  499. -- [concurrency_course] Topic = 'tutorial', task = 'aplusb'
  500. -- [concurrency_course] Topic = 'tutorial', task = 'function'
  501. -- [concurrency_course] Topic = 'sync', task = 'deadlock'
  502. -- [concurrency_course] Topic = 'sync', task = 'dining'
  503. -- [concurrency_course] Topic = 'sync', task = 'livelock'
  504. -- [concurrency_course] Topic = 'sync', task = 'lock_guard'
  505. -- [concurrency_course] Topic = 'sync', task = 'mutexed'
  506. -- [concurrency_course] Topic = 'sync', task = 'spinlock'
  507. -- [concurrency_course] Topic = 'sync', task = 'mutex'
  508. -- [concurrency_course] Topic = 'sync', task = 'try_lock'
  509. -- [concurrency_course] Topic = 'sync', task = 'barrier'
  510. -- [concurrency_course] Topic = 'sync', task = 'condvar'
  511. -- [concurrency_course] Topic = 'sync', task = 'semaphore'
  512. -- [concurrency_course] Topic = 'sync', task = 'wait_group'
  513. -- [concurrency_course] Topic = 'runtime', task = 'thread_pool'
  514. -- [concurrency_course] Add task library: task_runtime_thread_pool_exe
  515. -- [concurrency_course] Include dir: /course/tasks/runtime/thread_pool/source
  516. -- [concurrency_course] Add task playground: task_runtime_thread_pool_play
  517. -- [concurrency_course] Topic = 'future', task = 'std_like'
  518. -- [concurrency_course] Add task library: task_future_std_like_exe
  519. -- [concurrency_course] Add task playground: task_future_std_like_play
  520. -- Configuring done (13.1s)
  521. -- Generating done (0.4s)
  522. -- Build files have been written to: /tmp/clippy-build/Fiber
  523. Generate build scripts for profile FiberASan
  524. CMake options for profile FiberASan: ['CMAKE_BUILD_TYPE=RelWithDebInfo', 'TWIST_FAULTY=ON', 'TWIST_SIM=ON', 'ASAN=ON', 'CMAKE_CXX_COMPILER=/usr/bin/clang++-19', 'CMAKE_C_COMPILER=/usr/bin/clang-19', 'TOOL_BUILD=ON']
  525. cmake output:
  526. -- C++ compiler: /usr/bin/clang++-19
  527. -- C++ standard: 23
  528. -- Sanitize with Address Sanitizer (ASAN)
  529. -- [concurrency_course] FetchContent: fmt
  530. -- Version: 10.2.1
  531. -- Build type: RelWithDebInfo
  532. -- [concurrency_course] FetchContent: function2
  533. -- [concurrency_course] FetchContent: wheels
  534. CMake Deprecation Warning at /tmp/clippy-build/FiberASan/_deps/gflags-src/CMakeLists.txt:73 (cmake_minimum_required):
  535.   Compatibility with CMake < 3.10 will be removed from a future version of
  536.   CMake.
  537.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  538.   to tell CMake that the project requires at least <min> but has been updated
  539.   to work with policies introduced by <max> or earlier.
  540. -- [concurrency_course] FetchContent: sure-stack
  541. -- [sure-stack] Sanitize with Address Sanitizer
  542. -- [concurrency_course] FetchContent: sure
  543. CMake Deprecation Warning at /tmp/clippy-build/FiberASan/_deps/sure-src/CMakeLists.txt:1 (cmake_minimum_required):
  544.   Compatibility with CMake < 3.10 will be removed from a future version of
  545.   CMake.
  546.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  547.   to tell CMake that the project requires at least <min> but has been updated
  548.   to work with policies introduced by <max> or earlier.
  549. -- [sure] Sanitize with Address Sanitizer
  550. -- [sure] Host system processor: x86_64
  551. -- [sure] MachineContext: x86_64
  552. -- [sure] ExceptionsContext: unix
  553. -- [concurrency_course] FetchContent: futex_like
  554. -- [futex_like] Platform: Linux
  555. -- [concurrency_course] FetchContent: spin_wait
  556. -- [spin_wait] Host system processor: x86_64
  557. -- [concurrency_course] FetchContent: twist
  558. -- [twist] Sanitize with Address Sanitizer
  559. -- [twist] Processor count: 4
  560. -- [twist] CMake version: 3.31.5
  561. -- [twist] C++ compiler: /usr/bin/clang++-19
  562. -- [twist] C++ standard: 20
  563. -- [twist] Fault injection: On
  564. -- [twist] Fault placement: BEFORE
  565. -- [twist] Runtime: Simulation
  566. -- [concurrency_course] FetchContent: tinyfiber
  567. -- C++ compiler: /usr/bin/clang++-19
  568. -- Sanitize with Address Sanitizer (ASAN)
  569. -- [concurrency_course] FetchContent: asio
  570. -- [concurrency_course] Topic = 'tutorial', task = 'aplusb'
  571. -- [concurrency_course] Topic = 'tutorial', task = 'function'
  572. -- [concurrency_course] Topic = 'sync', task = 'deadlock'
  573. -- [concurrency_course] Topic = 'sync', task = 'dining'
  574. -- [concurrency_course] Topic = 'sync', task = 'livelock'
  575. -- [concurrency_course] Topic = 'sync', task = 'lock_guard'
  576. -- [concurrency_course] Topic = 'sync', task = 'mutexed'
  577. -- [concurrency_course] Topic = 'sync', task = 'spinlock'
  578. -- [concurrency_course] Topic = 'sync', task = 'mutex'
  579. -- [concurrency_course] Topic = 'sync', task = 'try_lock'
  580. -- [concurrency_course] Topic = 'sync', task = 'barrier'
  581. -- [concurrency_course] Topic = 'sync', task = 'condvar'
  582. -- [concurrency_course] Topic = 'sync', task = 'semaphore'
  583. -- [concurrency_course] Topic = 'sync', task = 'wait_group'
  584. -- [concurrency_course] Topic = 'runtime', task = 'thread_pool'
  585. -- [concurrency_course] Add task library: task_runtime_thread_pool_exe
  586. -- [concurrency_course] Include dir: /course/tasks/runtime/thread_pool/source
  587. -- [concurrency_course] Add task playground: task_runtime_thread_pool_play
  588. -- [concurrency_course] Topic = 'future', task = 'std_like'
  589. -- [concurrency_course] Add task library: task_future_std_like_exe
  590. -- [concurrency_course] Add task playground: task_future_std_like_play
  591. -- Configuring done (12.8s)
  592. -- Generating done (0.6s)
  593. -- Build files have been written to: /tmp/clippy-build/FiberASan
  594. Generate build scripts for profile Matrix
  595. CMake options for profile Matrix: ['CMAKE_BUILD_TYPE=RelWithDebInfo', 'TWIST_FAULTY=ON', 'TWIST_SIM=ON', 'TWIST_SIM_ISOLATION=ON', 'CMAKE_CXX_COMPILER=/usr/bin/clang++-19', 'CMAKE_C_COMPILER=/usr/bin/clang-19', 'TOOL_BUILD=ON']
  596. cmake output:
  597. -- C++ compiler: /usr/bin/clang++-19
  598. -- C++ standard: 23
  599. -- [concurrency_course] FetchContent: fmt
  600. -- Version: 10.2.1
  601. -- Build type: RelWithDebInfo
  602. -- [concurrency_course] FetchContent: function2
  603. -- [concurrency_course] FetchContent: wheels
  604. CMake Deprecation Warning at /tmp/clippy-build/Matrix/_deps/gflags-src/CMakeLists.txt:73 (cmake_minimum_required):
  605.   Compatibility with CMake < 3.10 will be removed from a future version of
  606.   CMake.
  607.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  608.   to tell CMake that the project requires at least <min> but has been updated
  609.   to work with policies introduced by <max> or earlier.
  610. -- [concurrency_course] FetchContent: sure-stack
  611. -- [concurrency_course] FetchContent: sure
  612. CMake Deprecation Warning at /tmp/clippy-build/Matrix/_deps/sure-src/CMakeLists.txt:1 (cmake_minimum_required):
  613.   Compatibility with CMake < 3.10 will be removed from a future version of
  614.   CMake.
  615.   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  616.   to tell CMake that the project requires at least <min> but has been updated
  617.   to work with policies introduced by <max> or earlier.
  618. -- [sure] Host system processor: x86_64
  619. -- [sure] MachineContext: x86_64
  620. -- [sure] ExceptionsContext: unix
  621. -- [concurrency_course] FetchContent: futex_like
  622. -- [futex_like] Platform: Linux
  623. -- [concurrency_course] FetchContent: spin_wait
  624. -- [spin_wait] Host system processor: x86_64
  625. -- [concurrency_course] FetchContent: twist
  626. -- [twist] Processor count: 4
  627. -- [twist] CMake version: 3.31.5
  628. -- [twist] C++ compiler: /usr/bin/clang++-19
  629. -- [twist] C++ standard: 20
  630. -- [twist] Fault injection: On
  631. -- [twist] Fault placement: BEFORE
  632. -- [twist] Runtime: Simulation
  633. -- [twist] Runtime: Isolated user memory
  634. -- [concurrency_course] FetchContent: tinyfiber
  635. -- C++ compiler: /usr/bin/clang++-19
  636. -- [concurrency_course] FetchContent: asio
  637. -- [concurrency_course] Topic = 'tutorial', task = 'aplusb'
  638. -- [concurrency_course] Topic = 'tutorial', task = 'function'
  639. -- [concurrency_course] Topic = 'sync', task = 'deadlock'
  640. -- [concurrency_course] Topic = 'sync', task = 'dining'
  641. -- [concurrency_course] Topic = 'sync', task = 'livelock'
  642. -- [concurrency_course] Topic = 'sync', task = 'lock_guard'
  643. -- [concurrency_course] Topic = 'sync', task = 'mutexed'
  644. -- [concurrency_course] Topic = 'sync', task = 'spinlock'
  645. -- [concurrency_course] Topic = 'sync', task = 'mutex'
  646. -- [concurrency_course] Topic = 'sync', task = 'try_lock'
  647. -- [concurrency_course] Topic = 'sync', task = 'barrier'
  648. -- [concurrency_course] Topic = 'sync', task = 'condvar'
  649. -- [concurrency_course] Topic = 'sync', task = 'semaphore'
  650. -- [concurrency_course] Topic = 'sync', task = 'wait_group'
  651. -- [concurrency_course] Topic = 'runtime', task = 'thread_pool'
  652. -- [concurrency_course] Add task library: task_runtime_thread_pool_exe
  653. -- [concurrency_course] Include dir: /course/tasks/runtime/thread_pool/source
  654. -- [concurrency_course] Add task playground: task_runtime_thread_pool_play
  655. -- [concurrency_course] Topic = 'future', task = 'std_like'
  656. -- [concurrency_course] Add task library: task_future_std_like_exe
  657. -- [concurrency_course] Add task playground: task_future_std_like_play
  658. -- Configuring done (13.9s)
  659. -- Generating done (0.4s)
  660. -- Build files have been written to: /tmp/clippy-build/Matrix
  661. Done
  662. --------------------------------------------------------------------------------
  663. Hello, root!
  664. Command running: ['validate'], cwd: /course/tasks/sync/mutex
  665. Time: 2025-03-03 13:19:31
  666. Platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.35
  667. Python: 3.10.12, CPython, /usr/bin/python3
  668. C++ compiler: /usr/bin/clang++-19 (Ubuntu clang version 19.1.7 (++20250114103320+cd708029e0b2-1~exp1~20250114103432.75))
  669. Repository root directory: /course
  670. Git commit: 1d8a24e61ee74c038bf2c5d548197d8de900986d
  671. Clang-tidy libs path: /tmp/clippy-build/Debug/_deps, include dirs: ['wheels-src', 'sure-src/source', 'futex_like-src/source', 'twist-src/source', 'tinyfiber-src/source', 'fmt-src/include', 'function2-src/include', 'asio-src/asio/include']
  672. Checking ['mutex.hpp'] with clang-tidy (/usr/bin/clang-tidy-19)
  673. 4097 warnings and 1 error generated.
  674. Error while processing /course/tasks/sync/mutex/source/mutex.hpp.
  675. /tmp/clippy-build/Debug/_deps/twist-src/source/twist/rt/thr/wait/spin/cores/multi.hpp:3:10: error: 'sw/spin_wait.hpp' file not found [clang-diagnostic-error]
  676.     3 | #include <sw/spin_wait.hpp>
  677.       |          ^~~~~~~~~~~~~~~~~~
  678. clang-tidy check failed
  679. Cleaning up project directory and file based variables
  680. 00:01
  681. ERROR: Job failed: exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement