[INFO] fetching crate maa-framework 0.5.0... [INFO] testing maa-framework-0.5.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate maa-framework 0.5.0 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate maa-framework 0.5.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 175 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.16) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.1.0) [INFO] [stderr] Adding zip v2.4.2 (available: v4.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75c97e77953320e1633f429de92392b15b9eac5d07650e75a77de71d9ab38645 [INFO] running `Command { std: "docker" "start" "-a" "75c97e77953320e1633f429de92392b15b9eac5d07650e75a77de71d9ab38645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75c97e77953320e1633f429de92392b15b9eac5d07650e75a77de71d9ab38645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75c97e77953320e1633f429de92392b15b9eac5d07650e75a77de71d9ab38645", kill_on_drop: false }` [INFO] [stdout] 75c97e77953320e1633f429de92392b15b9eac5d07650e75a77de71d9ab38645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d7077e4d2b5f7ca3ee6060c87a8dfad916e431b3ee8bd3b07903a1028ca9dd2 [INFO] running `Command { std: "docker" "start" "-a" "0d7077e4d2b5f7ca3ee6060c87a8dfad916e431b3ee8bd3b07903a1028ca9dd2", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling url v2.5.7 [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-840b2f133a969e62/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' (1495) 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: 0x577b2e796952 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x577b2e796952 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x577b2e796952 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x577b2e796952 - ::fmt::h5bb8a979ba5db788 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x577b2e7a7bbf - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x577b2e7a7bbf - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x577b2e768d23 - std::io::default_write_fmt::hb0810a37865e52a5 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x577b2e768d23 - std::io::Write::write_fmt::h12c8908aaac7ca22 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x577b2e773ac2 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x577b2e77694f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x577b2e7767a9 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x577b2e776fd5 - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x577b2e776dba - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x577b2e773bf9 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x577b2e75c88d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x577b2e7b1ac0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x577b2e7b0d56 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stderr] 17: 0x577b2e21ebc4 - core::result::Result::expect::h76cf28eeaf84780d [INFO] [stderr] 18: 0x577b2e21d226 - build_script_build::main::h43716b26cf2718d5 [INFO] [stderr] 19: 0x577b2e21de33 - core::ops::function::FnOnce::call_once::h26febb02fca7b20d [INFO] [stderr] 20: 0x577b2e21dce6 - std::sys::backtrace::__rust_begin_short_backtrace::h6b580b5c9ae86be1 [INFO] [stderr] 21: 0x577b2e21dcc9 - std::rt::lang_start::{{closure}}::h954b5ef15d0ca3af [INFO] [stderr] 22: 0x577b2e76a710 - core::ops::function::impls:: for &F>::call_once::h1dc0a50e6295ec78 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:290:21 [INFO] [stderr] 23: 0x577b2e76a710 - std::panicking::catch_unwind::do_call::h209f742e9999044e [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stderr] 24: 0x577b2e76a710 - std::panicking::catch_unwind::h508c6e2aa6d72749 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stderr] 25: 0x577b2e76a710 - std::panic::catch_unwind::hebcbb24aa9914693 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stderr] 26: 0x577b2e76a710 - std::rt::lang_start_internal::{{closure}}::h703cbe32967ef209 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:175:24 [INFO] [stderr] 27: 0x577b2e76a710 - std::panicking::catch_unwind::do_call::hf50f2a30bce4e10b [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stderr] 28: 0x577b2e76a710 - std::panicking::catch_unwind::hac448d7e3b12daa3 [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stderr] 29: 0x577b2e76a710 - std::panic::catch_unwind::ha9d74a13d77f299c [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x577b2e76a710 - std::rt::lang_start_internal::ha26d244788d1956d [INFO] [stderr] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:171:5 [INFO] [stderr] 31: 0x577b2e21dcb1 - std::rt::lang_start::h0e48cc2e3e6160a0 [INFO] [stderr] 32: 0x577b2e220545 - main [INFO] [stderr] 33: 0x7b9fd22281ca - [INFO] [stderr] 34: 0x7b9fd222828b - __libc_start_main [INFO] [stderr] 35: 0x577b2e21bc55 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "0d7077e4d2b5f7ca3ee6060c87a8dfad916e431b3ee8bd3b07903a1028ca9dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d7077e4d2b5f7ca3ee6060c87a8dfad916e431b3ee8bd3b07903a1028ca9dd2", kill_on_drop: false }` [INFO] [stdout] 0d7077e4d2b5f7ca3ee6060c87a8dfad916e431b3ee8bd3b07903a1028ca9dd2