Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-metadata-check-hook.sh Using pythonMetadataCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Using checkPhaseThreadLimitHook Running phase: unpackPhase unpacking source archive /nix/store/p4klgmlhjw9v3xn5d7m32am3m0bd83a0-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/working_dir_error_replication/run_subprocess_test.py" Running phase: patchPhase applying patch /nix/store/5pibfljvxsdw50ggyd3jzx945x5fw85n-0001-session-rollback-get-user-db.patch patching file cognee/modules/users/get_user_db.py applying patch /nix/store/dwc58bgsih3kjjahvjnb7d85ldabfhz6-0002-session-rollback-get-by-token.patch patching file cognee/modules/users/get_user_manager.py Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... * Building wheel... Successfully built cognee-1.1.2-py3-none-any.whl Finished creating a wheel... /build/source/dist /build/source Unpacking to: unpacked/cognee-1.1.2...OK Repacking wheel as ./cognee-1.1.2-py3-none-any.whl...OK /build/source Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for cognee-1.1.2-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-4.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-4.py", line 3 await cognee.add( ^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-4.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-4.py", line 3 await cognee.add( ^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-5.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-5.py", line 3 await cognee.cognify(datasets=["cognee-basics"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-5.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-5.py", line 3 await cognee.cognify(datasets=["cognee-basics"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-6.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-6.py", line 3 result = await cognee.search( ^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-6.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-6.py", line 3 result = await cognee.search( ^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-7.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-7.py", line 3 result_1 = await cognee.search( ^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-7.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-7.py", line 3 result_1 = await cognee.search( ^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-12.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-12.py", line 1 memify_result = await cognee.memify(dataset="python-development-with-cognee") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-12.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-12.py", line 1 memify_result = await cognee.memify(dataset="python-development-with-cognee") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-14.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-14.py", line 2 results = await cognee.search( ^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-14.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-14.py", line 2 results = await cognee.search( ^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-16.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-16.py", line 1 result = await cognee.search( ^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-16.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-16.py", line 1 result = await cognee.search( ^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-6.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-6.py", line 2 await cognee.add( ^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-6.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-6.py", line 2 await cognee.add( ^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-9.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-9.py", line 1 await cognee.add( ^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function *** Error compiling '/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-9.py'... File "/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/python-development-with-cognee/cell-9.py", line 1 await cognee.add( ^^^^^^^^^^^^^^^^^ SyntaxError: 'await' outside function Successfully installed cognee-1.1.2-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2 checking for references to /build/ in /nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2... patching script interpreter paths in /nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2 stripping (with command strip and flags -S -p) in /nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib /nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/bin shrinking RPATHs of ELF executables and libraries in /nix/store/5kz45kwwa6k98b4878b932wy444hfi60-python3.14-cognee-1.1.2-dist checking for references to /build/ in /nix/store/5kz45kwwa6k98b4878b932wy444hfi60-python3.14-cognee-1.1.2-dist... patching script interpreter paths in /nix/store/5kz45kwwa6k98b4878b932wy444hfi60-python3.14-cognee-1.1.2-dist Rewriting #!/nix/store/lb41b0anx1f98y9y5s9mdv97gjgsq740-python3-3.14.7/bin/python3.14 to #!/nix/store/lb41b0anx1f98y9y5s9mdv97gjgsq740-python3-3.14.7 wrapping `/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/bin/cognee-cli'... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Check whether the following modules can be imported: cognee 2026-10-07T10:04:27.542415 [info ] Log file created at: /tmp/cognee_logs/2026-10-07_10-04-27.log [cognee.shared.logging_utils] log_file=/tmp/cognee_logs/2026-10-07_10-04-27.log 2026-10-07T10:04:27.542922 [warning ] Cognee 1.0 changes: New API — remember/recall/forget/improve (V1 add/cognify/search still work). Session memory enabled by default (CACHING=false to disable). Multi-user access control on by default (ENABLE_BACKEND_ACCESS_CONTROL=false to disable). Agents (@cognee.agent) auto-verified on registration. See https://docs.cognee.ai/ [cognee.shared.logging_utils] 2026-10-07T10:04:27.543403 [info ] Logging initialized [cognee.shared.logging_utils] cognee_version=1.1.2 database_path=/nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/.cognee_system/databases os_info='Linux 6.18.53 (#1-NixOS SMP PREEMPT_DYNAMIC Mon Sep 21 13:06:06 UTC 2026)' python_version=3.14.7 structlog_version=26.1.0 2026-10-07T10:04:27.543648 [info ] Database storage: /nix/store/jr0mczlcx4j5w4yc994cq4j8a0zfika2-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/.cognee_system/databases [cognee.shared.logging_utils] 2026-10-07T10:04:29.589886 [info ] auth posture: authentication=required, multi_tenant=enabled (default (no env vars set)) [get_authenticated_user] Running phase: pythonMetadataCheckPhase Executing pythonMetadataCheckPhase