πŸ” DEBUG: Initializing v2 plugin system [PluginLoaderV2] nyash_plugin_init rc=0 for libnyash_counter_plugin.so [FileBox] Plugin initialized [PluginLoaderV2] nyash_plugin_init rc=0 for libnyash_filebox_plugin.so Net plugin: LOG_ON=false, LOG_PATH=net_plugin.log [PluginLoaderV2] nyash_plugin_init rc=0 for libnyash_net_plugin.so πŸ”Œ v2 plugin system initialized from nyash.toml πŸ“¦ Registering plugin provider for CounterBox πŸ“¦ Registering plugin provider for FileBox πŸ“¦ Registering plugin provider for HttpServerBox πŸ“¦ Registering plugin provider for HttpClientBox πŸ“¦ Registering plugin provider for HttpResponseBox πŸ“¦ Registering plugin provider for HttpRequestBox πŸ“¦ Registering plugin provider for SocketServerBox πŸ“¦ Registering plugin provider for SocketClientBox πŸ“¦ Registering plugin provider for SocketConnBox βœ… v2 plugin system fully configured πŸš€ Nyash VM Backend - Executing file: local_tests/vm_stats_http_404.nyash πŸš€ πŸ” create_box called for: HttpServerBox πŸ” Config loaded successfully πŸ” Found library: libnyash_net_plugin.so for box type: HttpServerBox πŸ” Plugin loaded successfully πŸ” Reading nyash.toml for type configuration... πŸ” nyash.toml read successfully πŸ” nyash.toml parsed successfully πŸ” Found box config for HttpServerBox with type_id: 20 πŸ” Preparing to call birth() with type_id: 20 πŸ” Output buffer allocated, about to call plugin invoke_fn... πŸ” Calling invoke_fn(type_id=20, method_id=0, instance_id=0, tlv_args=[1, 0, 0, 0], output_buf, output_size=1024) πŸ” invoke_fn returned with result: 0 πŸŽ‰ birth() success: HttpServerBox instance_id=1 [PluginLoaderV2] Invoke HttpServerBox.birth: resolving and encoding args (argc=0) [VMβ†’Plugin] call HttpServerBox.birth recv_id=1 returns_result=false [PluginLoaderV2] Invoke HttpServerBox.start: resolving and encoding args (argc=1) [PluginLoaderV2] arg[0]: Integer(8404) -> I32(tag=2) [VMβ†’Plugin] call HttpServerBox.start recv_id=1 returns_result=true πŸ” create_box called for: HttpClientBox πŸ” Config loaded successfully πŸ” Found library: libnyash_net_plugin.so for box type: HttpClientBox πŸ” Plugin loaded successfully πŸ” Reading nyash.toml for type configuration... πŸ” nyash.toml read successfully πŸ” nyash.toml parsed successfully πŸ” Found box config for HttpClientBox with type_id: 23 πŸ” Preparing to call birth() with type_id: 23 πŸ” Output buffer allocated, about to call plugin invoke_fn... πŸ” Calling invoke_fn(type_id=23, method_id=0, instance_id=0, tlv_args=[1, 0, 0, 0], output_buf, output_size=1024) πŸ” invoke_fn returned with result: 0 πŸŽ‰ birth() success: HttpClientBox instance_id=1 [PluginLoaderV2] Invoke HttpClientBox.birth: resolving and encoding args (argc=0) [VMβ†’Plugin] call HttpClientBox.birth recv_id=1 returns_result=false [PluginLoaderV2] Invoke HttpClientBox.get: resolving and encoding args (argc=1) [PluginLoaderV2] arg[0]: String(len=31) -> String(tag=6) [VMβ†’Plugin] call HttpClientBox.get recv_id=1 returns_result=true [PluginLoaderV2] Invoke HttpServerBox.accept: resolving and encoding args (argc=0) [VMβ†’Plugin] call HttpServerBox.accept recv_id=1 returns_result=true πŸ” create_box called for: HttpResponseBox πŸ” Config loaded successfully πŸ” Found library: libnyash_net_plugin.so for box type: HttpResponseBox πŸ” Plugin loaded successfully πŸ” Reading nyash.toml for type configuration... πŸ” nyash.toml read successfully πŸ” nyash.toml parsed successfully πŸ” Found box config for HttpResponseBox with type_id: 22 πŸ” Preparing to call birth() with type_id: 22 πŸ” Output buffer allocated, about to call plugin invoke_fn... πŸ” Calling invoke_fn(type_id=22, method_id=0, instance_id=0, tlv_args=[1, 0, 0, 0], output_buf, output_size=1024) πŸ” invoke_fn returned with result: 0 πŸŽ‰ birth() success: HttpResponseBox instance_id=2 [PluginLoaderV2] Invoke HttpResponseBox.birth: resolving and encoding args (argc=0) [VMβ†’Plugin] call HttpResponseBox.birth recv_id=2 returns_result=false [PluginLoaderV2] Invoke HttpResponseBox.setStatus: resolving and encoding args (argc=1) [PluginLoaderV2] arg[0]: Integer(404) -> I32(tag=2) [VMβ†’Plugin] call HttpResponseBox.setStatus recv_id=2 returns_result=false [PluginLoaderV2] Invoke HttpResponseBox.write: resolving and encoding args (argc=1) [PluginLoaderV2] arg[0]: String(len=9) -> String(tag=6) [VMβ†’Plugin] call HttpResponseBox.write recv_id=2 returns_result=false [PluginLoaderV2] Invoke HttpRequestBox.respond: resolving and encoding args (argc=1) [PluginLoaderV2] arg[0]: PluginBoxV2(HttpResponseBox, id=2) -> Handle(tag=8) [VMβ†’Plugin] call HttpRequestBox.respond recv_id=1 returns_result=false [PluginLoaderV2] Invoke HttpResponseBox.getStatus: resolving and encoding args (argc=0) [VMβ†’Plugin] call HttpResponseBox.getStatus recv_id=1 returns_result=false [PluginLoaderV2] Invoke HttpResponseBox.readBody: resolving and encoding args (argc=0) [VMβ†’Plugin] call HttpResponseBox.readBody recv_id=1 returns_result=false βœ… VM execution completed successfully! Result: StringBox { value: "404:Not Found", base: BoxBase { id: 57, parent_type_id: None } }