[INFO] 2026-03-25 17:45:14 - logging_config - Logging system initialized [INFO] 2026-03-25 17:45:14 - logging_config - Logging system initialized python : D:\Projects\ALM\venv\Lib\site-packages\pydantic\ _internal\_config.py:383: UserWarning: Valid config keys have changed in V2: At line:1 char:1 + python main.py > startup_debug.log 2>&1 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (D:\Projects \ALM... changed in V2::String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError * 'schema_extra' has been renamed to 'json_schema_extra' warnings.warn(message, UserWarning) D:\Projects\ALM\backend\main.py:476: DeprecationWarning: on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/). @app.on_event("startup") INFO: Will watch for changes in these directories: ['D:\\Projects\\ALM\\backend'] INFO: Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit) INFO: Started reloader process [1330184] using StatReload [INFO] 2026-03-25 17:45:21 - logging_config - Logging system initialized [INFO] 2026-03-25 17:45:21 - logging_config - Logging system initialized D:\Projects\ALM\venv\Lib\site-packages\pydantic\_internal \_config.py:383: UserWarning: Valid config keys have changed in V2: * 'schema_extra' has been renamed to 'json_schema_extra' warnings.warn(message, UserWarning) Traceback (most recent call last): File "", line 1, in from multiprocessing.spawn import spawn_main; spawn_main(parent_pid=1330184, pipe_handle=604) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 122, in spawn_main exitcode = _main(fd, parent_sentinel) File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 131, in _main prepare(preparation_data) ~~~~~~~^^^^^^^^^^^^^^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 246, in prepare _fixup_main_from_path(data['init_main_from_path']) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 297, in _fixup_main_from_path main_content = runpy.run_path(main_path, run_name="__mp_main__") File "", line 287, in run_path File "", line 98, in _run_module_code File "", line 88, in _run_code File "D:\Projects\ALM\backend\main.py", line 40, in from api.routes import ( ...<13 lines>... ) File "D:\Projects\ALM\backend\api\__init__.py", line 7, in from .routes import auth_routes, evaluation_routes, results_routes, benchmark_routes File "D:\Projects\ALM\backend\api\routes\__init__.py", line 7, in from . import ( ...<8 lines>... ) File "D:\Projects\ALM\backend\api\routes\auth_routes.py", line 19, in from services.auth_service import AuthService File "D:\Projects\ALM\backend\services\__init__.py", line 7, in from .auth_service import AuthService File "D:\Projects\ALM\backend\services\auth_service.py", line 21, in from schemas.user_schema import ( ...<4 lines>... ) ModuleNotFoundError: No module named 'schemas.user_schema' WARNING: StatReload detected changes in 'ai\dataset_loader\dataset_loader.py'. Reloading... [INFO] 2026-03-25 17:46:42 - logging_config - Logging system initialized [INFO] 2026-03-25 17:46:43 - logging_config - Logging system initialized D:\Projects\ALM\venv\Lib\site-packages\pydantic\_internal \_config.py:383: UserWarning: Valid config keys have changed in V2: * 'schema_extra' has been renamed to 'json_schema_extra' warnings.warn(message, UserWarning) Traceback (most recent call last): File "", line 1, in from multiprocessing.spawn import spawn_main; spawn_main(parent_pid=1330184, pipe_handle=1180) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 122, in spawn_main exitcode = _main(fd, parent_sentinel) File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 131, in _main prepare(preparation_data) ~~~~~~~^^^^^^^^^^^^^^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 246, in prepare _fixup_main_from_path(data['init_main_from_path']) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 297, in _fixup_main_from_path main_content = runpy.run_path(main_path, run_name="__mp_main__") File "", line 287, in run_path File "", line 98, in _run_module_code File "", line 88, in _run_code File "D:\Projects\ALM\backend\main.py", line 40, in from api.routes import ( ...<13 lines>... ) File "D:\Projects\ALM\backend\api\__init__.py", line 7, in from .routes import auth_routes, evaluation_routes, results_routes, benchmark_routes File "D:\Projects\ALM\backend\api\routes\__init__.py", line 7, in from . import ( ...<8 lines>... ) File "D:\Projects\ALM\backend\api\routes\auth_routes.py", line 19, in from services.auth_service import AuthService File "D:\Projects\ALM\backend\services\__init__.py", line 7, in from .auth_service import AuthService File "D:\Projects\ALM\backend\services\auth_service.py", line 21, in from schemas.user_schema import ( ...<4 lines>... ) ModuleNotFoundError: No module named 'schemas.user_schema' WARNING: StatReload detected changes in 'ai\dataset_loader\streaming_dataset_loader.py'. Reloading... [INFO] 2026-03-25 17:46:49 - logging_config - Logging system initialized [INFO] 2026-03-25 17:46:49 - logging_config - Logging system initialized D:\Projects\ALM\venv\Lib\site-packages\pydantic\_internal \_config.py:383: UserWarning: Valid config keys have changed in V2: * 'schema_extra' has been renamed to 'json_schema_extra' warnings.warn(message, UserWarning) Traceback (most recent call last): File "", line 1, in from multiprocessing.spawn import spawn_main; spawn_main(parent_pid=1330184, pipe_handle=1180) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 122, in spawn_main exitcode = _main(fd, parent_sentinel) File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 131, in _main prepare(preparation_data) ~~~~~~~^^^^^^^^^^^^^^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 246, in prepare _fixup_main_from_path(data['init_main_from_path']) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\multiprocessing\spawn.py", line 297, in _fixup_main_from_path main_content = runpy.run_path(main_path, run_name="__mp_main__") File "", line 287, in run_path File "", line 98, in _run_module_code File "", line 88, in _run_code File "D:\Projects\ALM\backend\main.py", line 40, in from api.routes import ( ...<13 lines>... ) File "D:\Projects\ALM\backend\api\__init__.py", line 7, in from .routes import auth_routes, evaluation_routes, results_routes, benchmark_routes File "D:\Projects\ALM\backend\api\routes\__init__.py", line 7, in from . import ( ...<8 lines>... ) File "D:\Projects\ALM\backend\api\routes\auth_routes.py", line 19, in from services.auth_service import AuthService File "D:\Projects\ALM\backend\services\__init__.py", line 7, in from .auth_service import AuthService File "D:\Projects\ALM\backend\services\auth_service.py", line 21, in from schemas.user_schema import ( ...<4 lines>... ) ModuleNotFoundError: No module named 'schemas.user_schema' WARNING: StatReload detected changes in 'ai\adversarial_schemas\__init__.py'. Reloading... [INFO] 2026-03-25 17:47:43 - logging_config - Logging system initialized [INFO] 2026-03-25 17:47:43 - logging_config - Logging system initialized D:\Projects\ALM\venv\Lib\site-packages\pydantic\_internal \_config.py:383: UserWarning: Valid config keys have changed in V2: * 'schema_extra' has been renamed to 'json_schema_extra' warnings.warn(message, UserWarning) [INFO] 2026-03-25 17:47:50 - logging_config - Logging system initialized ERROR: Traceback (most recent call last): File "D:\Projects\ALM\venv\Lib\site-packages\starlette\ routing.py", line 694, in lifespan async with self.lifespan_context(app) as maybe_state: ~~~~~~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\venv\Lib\site-packages\fastapi\ro uting.py", line 212, in merged_lifespan async with original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\ALM\backend\main.py", line 75, in lifespan print("\U0001f680 Starting AegisLM Red Team API...") ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ayush\AppData\Local\Programs\Python\Pyth on313\Lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encodi ng_table)[0] ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f680' in position 0: character maps to ERROR: Application startup failed. Exiting.