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... /nix/var/nix/builds/nix-11719-1390133856/source/dist /nix/var/nix/builds/nix-11719-1390133856/source Unpacking to: unpacked/cognee-1.1.2...OK Repacking wheel as ./cognee-1.1.2-py3-none-any.whl...OK /nix/var/nix/builds/nix-11719-1390133856/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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-4.py'... File "/nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-4.py'... File "/nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-5.py'... File "/nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-5.py'... File "/nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-6.py'... File "/nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-6.py'... File "/nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-7.py'... File "/nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/modules/notebooks/tutorials/cognee-basics/cell-7.py'... File "/nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-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 checking for references to /nix/var/nix/builds/nix-11719-1390133856/ in /nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2... patching script interpreter paths in /nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2 stripping (with command strip and flags -S) in /nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/lib /nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/bin checking for references to /nix/var/nix/builds/nix-11719-1390133856/ in /nix/store/rxl3g0k0wbjxkc7wyqsdn7djx9a8yxv1-python3.14-cognee-1.1.2-dist... patching script interpreter paths in /nix/store/rxl3g0k0wbjxkc7wyqsdn7djx9a8yxv1-python3.14-cognee-1.1.2-dist Rewriting #!/nix/store/0kcws5blwbdyxqxjd1w8hjipz61xny3k-python3-3.14.7/bin/python3.14 to #!/nix/store/0kcws5blwbdyxqxjd1w8hjipz61xny3k-python3-3.14.7 wrapping `/nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/bin/cognee-cli'... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir fixupPhase completed in 33 seconds Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Check whether the following modules can be imported: cognee Warning: Could not create log file handler at None: expected str, bytes or os.PathLike object, not NoneType 2026-10-07T10:30:29.075844 [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:30:29.076113 [info ] Logging initialized [cognee.shared.logging_utils] cognee_version=1.1.2 database_path=/nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/.cognee_system/databases os_info='Darwin 25.5.0 (Darwin Kernel Version 25.5.0: Tue Jun 9 22:28:34 PDT 2026; root:xnu-12377.121.10~1/RELEASE_ARM64_T6050)' python_version=3.14.7 structlog_version=26.1.0 2026-10-07T10:30:29.076239 [info ] Database storage: /nix/store/4526jqh3lqmx6yj2j2bfr81m7q2asnwn-python3.14-cognee-1.1.2/lib/python3.14/site-packages/cognee/.cognee_system/databases [cognee.shared.logging_utils] 2026-10-07T10:30:30.135526 [info ] auth posture: authentication=required, multi_tenant=enabled (default (no env vars set)) [get_authenticated_user] Running phase: pythonMetadataCheckPhase Executing pythonMetadataCheckPhase