1[build #19] Starting build for endstone-tianyan-plugin...
2[build #19] Source: https://github.com/yuhangle/endstone-tianyan-plugin
3[build #19] Branch: master
4[build #19] Commit: 9c82ce184b5f57fae660bd00a9e04b16463e942a
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 Files Scanned: 21
14 Findings: 10
15 🔴 Critical: 1
16 🔵 Low: 9
17━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
18
19Detailed Findings:
20🔵 [LOW] File Write Access
21 File: src/offline_inventory.cpp:43
22 Code: if (std::ofstream file{std::string(PLAYER_CACHE_FILE)}; file.is_open()) file << cache.dump(2);
23
24🔵 [LOW] File Write Access
25 File: src/tianyan_plugin.cpp:126
26 Code: if (std::ofstream file(TianyanCore::config_path); file.is_open()) {
27
28🔵 [LOW] File Write Access
29 File: src/tianyan_plugin.cpp:134
30 Code: if (std::ofstream file(TianyanCore::config_path); file.is_open()) {
31
32🔵 [LOW] File Write Access
33 File: src/tianyan_plugin.cpp:158
34 Code: if (std::ofstream outfile(TianyanCore::config_path); outfile.is_open()) {
35
36🔵 [LOW] File Write Access
37 File: src/tianyan_plugin.cpp:222
38 Code: std::ofstream out(newFile);
39
40🔴 [CRITICAL] Shell/Process Execution
41 File: src/tianyan_plugin.cpp:286
42 Code: if (CreateProcessA(nullptr, cmd_buf, nullptr, nullptr, FALSE, CREATE_NO_WINDOW, nullptr, nullptr, &si, &pi)) {
43
44🔵 [LOW] File Write Access
45 File: src/tianyan_protect.cpp:20
46 Code: if (std::ofstream outfile(TianyanCore::ban_id_path); outfile.is_open()) {
47
48🔵 [LOW] File Write Access
49 File: src/tianyan_protect.cpp:119
50 Code: if (std::ofstream outfile(TianyanCore::ban_id_path); outfile.is_open()) {
51
52🔵 [LOW] File Write Access
53 File: src/tianyan_protect.cpp:183
54 Code: if (std::ofstream outfile(TianyanCore::ban_id_path); outfile.is_open()) {
55
56🔵 [LOW] File Write Access
57 File: src/tianyan_protect.cpp:259
58 Code: if (std::ofstream outfile(TianyanCore::ban_id_path); outfile.is_open()) {
59
60[4/5] Compiling and packaging artifact...
61 -> Triggering GitHub Actions for cross-platform C++ build
62 -> 🪟 Windows: MSVC x86_64 + Ninja (windows-2022)
63 -> 🐧 Linux: Clang 18 + Ninja (ubuntu-22.04)
64 -> ✅ GitHub Actions workflow triggered. Artifacts will be uploaded via callback.
65 -> ⏳ Waiting for GitHub Actions to complete...
66[5/5] Security scan complete. C++ build delegated to GitHub Actions.
67
68⏳ Build #19 — scan completed in 9s. Waiting for GitHub Actions...
69
70❌ 🪟 Windows build failed
71
72── Error Details ──────────────────────────────
73CMake build failed (MSVC/Windows):\nninja: error: loading 'build.ninja': The system cannot find the file specified.
74
75───────────────────────────────────────────────
76
77❌ 🐧 Linux build failed
78
79── Error Details ──────────────────────────────
80CMake build failed (Clang/Linux):\n[0/2] Re-checking globbed directories...
81[1/8] Performing update step for 'world_inspector_build'
82-- Fetching latest from the remote origin
83[2/8] No patch step for 'world_inspector_build'
84[3/8] No configure step for 'world_inspector_build'
85[3/8] Performing build step for 'world_inspector_build'
86 Finished `release` profile [optimized] target(s) in 0.02s
87[5/8] No install step for 'world_inspector_build'
88[6/8] Completed 'world_inspector_build'
89[7/8] Linking CXX shared library endstone_tianyan.so
90FAILED: [code=1] endstone_tianyan.so
91: && /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 && :
92/usr/bin/ld: _deps/endstone_inventoryui-build/bedrock_ffi-prefix/src/bedrock_ffi/target/release/libbedrock_ffi.a(bedrock_ffi.bedrock_ffi.65113cb3176d8a8d-cgu.0.rcgu.o): in function `rust_eh_personality':
93/rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/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-d1237ef7159db0a2.std.e28293b1aa0f68bd-cgu.0.rcgu.o):/rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/sys/personality/gcc.rs:299: first defined here
94/usr/bin/ld: _deps/endstone_inventoryui-build/bedrock_ffi-prefix/src/bedrock_ffi/target/release/libbedrock_ffi.a(bedrock_ffi.bedrock_ffi.65113cb3176d8a8d-cgu.0.rcgu.o):(.data.rel.ro._RNvNtCsjrHSEGnQ3l9_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-d1237ef7159db0a2.std.e28293b1aa0f68bd-cgu.0.rcgu.o):(.data.rel.ro._RNvNtCsjrHSEGnQ3l9_3std9panicking11EMPTY_PANIC+0x0): first defined here
95/usr/bin/ld: _deps/endstone_inventoryui-build/bedrock_ffi-prefix/src/bedrock_ffi/target/release/libbedrock_ffi.a(bedrock_ffi.bedrock_ffi.65113cb3176d8a8d-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-d1237ef7159db0a2.std.e28293b1aa0f68bd-cgu.0.rcgu.o):(.init_array.00099+0x0): first defined here
96c++: error: linker command failed with exit code 1 (use -v to see invocation)
97ninja: build stopped: subcommand failed.
98
99───────────────────────────────────────────────
100
101══════════════════════════════════════════════════
102📋 Build #19 — Final Results
103──────────────────────────────────────────────────
104🐧 Linux: ❌ FAILED
105🪟 Windows: ❌ FAILED
106⏱️ Total time: 264s
107══════════════════════════════════════════════════
108
109❌ 🪟 Windows build failed
110
111── Error Details ──────────────────────────────
112Windows build job failed during setup (clone/toolchain). Check that your repo URL, branch, and commit hash are valid.
113───────────────────────────────────────────────
114
115══════════════════════════════════════════════════
116📋 Build #19 — Final Results
117──────────────────────────────────────────────────
118🐧 Linux: ❌ FAILED
119🪟 Windows: ❌ FAILED
120⏱️ Total time: 271s
121══════════════════════════════════════════════════
122
123❌ 🐧 Linux build failed
124
125── Error Details ──────────────────────────────
126Linux build job failed during setup (clone/toolchain). Check that your repo URL, branch, and commit hash are valid.
127───────────────────────────────────────────────
128
129══════════════════════════════════════════════════
130📋 Build #19 — Final Results
131──────────────────────────────────────────────────
132🐧 Linux: ❌ FAILED
133🪟 Windows: ❌ FAILED
134⏱️ Total time: 272s
135══════════════════════════════════════════════════
136