[INFO] cloning repository https://github.com/KevinT3Hu/maa-framework-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KevinT3Hu/maa-framework-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinT3Hu%2Fmaa-framework-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinT3Hu%2Fmaa-framework-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38c205a6621fe734d97aa7adf4fe3d3e25dc33c0 [INFO] documenting KevinT3Hu/maa-framework-rs/38c205a6621fe734d97aa7adf4fe3d3e25dc33c0 against 1.85.0 for beta-1.86-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinT3Hu%2Fmaa-framework-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KevinT3Hu/maa-framework-rs on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/KevinT3Hu/maa-framework-rs [INFO] finished tweaking git repo https://github.com/KevinT3Hu/maa-framework-rs [INFO] tweaked toml for git repo https://github.com/KevinT3Hu/maa-framework-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KevinT3Hu/maa-framework-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-pki-types v1.3.1 [INFO] [stderr] Downloaded ureq v2.9.6 [INFO] [stderr] Downloaded rustls v0.22.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dbcadefe02975f0dec8ab4a5d21b33776da412551255006d14afc9773de21fc [INFO] running `Command { std: "docker" "start" "-a" "9dbcadefe02975f0dec8ab4a5d21b33776da412551255006d14afc9773de21fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dbcadefe02975f0dec8ab4a5d21b33776da412551255006d14afc9773de21fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dbcadefe02975f0dec8ab4a5d21b33776da412551255006d14afc9773de21fc", kill_on_drop: false }` [INFO] [stdout] 9dbcadefe02975f0dec8ab4a5d21b33776da412551255006d14afc9773de21fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dad9bba9d58d7c5d990e7cb0d052db35aa7314054bec126e53674ccc12387a5a [INFO] running `Command { std: "docker" "start" "-a" "dad9bba9d58d7c5d990e7cb0d052db35aa7314054bec126e53674ccc12387a5a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rustls-pki-types v1.3.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rustls v0.22.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling zip v2.1.3 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling rustls-webpki v0.102.2 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Compiling ureq v2.9.6 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Compiling maa-framework v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MAA_FRAMEWORK_VERSION` is never used [INFO] [stdout] --> build/bundled.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MAA_FRAMEWORK_VERSION: &str = "v1.8.2"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bundled_dir` is never used [INFO] [stdout] --> build/bundled.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_bundled_dir(include_dir: &mut Vec, libs: &mut Vec) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_maa_framework` is never used [INFO] [stdout] --> build/bundled.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn download_maa_framework() -> Result<(PathBuf, PathBuf), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_with v3.7.0 [INFO] [stderr] error: failed to run custom build command for `maa-framework v0.5.0 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/maa-framework-ff2e84843138296b/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=./cmake/CMakeLists.txt [INFO] [stderr] CMake Error at CMakeLists.txt:5 (find_package): [INFO] [stderr] Could not find a package configuration file named "MaaFramework.cmake" [INFO] [stderr] provided by package "MaaFramework". [INFO] [stderr] [INFO] [stderr] Add the installation prefix of "MaaFramework" to CMAKE_PREFIX_PATH or set [INFO] [stderr] "MaaFramework_DIR" to a directory containing one of the above files. If [INFO] [stderr] "MaaFramework" provides a separate development package or SDK, be sure it [INFO] [stderr] has been installed. [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] cargo:rustc-link-lib=MaaFramework [INFO] [stderr] cargo:rustc-link-lib=MaaToolkit [INFO] [stderr] cargo:rerun-if-env-changed=TARGET [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS [INFO] [stderr] cargo:rerun-if-changed=headers/maa_framework.h [INFO] [stderr] cargo:rerun-if-changed=headers/maa_toolkit.h [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] ./headers/maa_framework.h:1:10: fatal error: 'MaaFramework/MaaAPI.h' file not found [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at build.rs:53:10: [INFO] [stderr] Unable to generate bindings: ClangDiagnostic("./headers/maa_framework.h:1:10: fatal error: 'MaaFramework/MaaAPI.h' file not found\n") [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x6496d58a004a - std::backtrace_rs::backtrace::libunwind::trace::h88deb10bd0145eb8 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x6496d58a004a - std::backtrace_rs::backtrace::trace_unsynchronized::he1036f5481c14dff [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x6496d58a004a - std::sys::backtrace::_print_fmt::hecc345b6e70c4b20 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x6496d58a004a - ::fmt::he089f96442833f67 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x6496d58c67f3 - core::fmt::rt::Argument::fmt::h1f77cded99c71a14 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x6496d58c67f3 - core::fmt::write::h2f210ed4c94745cb [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/mod.rs:1440:21 [INFO] [stderr] 6: 0x6496d589ceb3 - std::io::Write::write_fmt::h7de08171ab770fb2 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/io/mod.rs:1887:15 [INFO] [stderr] 7: 0x6496d589fe92 - std::sys::backtrace::BacktraceLock::print::h810fbd31421329e6 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x6496d58a0f00 - std::panicking::default_hook::{{closure}}::hbaad47ed9dc6356d [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x6496d58a0ce0 - std::panicking::default_hook::h24e207139139d40a [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:322:9 [INFO] [stderr] 10: 0x6496d58a1662 - std::panicking::rust_panic_with_hook::ha9131beeb2ddc506 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:828:13 [INFO] [stderr] 11: 0x6496d58a140a - std::panicking::begin_panic_handler::{{closure}}::h1bba0eaeb6da506f [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:701:13 [INFO] [stderr] 12: 0x6496d58a0549 - std::sys::backtrace::__rust_end_short_backtrace::h1d1ca3eade483f4c [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 13: 0x6496d58a109d - rust_begin_unwind [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:692:5 [INFO] [stderr] 14: 0x6496d5361b00 - core::panicking::panic_fmt::h896a0727a1a943f9 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:75:14 [INFO] [stderr] 15: 0x6496d5361f76 - core::result::unwrap_failed::h1b5ed8541c7bebd6 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/result.rs:1704:5 [INFO] [stderr] 16: 0x6496d53639a0 - core::result::Result::expect::hee51421a5868b170 [INFO] [stderr] 17: 0x6496d5366662 - build_script_build::main::h8b3d289b48ae7bf0 [INFO] [stderr] 18: 0x6496d5362d63 - core::ops::function::FnOnce::call_once::h61a51eed940c378b [INFO] [stderr] 19: 0x6496d5362b66 - std::sys::backtrace::__rust_begin_short_backtrace::h2071875e97f00579 [INFO] [stderr] 20: 0x6496d5362b49 - std::rt::lang_start::{{closure}}::hee2e5d6744bd5318 [INFO] [stderr] 21: 0x6496d58985b7 - core::ops::function::impls:: for &F>::call_once::ha29694188d478cce [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 22: 0x6496d58985b7 - std::panicking::try::do_call::h146aeebcd3824393 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stderr] 23: 0x6496d58985b7 - std::panicking::try::hf3596e381ccb2229 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stderr] 24: 0x6496d58985b7 - std::panic::catch_unwind::h7b076e21cb40b9bf [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stderr] 25: 0x6496d58985b7 - std::rt::lang_start_internal::{{closure}}::h481008de4850e7c0 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/rt.rs:174:48 [INFO] [stderr] 26: 0x6496d58985b7 - std::panicking::try::do_call::h865e627c98d1c4cc [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stderr] 27: 0x6496d58985b7 - std::panicking::try::hf53b8617a1069bb3 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stderr] 28: 0x6496d58985b7 - std::panic::catch_unwind::h9d30caa3add162e9 [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stderr] 29: 0x6496d58985b7 - std::rt::lang_start_internal::hbb268f70c879621d [INFO] [stderr] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/rt.rs:174:20 [INFO] [stderr] 30: 0x6496d5362b27 - std::rt::lang_start::h4b652196fe3bf30b [INFO] [stderr] 31: 0x6496d53669d5 - main [INFO] [stderr] 32: 0x7eaf13dd5d90 - [INFO] [stderr] 33: 0x7eaf13dd5e40 - __libc_start_main [INFO] [stderr] 34: 0x6496d5362345 - _start [INFO] [stderr] 35: 0x0 - [INFO] running `Command { std: "docker" "inspect" "dad9bba9d58d7c5d990e7cb0d052db35aa7314054bec126e53674ccc12387a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dad9bba9d58d7c5d990e7cb0d052db35aa7314054bec126e53674ccc12387a5a", kill_on_drop: false }` [INFO] [stdout] dad9bba9d58d7c5d990e7cb0d052db35aa7314054bec126e53674ccc12387a5a