1[build #27] Starting build for endstone-tianyan-plugin...
2[build #27] Source: https://github.com/yuhangle/endstone-tianyan-plugin
3[build #27] Branch: master
4[build #27] Commit: 3f9cd32d7941c77c9dbfea0ce16dbb7c6b1df6e8
5
6[1/5] Preparing source code...
7 -> Cloned from repository (https://github.com/yuhangle/endstone-tianyan-plugin)
8[2/5] Validating Endstone structure...
9[3/5] Running security scan...
10
11🔍 Security Scan Report
12━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
13 Safe Score: 57/100
14 Files Scanned: 21
15 Findings: 10
16 🔴 Critical: 1
17 🔵 Low: 9
18━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
19
20Detailed Findings:
21🔵 [LOW] File Write Access
22 File: src/offline_inventory.cpp:43
23 Code: if (std::ofstream file{std::string(PLAYER_CACHE_FILE)}; file.is_open()) file << cache.dump(2);
24
25🔵 [LOW] File Write Access
26 File: src/tianyan_plugin.cpp:126
27 Code: if (std::ofstream file(TianyanCore::config_path); file.is_open()) {
28
29🔵 [LOW] File Write Access
30 File: src/tianyan_plugin.cpp:134
31 Code: if (std::ofstream file(TianyanCore::config_path); file.is_open()) {
32
33🔵 [LOW] File Write Access
34 File: src/tianyan_plugin.cpp:158
35 Code: if (std::ofstream outfile(TianyanCore::config_path); outfile.is_open()) {
36
37🔵 [LOW] File Write Access
38 File: src/tianyan_plugin.cpp:222
39 Code: std::ofstream out(newFile);
40
41🔴 [CRITICAL] Shell/Process Execution
42 File: src/tianyan_plugin.cpp:286
43 Code: if (CreateProcessA(nullptr, cmd_buf, nullptr, nullptr, FALSE, CREATE_NO_WINDOW, nullptr, nullptr, &si, &pi)) {
44
45🔵 [LOW] File Write Access
46 File: src/tianyan_protect.cpp:20
47 Code: if (std::ofstream outfile(TianyanCore::ban_id_path); outfile.is_open()) {
48
49🔵 [LOW] File Write Access
50 File: src/tianyan_protect.cpp:119
51 Code: if (std::ofstream outfile(TianyanCore::ban_id_path); outfile.is_open()) {
52
53🔵 [LOW] File Write Access
54 File: src/tianyan_protect.cpp:183
55 Code: if (std::ofstream outfile(TianyanCore::ban_id_path); outfile.is_open()) {
56
57🔵 [LOW] File Write Access
58 File: src/tianyan_protect.cpp:259
59 Code: if (std::ofstream outfile(TianyanCore::ban_id_path); outfile.is_open()) {
60
61[4/5] Compiling and packaging artifact...
62 -> Triggering GitHub Actions for cross-platform C++ build
63 -> 🪟 Windows: MSVC x86_64 + Ninja (windows-2022)
64 -> 🐧 Linux: Clang 18 + Ninja (ubuntu-22.04)
65 -> ✅ GitHub Actions workflow triggered. Artifacts will be uploaded via callback.
66 -> ⏳ Waiting for GitHub Actions to complete...
67[5/5] Security scan complete. C++ build delegated to GitHub Actions.
68
69⏳ Build #27 — scan completed in 9s. Waiting for GitHub Actions...
70🛡️ Safe Score: 57/100
71
72❌ 🪟 Windows build failed
73
74── Error Details ──────────────────────────────
75CMake build failed (MSVC/Windows):\nninja: error: loading 'build.ninja': The system cannot find the file specified.
76
77───────────────────────────────────────────────
78
79❌ 🐧 Linux build failed
80
81── Error Details ──────────────────────────────
82CMake build failed (Clang/Linux):\n[0/2] Re-checking globbed directories...
83[1/8] Performing update step for 'world_inspector_build'
84-- Fetching latest from the remote origin
85[2/8] No patch step for 'world_inspector_build'
86[3/8] No configure step for 'world_inspector_build'
87[3/8] Performing build step for 'world_inspector_build'
88 Finished `release` profile [optimized] target(s) in 0.03s
89[5/8] No install step for 'world_inspector_build'
90[6/8] Completed 'world_inspector_build'
91[7/8] Linking CXX shared library endstone_tianyan.so
92FAILED: [code=1] endstone_tianyan.so
93: && /usr/bin/c++ -fPIC -stdlib=libc++ -fPIC -O2 -g -DNDEBUG -shared -Wl,-soname,endstone_tianyan.so -o endstone_tianyan.so CMakeFiles/tianyan.dir/src/event_listener.cpp.o CMakeFiles/tianyan.dir/src/menu.cpp.o CMakeFiles/tianyan.dir/src/offline_inventory.cpp.o CMakeFiles/tianyan.dir/src/rust_backend.cpp.o CMakeFiles/tianyan.dir/src/sqlite_backend.cpp.o CMakeFiles/tianyan.dir/src/tianyan_core.cpp.o CMakeFiles/tianyan.dir/src/tianyan_plugin.cpp.o CMakeFiles/tianyan.dir/src/tianyan_protect.cpp.o -static-libgcc -static-libstdc++ -Wl,-Bstatic -lc++ -lc++abi -Wl,-Bdynamic /usr/lib/x86_64-linux-gnu/libsqlite3.so _deps/endstone_inventoryui-build/libendstone_inventoryui.a /home/runner/work/endgit-worker/endgit-worker/plugin/rust_mysql/target/release/librust_mysql.a world_inspector/src/world_inspector_build/target/release/libworld_inspector.a -ldl -lpthread -lrt -lm _deps/fmt-build/libfmt.a _deps/endstone_inventoryui-build/bedrock_ffi-prefix/src/bedrock_ffi/target/release/libbedrock_ffi.a -ldl -lpthread -lrt -lm && :
94/usr/bin/ld: _deps/endstone_inventoryui-build/bedrock_ffi-prefix/src/bedrock_ffi/target/release/libbedrock_ffi.a(bedrock_ffi.bedrock_ffi.581f03590786874c-cgu.0.rcgu.o): in function `rust_eh_personality':
95/rustc/ac68faa20c58cbccd01ee7208bf3b6e93a7d7f96/library/std/src/sys/personality/gcc.rs:299: multiple definition of `rust_eh_personality'; /home/runner/work/endgit-worker/endgit-worker/plugin/rust_mysql/target/release/librust_mysql.a(std-46ee58edabb6fcaa.std.52919eca6bce4da3-cgu.0.rcgu.o):/rustc/ac68faa20c58cbccd01ee7208bf3b6e93a7d7f96/library/std/src/sys/personality/gcc.rs:299: first defined here
96/usr/bin/ld: _deps/endstone_inventoryui-build/bedrock_ffi-prefix/src/bedrock_ffi/target/release/libbedrock_ffi.a(bedrock_ffi.bedrock_ffi.581f03590786874c-cgu.0.rcgu.o):(.data.rel.ro._RNvNtCs75vJTIYSa2J_3std9panicking11EMPTY_PANIC+0x0): multiple definition of `std::panicking::EMPTY_PANIC'; /home/runner/work/endgit-worker/endgit-worker/plugin/rust_mysql/target/release/librust_mysql.a(std-46ee58edabb6fcaa.std.52919eca6bce4da3-cgu.0.rcgu.o):(.data.rel.ro._RNvNtCs75vJTIYSa2J_3std9panicking11EMPTY_PANIC+0x0): first defined here
97/usr/bin/ld: _deps/endstone_inventoryui-build/bedrock_ffi-prefix/src/bedrock_ffi/target/release/libbedrock_ffi.a(bedrock_ffi.bedrock_ffi.581f03590786874c-cgu.0.rcgu.o):(.init_array.00099+0x0): multiple definition of `std::sys::args::unix::imp::ARGV_INIT_ARRAY'; /home/runner/work/endgit-worker/endgit-worker/plugin/rust_mysql/target/release/librust_mysql.a(std-46ee58edabb6fcaa.std.52919eca6bce4da3-cgu.0.rcgu.o):(.init_array.00099+0x0): first defined here
98c++: error: linker command failed with exit code 1 (use -v to see invocation)
99ninja: build stopped: subcommand failed.
100
101───────────────────────────────────────────────
102
103══════════════════════════════════════════════════
104📋 Build #27 — Final Results
105──────────────────────────────────────────────────
106🐧 Linux: ❌ FAILED
107🪟 Windows: ❌ FAILED
108⏱️ Total time: 351s
109══════════════════════════════════════════════════
110
111❌ 🪟 Windows build failed
112
113── Error Details ──────────────────────────────
114Windows build job failed during setup (clone/toolchain). Check that your repo URL, branch, and commit hash are valid.
115───────────────────────────────────────────────
116
117❌ 🐧 Linux build failed
118
119── Error Details ──────────────────────────────
120Linux build job failed during setup (clone/toolchain). Check that your repo URL, branch, and commit hash are valid.
121───────────────────────────────────────────────
122