[INFO] fetching crate maa-framework 0.5.0... [INFO] testing maa-framework-0.5.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate maa-framework 0.5.0 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate maa-framework 0.5.0 [INFO] finished tweaking crates.io crate maa-framework 0.5.0 [INFO] tweaked toml for crates.io crate maa-framework 0.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate maa-framework 0.5.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 161 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.69.5 (available: v0.72.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.1.4) [INFO] [stderr] Adding zip v2.4.2 (available: v6.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip v2.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27a163abbc4a75467494d37184c5d4677304ebe0faedb19dee5c574f8861aee7 [INFO] running `Command { std: "docker" "start" "-a" "27a163abbc4a75467494d37184c5d4677304ebe0faedb19dee5c574f8861aee7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27a163abbc4a75467494d37184c5d4677304ebe0faedb19dee5c574f8861aee7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a163abbc4a75467494d37184c5d4677304ebe0faedb19dee5c574f8861aee7", kill_on_drop: false }` [INFO] [stdout] 27a163abbc4a75467494d37184c5d4677304ebe0faedb19dee5c574f8861aee7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44860130fa7e7aeea0ce55a59444ea57be0227bb6f666200a4193805977b4f4a [INFO] running `Command { std: "docker" "start" "-a" "44860130fa7e7aeea0ce55a59444ea57be0227bb6f666200a4193805977b4f4a", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zopfli v0.8.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.15.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling serde_with v3.15.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling ureq v2.12.1 [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)]` (part of `#[warn(unused)]`) 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] 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-7acd41470851390a/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' (1215) 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: 0x5d664e7238d2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5d664e7238d2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5d664e7238d2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5d664e7238d2 - ::fmt::hde21067283f7e82e [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5d664e73483f - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5d664e73483f - core::fmt::write::h24186904251c31cb [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stderr] 6: 0x5d664e6f5e73 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5d664e6f5e73 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5d664e700bd2 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5d664e703abf - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5d664e703919 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5d664e704145 - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x5d664e703f2a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x5d664e700d19 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x5d664e6e9f7d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x5d664e73e6f0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stderr] 16: 0x5d664e73d956 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1862:5 [INFO] [stderr] 17: 0x5d664e1c0744 - core::result::Result::expect::hb2176eed73abd2ca [INFO] [stderr] 18: 0x5d664e1bed96 - build_script_build::main::hf0a6707bb1bf7332 [INFO] [stderr] 19: 0x5d664e1bf9f3 - core::ops::function::FnOnce::call_once::hf78d28e0a1612e85 [INFO] [stderr] 20: 0x5d664e1bf866 - std::sys::backtrace::__rust_begin_short_backtrace::h3cafd80b19d7b68e [INFO] [stderr] 21: 0x5d664e1bf849 - std::rt::lang_start::{{closure}}::h18c5d8a652a9eaf9 [INFO] [stderr] 22: 0x5d664e6f79c0 - core::ops::function::impls:: for &F>::call_once::h8434f550918e723f [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 23: 0x5d664e6f79c0 - std::panicking::catch_unwind::do_call::h7f7a838f33db43be [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stderr] 24: 0x5d664e6f79c0 - std::panicking::catch_unwind::hf345702047129f6d [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stderr] 25: 0x5d664e6f79c0 - std::panic::catch_unwind::h42f92c278294a3a0 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stderr] 26: 0x5d664e6f79c0 - std::rt::lang_start_internal::{{closure}}::ha6834eab5ce60f45 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:175:24 [INFO] [stderr] 27: 0x5d664e6f79c0 - std::panicking::catch_unwind::do_call::hf4afda32c60c9e55 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stderr] 28: 0x5d664e6f79c0 - std::panicking::catch_unwind::hbfda5503aab4db1e [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stderr] 29: 0x5d664e6f79c0 - std::panic::catch_unwind::h1a1ed11560d244f4 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x5d664e6f79c0 - std::rt::lang_start_internal::h1f713c0146d469ad [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:171:5 [INFO] [stderr] 31: 0x5d664e1bf831 - std::rt::lang_start::hc2d8039e469ebbb6 [INFO] [stderr] 32: 0x5d664e1c2025 - main [INFO] [stderr] 33: 0x742aac6b51ca - [INFO] [stderr] 34: 0x742aac6b528b - __libc_start_main [INFO] [stderr] 35: 0x5d664e1bd7d5 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "44860130fa7e7aeea0ce55a59444ea57be0227bb6f666200a4193805977b4f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44860130fa7e7aeea0ce55a59444ea57be0227bb6f666200a4193805977b4f4a", kill_on_drop: false }` [INFO] [stdout] 44860130fa7e7aeea0ce55a59444ea57be0227bb6f666200a4193805977b4f4a