Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QtCore not found. #885

Open
dezbracaty opened this issue Mar 11, 2024 · 37 comments · Fixed by #913 · May be fixed by #970
Open

QtCore not found. #885

dezbracaty opened this issue Mar 11, 2024 · 37 comments · Fixed by #913 · May be fixed by #970
Labels
🪲 bug Something isn't working 🔨 build system Issues related to integrating CXX-Qt into CMake/Cargo

Comments

@dezbracaty
Copy link

dezbracaty commented Mar 11, 2024

system : macos
buildIDE: vscode
.vscode/settings.json:

"cmake.environment": {
        // "Qt6_DIR": "", ///opt/homebrew/opt/qt@5/lib/cmake/Qt5",
        "Qt5_DIR": "/opt/homebrew/Cellar/qt@5/5.15.12_1/lib/cmake/Qt5",
        "USE_QT5": "true",
        "RUSTFLAGS": "-C link-arg=-F/opt/homebrew/Cellar/qt@5/5.15.12_1/lib"
    },
[main] Building folder: cxx-qt 
[build] Starting build
[proc] Executing command: /opt/homebrew/bin/cmake --build /Users/allen/Projects/RustProjects/cxx-qt/build --config Debug --target _cargo-build_qml-features --
[build] [1/2   0% :: 0.002] cd /Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust && /Applications/CMake.app/Contents/bin/cmake -E env CXXQT_EXPORT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features/cxxqt DYLD_FRAMEWORK_PATH=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib QMAKE=/opt/homebrew/Cellar/qt@5/5.15.12_1/bin/qmake CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER=/usr/bin/clang CC_aarch64-apple-darwin=/usr/bin/clang CXX_aarch64-apple-darwin=/usr/bin/clang++ SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk CORROSION_BUILD_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features CARGO_BUILD_RUSTC=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo rustc --lib --target=aarch64-apple-darwin --package qml-features --manifest-path /Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust/Cargo.toml --target-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build -- -Cdefault-linker-libraries=yes
[build]    Compiling cxx-qt-lib v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib)
[build]    Compiling qml-features v0.1.0 (/Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust)
[build] error: linking with `/usr/bin/clang` failed: exit status: 1
[build]   |
[build]   = note: env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET LC_ALL="C" PATH="/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/allen/.cargo/bin:/Users/allen/Library/Application Support/JetBrains/Toolbox/scripts:/Users/allen/Library/Python/3.9/bin" VSLANG="1033" ZERO_AR_DATE="1" "/usr/bin/clang" "-arch" "arm64" "/var/folders/hw/lc023pr55psdqktjg68xvnkw0000gn/T/rustc7cGQY5/symbols.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.10fl17pzfgknotu.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.119okv1xmy7z81f6.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.137xat5v19szbkn0.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.15oph1vhrzhh5e5j.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.19opgb164thgeyxk.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.1vlp0hyqz47obvqu.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.1yhg74qrm5jbn57.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.26tes9igtz8fy7rn.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.2mfoke3mrp14psgs.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.2xsado67lvou67qs.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.2zb7b71tju74uh5j.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.37xis5uwom24c582.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.3qh0u66rpovuphck.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4186phjz8kddzw0h.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.42i2ewundsav9ojs.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.45d9edr6wy3brpeh.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4aqs871owq9ftsf1.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4zbmzfjwshprgoiz.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4zm0s84o8zrdyxpo.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.55605lsdx0j8mjk3.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.55mmkitcjyl348i7.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.5663x8hp4g2zm7jf.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.59c517g8ydpmusil.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.xhcy1h0fk613fhe.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4qr33kompxeqtcjw.rcgu.o" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps" "-L" "/opt/homebrew/Cellar/qt@5/5.15.12_1/lib" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversion_check-9f51aa7577df62b5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt-d2c539d1a4753f86.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libstatic_assertions-21ebe0eb3cea606d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx-0dae514a5f69b4e8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblink_cplusplus-29d675dabc421268.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversions-8466793749c2eea6.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libnom-718756c2487eced8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libmemchr-e6b5ebc697c65687.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libitertools-e621136652a36976.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libeither-f70f4bfdd6077160.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcc-4f7e5addbf99ef3e.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libjobserver-dd4b614b2cf16aea.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblibc-dd2450870a8e46be.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_gen-5eee1925fa27fac5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_gen-8d441a361f4b6960.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libclang_format-089b44882994e1ab.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libthiserror-dd35499ccfe2017d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libconvert_case-35c30cdcabc87c2a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_segmentation-7d3ed2ca008d237f.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libsyn-ac3b92559e3bce53.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libquote-f7d359d29bfc9b4a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcodespan_reporting-16803727eb35ee92.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_width-16a1984432142341.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libtermcolor-3d23a97142594491.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libproc_macro2-950e5ceb51725b27.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_ident-2260bb06186abcf3.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libproc_macro-c7150b0669ad7a0f.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-4f192af08beaa759.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-401344856f0fc3c5.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-9e012890a70780c2.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-60338fe528589910.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-a2e883cf5bcf6347.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-df8440ef641907f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-fa2288bf7728f91c.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-f39c850853dd7dfe.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-c5b1930e10569ddd.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-96bad2fc8f58f610.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-06eec439eca0e252.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libadler-023007819562a373.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-7254491d238c3b3e.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-9f474e4309122405.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0bfd536a501ea558.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-d56621fef414e9f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-60d6843fd08e9533.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-62a9b4d83244cb2b.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-4010f8e9d1f7f9aa.rlib" "-framework" "QtCore" "-framework" "DiskArbitration" "-framework" "IOKit" "-lc++" "-liconv" "-lSystem" "-lc" "-lm" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7" "-Wl,-dead_strip" "-nodefaultlibs"
[build]   = note: ld: framework 'QtCore' not found
[build]           clang: error: linker command failed with exit code 1 (use -v to see invocation)
[build]           
[build] 
[build] error: linking with `/usr/bin/clang` failed: exit status: 1
[build]   |
@ahayzen-kdab
Copy link
Collaborator

Thanks for taking the time to report this issue, are you able to provide your CMake file ? As note you need to ensure that the QMAKE location is set and correct, and overriding the rust flags might be confusing things. See the following line in the example where we get + set the QMAKE information for Rust

get_target_property(QMAKE Qt::qmake IMPORTED_LOCATION)

Otherwise it could be one of the issues on macOS where libraries aren't where we are expecting.

@ahayzen-kdab ahayzen-kdab added 🪲 bug Something isn't working 🔨 build system Issues related to integrating CXX-Qt into CMake/Cargo labels Mar 11, 2024
@dezbracaty
Copy link
Author

Thanks for taking the time to report this issue, are you able to provide your CMake file ? As note you need to ensure that the QMAKE location is set and correct, and overriding the rust flags might be confusing things. See the following line in the example where we get + set the QMAKE information for Rust

get_target_property(QMAKE Qt::qmake IMPORTED_LOCATION)

Otherwise it could be one of the issues on macOS where libraries aren't where we are expecting.

Thanks for replying !

All cmake file all original. The only change is I add a .vscode/settings.json under project root folder.
And its content is blow :
`{
/*********

  • Color *
    /
    // 语义高亮
    "editor.semanticHighlighting.enabled": true,
    // 语义高亮自定义
    "editor.semanticTokenColorCustomizations": {
    "enabled": true,
    "rules": {
    // 抽象符号
    "
    .abstract": {
    "fontStyle": "italic"
    },
    // 只读量等效为宏
    "readonly": "#4FC1FF",
    // 静态量(静态变量,静态函数)
    "
    .static": {
    "fontStyle": "bold"
    },
    // 宏
    "macro": {
    // "foreground": "#8F5DAF"
    "foreground": "#4FC1FF"
    },
    // 成员函数
    "method": {
    "fontStyle": "underline"
    },
    // 命名空间
    "namespace": {
    "foreground": "#00D780"
    },
    // 函数参数
    "parameter": {
    "foreground": "#C8ECFF"
    },
    // 只读的函数参数
    "parameter.readonly": {
    "foreground": "#7BD1FF"
    },
    // 成员变量,似乎需要clangd12以上
    "property": {
    "fontStyle": "underline",
    "foreground": "#C8ECFF"
    },
    // 类型参数
    "typeParameter": "#31A567",
    // 未启用的宏
    "comment": "#767BA6"
    }
    },
    // 括号颜色
    "workbench.colorCustomizations": {
    "[Default Dark+]": {
    "editorBracketHighlight.foreground3": "#9CDCFE",
    "editorBracketHighlight.foreground4": "#F3FD00",
    "editorBracketHighlight.foreground5": "#F47D9F",
    "editorBracketHighlight.foreground6": "#A5ADFE"
    }
    },
    // [[General]]
    "breadcrumbs.filePath": "on", // 控制是否及如何在"导航路径"视图中显示文件路径
    // window
    "window.commandCenter": true,
    "window.restoreWindows": "all",
    "window.titleBarStyle": "native",
    "window.menuBarVisibility": "hidden",
    // editor
    "editor.codeLensFontFamily": "Fira Code Retina",
    "editor.fontFamily": "Fira Code Retina",
    "editor.minimap.renderCharacters": false,
    "explorer.compactFolders": false, // 资源管理器不采用紧凑模式
    "editor.fontLigatures": true, // 启用连字体
    "editor.fontSize": 16, // 字号
    "editor.lineHeight": 0, // 行高: 使用 0 根据字号自动计算行高
    "editor.bracketPairColorization.enabled": true, // 控制是否对括号着色
    "editor.bracketPairColorization.independentColorPoolPerBracketType": false, // 各类括号着色等级不独立
    "editor.guides.bracketPairs": true, // 启用括号指导线
    "editor.guides.bracketPairsHorizontal": "active", // 启用水平括号指导线
    "editor.guides.highlightActiveIndentation": false, // 禁用高亮选中的缩进指导线
    "editor.guides.indentation": false, // 禁用缩进指导线
    // workbench
    "workbench.startupEditor": "none", // 在没有从上一个会话恢复出信息的情况下, 在启动时不打开编辑器
    "workbench.colorTheme": "GitHub Dark Dimmed",
    "workbench.view.alwaysShowHeaderActions": true, // 显示视图头部的操作项
    "workbench.settings.editor": "json", // 默认打开 settings.json 进行设置
    "workbench.editor.historyBasedLanguageDetection": true, // 允许语言检测使用编辑器历史记录
    // editor
    "editor.acceptSuggestionOnEnter": "on", // 编辑器中可以用 enter 接受建议
    "editor.stickyScroll.enabled": true, // 启用粘滞滚动, 即显示上一级对应的代码
    "editor.wordBasedSuggestionsMode": "allDocuments", // 建议所有打开文档中的字词
    "editor.unicodeHighlight.ambiguousCharacters": false, // 不突出显示可能与基本 ASCII 字符混淆的字符
    "editor.inlayHints.enabled": "on", // 在编辑器中显示内联提示
    "editor.minimap.enabled": false, // 控制是否显示缩略图cod
    "editor.formatOnType": true, // 自动格式化
    "editor.renderWhitespace": "none", // 控制编辑器在空白字符上显示符号的方式
    "editor.snippetSuggestions": "top", // 代码片段建议置于其他建议之上
    "editor.stickyTabStops": true, // 使用空格缩进时模拟制表符的行为, 可以方便对齐
    "editor.tabSize": 4, // 一个制表符 = 4个空格
    "editor.suggest.insertMode": "replace", // 建议的接受方式
    "editor.suggest.localityBonus": true, // 控制排序时是否提高靠近光标的词语的优先级
    "editor.suggest.matchOnWordStartOnly": false, // 禁用建议必须匹配开头
    "editor.suggest.shareSuggestSelections": true,
    "editor.suggest.showStatusBar": true, // 控制建议小部件底部的状态栏可见
    "editor.suggestOnTriggerCharacters": true, // 控制在键入触发字符后是否自动显示建议
    "editor.suggestSelection": "first", // 始终预先选择第一个建议
    "editor.wordBasedSuggestions": "matchingDocuments", // 控制是否根据文档中的文字提供建议列表
    "editor.autoClosingOvertype": "always", // 控制编辑器应当自动改写左引号或右引号
    "editor.detectIndentation": false, // 禁用自动检测文件缩进模式和缩进大小, 即打开文件后自动将文件更改为 VSCode 配置的缩进格式
    "editor.formatOnSave": true, // 保存自动格式化代码
    "editor.formatOnPaste": true, // 粘贴自动格式化
    "editor.quickSuggestionsDelay": 0, // 控制显示快速建议前的等待时间(毫秒)
    "editor.inlineSuggest.enabled": true, // 在编辑器中自动显示内联建议
    "editor.parameterHints.enabled": true, // 是否在输入时显示含有参数文档和类型信息的小面板
    // 控制是否在键入代码时自动显示建议
    "editor.quickSuggestions": {
    "comments": false, // 键入注释时不允许
    "other": true, // 键入其他时允许
    "strings": false // 键入字符串时不允许
    },
    // explorer
    "explorer.confirmDragAndDrop": false, // 移动文件时无需确认
    "explorer.confirmDelete": false, // 删除文件确认
    "explorer.incrementalNaming": "smart", // 粘贴同名文件时的重命名方式;smart: 在重复名称末尾智能地添加/递增数字
    // files
    "files.autoSave": "afterDelay", // 自动保存
    "files.hotExit": "onExitAndWindowClose", // 在会话间记住未保存的文件,允许在退出编辑器时跳过保存提示 onExitAndWindowClose: 退出或窗口关闭时
    // notebook
    "notebook.lineNumbers": "on", // 控制单元格编辑器中行号的显示
    // 应该在何处显示单元格工具栏, 或是否隐藏它
    "notebook.cellToolbarLocation": {
    "default": "right", // 默认: 右边
    "jupyter-notebook": "left" // jupyter-notebook: 左边
    },
    // search
    "search.showLineNumbers": true, // 显示搜索结果所在行号
    "search.smartCase": true, // 当搜索词为小写时, 则不区分大小写进行搜索, 否则区分大小写
    // 配置在搜索中排除的文件和文件夹的glob模式
    "search.exclude": {
    // "someFolder/": true,
    // "somefile": true
    },
    // output
    "output.smartScroll.enabled": true, // 输出窗口智能滚动: 点击时锁定, 点击最后一行时解锁
    // problems
    "problems.showCurrentInStatus": true, // 在状态栏显示当前问题
    "cmake.configureOnOpen": true,
    "cmake.debugConfig": {
    "visualizerFile": "${workspaceFolder}/.vscode/qt6.natvis"
    // "showDisplayString": true
    },
    // "clang-format.executable": "/opt/homebrew/Cellar/clang-format/17.0.6/bin/clang-format",
    "clangd.arguments": [
    "--all-scopes-completion", // 全局补全(补全建议会给出在当前作用域不可见的索引,插入后自动补充作用域标识符),例如在main()中直接写cout,即使没有#include <iostream>,也会给出std::cout的建议,配合"--header-insertion=iwyu",还可自动插入缺失的头文件
    "--background-index", // 后台分析并保存索引文件
    "--clang-tidy", // 启用 Clang-Tidy 以提供「静态检查」
    "--clang-tidy-checks=performance-
    , bugprone-
    , misc-
    , google-
    , modernize-
    , readability-
    , portability-
    ",
    "--compile-commands-dir=${workspaceFolder}/build/", // 编译数据库(compile_commands.json 文件)的目录位置
    "--completion-parse=auto", // 当 clangd 准备就绪时, 用它来分析建议
    "--completion-style=detailed", // 建议风格: 打包(重载函数只会给出一个建议);还可以设置为 detailed
    // "--query-driver=/usr/bin/clang++", // MAC 上需要设定 clang 编译器的路径, 也可以是 /usr/local/opt/llvm/bin/clang++
    // 启用配置文件(YAML格式)项目配置文件是在项目文件夹里的".clangd",用户配置文件是"clangd/config.yaml",该文件来自:Windows: %USERPROFILE%\AppData\Local || MacOS: ~/Library/Preferences/ || Others: $XDG_CONFIG_HOME, usually /.config
    "--enable-config",
    "--fallback-style=Webkit", // 默认格式化风格: 在没找到 .clang-format 文件时采用,可用的有 LLVM, Google, Chromium, Mozilla, Webkit, Microsoft, GNU
    "--function-arg-placeholders=true", // 补全函数时, 将会给参数提供占位符, 键入后按 Tab 可以切换到下一占位符, 乃至函数末
    "--header-insertion-decorators", // 输入建议中, 已包含头文件的项与还未包含头文件的项会以圆点加以区分
    "--header-insertion=iwyu", // 插入建议时自动引入头文件 iwyu
    "--include-cleaner-stdlib", // 为标准库头文件启用清理功能(不成熟!!!)
    "--log=verbose", // 让 Clangd 生成更详细的日志
    "--pch-storage=memory", // pch 优化的位置(Memory 或 Disk,前者会增加内存开销, 但会提升性能)
    "--pretty", // 输出的 JSON 文件更美观
    "--ranking-model=decision_forest", // 建议的排序方案: hueristics (启发式), decision_forest (决策树)
    "-j=12" // 同时开启的任务数量
    ],
    // debug
    "debug.console.acceptSuggestionOnEnter": "on", // 调试控制台中可以用 enter 接受建议
    "debug.internalConsoleOptions": "neverOpen", // 从不自动打开内部调试控制台
    "problems.sortOrder": "position", // 控制问题导航的显示顺序
    "json.schemaDownload.enable": true,
    "security.workspace.trust.untrustedFiles": "open",
    "extensions.ignoreRecommendations": true,
    "http.proxySupport": "on",
    // [[XMake]]
    "xmake.debugConfigType": "codelldb", // 使用 codelldb 插件而非 cpptools 进行调试
    "xmake.runMode": "buildRun", // 运行前自动 build
    "xmake.buildLevel": "verbose", // 设置编译时输出信息级别,默认是warnings级别,仅输出编译警告信息以及正常信息,verbose级别输出完整的编译命令行参数,debug级别对应 xmake -vD 的诊断信息, 会打印出错的栈信息
    "xmake.customDebugConfig": {
    "console": "integratedTerminal" // XMake调试时使用集成终端而非 debug console,也可以使用 externalTerminal
    },
    // 找不到编译数据库(compile_flags.json 文件)时使用的编译器选项,这样的缺陷是不能直接索引同一项目的不同文件,只能分析系统头文件, 当前文件和被include的文件
    "clangd.fallbackFlags": [
    "-pedantic",
    "-Wall",
    "-Wextra",
    "-Wcast-align",
    "-Wdouble-promotion",
    "-Wformat=2",
    "-Wimplicit-fallthrough",
    "-Wmisleading-indentation",
    "-Wnon-virtual-dtor",
    "-Wnull-dereference",
    "-Wold-style-cast",
    "-Woverloaded-virtual",
    "-Wpedantic",
    "-Wshadow",
    "-Wunused",
    "-pthread",
    "-fuse-ld=lld",
    "-fsanitize=address",
    "-fsanitize=undefined",
    "-stdlib=libc++",
    "-std=c++20"
    ],
    "clangd.checkUpdates": true, // 自动检测 clangd 更新
    "clangd.onConfigChanged": "restart", // 重启 clangd 时重载配置,具体方法: F1 + Fn 打开命令面板, 然后搜索"clangd: restart"
    "clangd.serverCompletionRanking": true, // 借助网上的信息排序建议
    "clangd.detectExtensionConflicts": true, // 当其它拓展与 clangd 冲突时警告并建议禁用
    "editor.suggest.snippetsPreventQuickSuggestions": false, // clangd的snippets有很多的跳转点, 不用这个就必须手动触发Intellisense了
    // [[LLDB]]
    "lldb.commandCompletions": true, // LLDB 指令自动补全
    "lldb.dereferencePointers": true, // LLDB 指针显示解引用内容
    "lldb.evaluateForHovers": true, // LLDB 鼠标悬停在变量上时预览变量值
    "lldb.launch.expressions": "native", // LLDB 监视表达式的默认类型
    "lldb.showDisassembly": "never", // LLDB 不显示汇编代码
    "lldb.verboseLogging": true,
    // [[Python]]
    "[python]": {
    // "editor.defaultFormatter": "ms-python.black-formatter"
    },
    "python.venvPath": "
    /Code/python/pyvenvs", // Python 虚拟环境所在路径
    "python.analysis.typeCheckingMode": "basic",
    // [[Haskell]]
    "haskell.ghcupExecutablePath": "C:/ghcup/bin/ghcup.exe",
    "haskell.manageHLS": "GHCup",
    "cmake.environment": {
    // "Qt6_DIR": "", ///opt/homebrew/opt/qt@5/lib/cmake/Qt5",
    // "Qt5_DIR": "/opt/homebrew/Cellar/qt@5/5.15.12_1/lib/cmake/Qt5",
    "USE_QT5": "true",
    // "RUSTFLAGS": "-C link-arg=-F/opt/homebrew/Cellar/qt@5/5.15.12_1/lib"
    },
    "cmake.buildDirectory": "${workspaceFolder}/build/",
    "C_Cpp.errorSquiggles": "disabled",
    "files.associations": {
    "typeinfo": "cpp",
    "map": "cpp"
    }
    }`

The mainly code block is this :

"cmake.environment": { // "Qt6_DIR": "", ///opt/homebrew/opt/qt@5/lib/cmake/Qt5", "Qt5_DIR": "/opt/homebrew/Cellar/qt@5/5.15.12_1/lib/cmake/Qt5", "USE_QT5": "true", // "RUSTFLAGS": "-C link-arg=-F/opt/homebrew/Cellar/qt@5/5.15.12_1/lib" },
And my Qt install path is /opt/homebrew/Cellar/qt@5/5.15.12_1/

@dezbracaty
Copy link
Author

This is due to final running command
[build] = note: env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET LC_ALL="C" PATH="/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/allen/.cargo/bin:/Users/allen/Library/Application Support/JetBrains/Toolbox/scripts:/Users/allen/Library/Python/3.9/bin" VSLANG="1033" ZERO_AR_DATE="1" "/usr/bin/clang" "-arch" "arm64" "/var/folders/hw/lc023pr55psdqktjg68xvnkw0000gn/T/rustcQyhfbH/symbols.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.13zgxeyonitv5pjy.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1arpdvtfyzve63ef.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1r475o9sbpjftzg1.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1w0s22hof9ir2s4z.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.261ovlwx4ee6h6m2.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.2p9m6110dtvrjoun.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.313wt6b5q1xz227a.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.31pd6kjr0vgpfl9d.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3d5ub9xce5752zf5.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3fjarf73ezat8jbk.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3mf5c1cw2dpheu4q.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3pk41trn0ww9ya23.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3rh1ri2ln070vvv1.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3w48fu9oealo49i6.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4d52hbihr47t35vt.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4kcylkkd14fozx3v.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4mujozmfumxkytdm.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4uozjn8dz1v8ogts.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.57ojwdx6l62a6xvn.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.ext44e57w64udc8.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.l44890m0s9301sx.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1mq1n1ibm4z7j22y.rcgu.o" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps" "-L" "/opt/homebrew/Cellar/qt@5/5.15.12_1/lib" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversion_check-9f51aa7577df62b5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt-d2c539d1a4753f86.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libstatic_assertions-21ebe0eb3cea606d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx-0dae514a5f69b4e8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblink_cplusplus-29d675dabc421268.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversions-8466793749c2eea6.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libnom-718756c2487eced8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libmemchr-e6b5ebc697c65687.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libitertools-e621136652a36976.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libeither-f70f4bfdd6077160.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcc-4f7e5addbf99ef3e.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libjobserver-dd4b614b2cf16aea.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblibc-dd2450870a8e46be.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_gen-5eee1925fa27fac5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_gen-8d441a361f4b6960.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libclang_format-089b44882994e1ab.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libthiserror-dd35499ccfe2017d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libconvert_case-35c30cdcabc87c2a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_segmentation-7d3ed2ca008d237f.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libsyn-ac3b92559e3bce53.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libquote-f7d359d29bfc9b4a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcodespan_reporting-16803727eb35ee92.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_width-16a1984432142341.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libtermcolor-3d23a97142594491.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libproc_macro2-950e5ceb51725b27.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_ident-2260bb06186abcf3.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libproc_macro-c7150b0669ad7a0f.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-4f192af08beaa759.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-401344856f0fc3c5.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-9e012890a70780c2.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-60338fe528589910.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-a2e883cf5bcf6347.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-df8440ef641907f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-fa2288bf7728f91c.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-f39c850853dd7dfe.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-c5b1930e10569ddd.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-96bad2fc8f58f610.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-06eec439eca0e252.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libadler-023007819562a373.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-7254491d238c3b3e.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-9f474e4309122405.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0bfd536a501ea558.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-d56621fef414e9f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-60d6843fd08e9533.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-62a9b4d83244cb2b.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-4010f8e9d1f7f9aa.rlib" "-framework" "QtCore" "-framework" "DiskArbitration" "-framework" "IOKit" "-lc++" "-liconv" "-lSystem" "-lc" "-lm" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca" "-Wl,-dead_strip" "-nodefaultlibs"
We need use -iframework "/opt/homebrew/Cellar/qt@5/5.15.12_1/lib" or "-F/opt/homebrew/Cellar/qt@5/5.15.12_1/lib"
to specify framework path on mac os .
But It not generate correct command.

@LeonMatthesKDAB
Copy link
Collaborator

Hi @dezbracaty ,

could you try modifying the corrosion_import_path of the crate you're building to enable verbose output for build.rs.

You can do so by adding FLAGS "-vv":

corrosion_import_crate(MANIFEST_PATH rust/Cargo.toml CRATES ${CRATE} FLAGS "-vv")

Maybe that can help uncover what is going on...

@dezbracaty
Copy link
Author

Hi @dezbracaty ,

could you try modifying the corrosion_import_path of the crate you're building to enable verbose output for build.rs.

You can do so by adding FLAGS "-vv":

corrosion_import_crate(MANIFEST_PATH rust/Cargo.toml CRATES ${CRATE} FLAGS "-vv")

Maybe that can help uncover what is going on...

Of course.
Here is the log :

[main] Building folder: cxx-qt
[build] Starting build
[proc] Executing command: /opt/homebrew/bin/cmake --build /Users/allen/Projects/RustProjects/cxx-qt/build --config Debug --target _cargo-build_qml-features --
[build] [1/2 0% :: 0.001] cd /Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust && /Applications/CMake.app/Contents/bin/cmake -E env CXXQT_EXPORT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features/cxxqt QMAKE=/opt/homebrew/Cellar/qt@5/5.15.12_1/bin/qmake QT_INCLUDE_DIR=/opt/homebrew/Cellar/qt@5/5.15.12_1/include LD_LIBRARY_PATH=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER=/usr/bin/clang CC_aarch64_apple_darwin=/usr/bin/clang CXX_aarch64_apple_darwin=/usr/bin/clang++ AR_aarch64_apple_darwin=/usr/bin/ar SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk CORROSION_BUILD_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features CARGO_BUILD_RUSTC=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo rustc --lib --target=aarch64-apple-darwin --package qml-features --manifest-path /Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust/Cargo.toml --target-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build -vv -- -Cdefault-linker-libraries=yes
[build] Fresh unicode-ident v1.0.12
[build] Fresh cxxbridge-flags v1.0.119
[build] Fresh minimal-lexical v0.2.1
[build] Fresh either v1.10.0
[build] Fresh memchr v2.7.1
[build] Fresh termcolor v1.4.1
[build] Fresh unicode-width v0.1.11
[build] Fresh proc-macro2 v1.0.78
[build] Fresh nom v7.1.3
[build] Fresh itertools v0.11.0
[build] Fresh codespan-reporting v0.11.1
[build] Fresh once_cell v1.19.0
[build] Fresh unicode-segmentation v1.11.0
[build] Fresh indoc v2.0.4
[build] Fresh quote v1.0.35
[build] Fresh libc v0.2.153
[build] Fresh versions v5.0.1
[build] Fresh convert_case v0.6.0
[build] Fresh version_check v0.9.4
[build] Fresh static_assertions v1.1.0
[build] Fresh syn v2.0.52
[build] Fresh jobserver v0.1.28
[build] Fresh scratch v1.0.7
[build] Fresh itoa v1.0.10
[build] Fresh ryu v1.0.17
[build] Fresh cc v1.0.90
[build] Fresh thiserror-impl v1.0.57
[build] Fresh cxxbridge-macro v1.0.119
[build] Fresh cxx-gen v0.7.119
[build] Fresh serde_derive v1.0.197
[build] Fresh thiserror v1.0.57
[build] Fresh cxx-build v1.0.119
[build] Fresh serde v1.0.197
[build] Dirty qt-build-utils v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/qt-build-utils): the file crates/qt-build-utils/src/parse_cflags.rs has changed (1710341421.327963451s, 18s after last build at 1710341403.403233908s)
[build] Compiling qt-build-utils v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/qt-build-utils)
[build] Fresh clang-format v0.3.0
[build] Fresh serde_json v1.0.114
[build] Fresh cxx-qt-gen v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-gen)
[build] Fresh link-cplusplus v1.0.9
[build] Fresh cxx-qt-macro v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-macro)
[build] Fresh cxx v1.0.119
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=qt_build_utils CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/qt-build-utils CARGO_PKG_AUTHORS='Be Wilson <[email protected]>' CARGO_PKG_DESCRIPTION='Build script helper for linking Qt libraries and using moc code generator. Intended to be used together with cc, cpp_build, or cxx_build' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=qt-build-utils CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name qt_build_utils --edition=2021 crates/qt-build-utils/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=906dd61ff2dbfcbc -C extra-filename=-906dd61ff2dbfcbc --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cc=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcc-4f7e5addbf99ef3e.rmeta --extern thiserror=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libthiserror-dd35499ccfe2017d.rmeta --extern versions=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libversions-8466793749c2eea6.rmeta
[build] Dirty cxx-qt v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt): the dependency qt_build_utils was rebuilt
[build] Compiling cxx-qt v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt)
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Safe interop between Rust and Qt' CARGO_PKG_HOMEPAGE='https://kdab.github.io/cxx-qt/book/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name build_script_build --edition=2021 crates/cxx-qt/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=3383b93275d028f9 -C extra-filename=-3383b93275d028f9 --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-3383b93275d028f9 -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_build-d080bf3961733002.rlib --extern qt_build_utils=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ARCH=aarch64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV='' CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh CARGO_CFG_TARGET_HAS_ATOMIC=128,16,32,64,8,ptr CARGO_CFG_TARGET_OS=macos CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=apple CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='' CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Safe interop between Rust and Qt' CARGO_PKG_HOMEPAGE='https://kdab.github.io/cxx-qt/book/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DEBUG=true DEP_CXXBRIDGE1_HEADER=/Users/allen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cxx-1.0.119/include/cxx.h DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' HOST=aarch64-apple-darwin NUM_JOBS=10 OPT_LEVEL=0 OUT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out PROFILE=debug RUSTC=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc RUSTC_LINKER=/usr/bin/clang RUSTDOC=rustdoc TARGET=aarch64-apple-darwin /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-3383b93275d028f9/build-script-build
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ARCH=aarch64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV='' CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh CARGO_CFG_TARGET_HAS_ATOMIC=128,16,32,64,8,ptr CARGO_CFG_TARGET_OS=macos CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=apple CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='' CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Safe interop between Rust and Qt' CARGO_PKG_HOMEPAGE='https://kdab.github.io/cxx-qt/book/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DEBUG=true DEP_CXXBRIDGE1_HEADER=/Users/allen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cxx-1.0.119/include/cxx.h DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' HOST=aarch64-apple-darwin NUM_JOBS=10 OPT_LEVEL=0 OUT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out PROFILE=debug RUSTC=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc RUSTC_LINKER=/usr/bin/clang RUSTDOC=rustdoc TARGET=aarch64-apple-darwin /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-3383b93275d028f9/build-script-build
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=QMAKE
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=QT_VERSION_MAJOR
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=QMAKE
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=QT_VERSION_MAJOR
[build] [cxx-qt 0.6.0] cargo:rustc-link-arg=-fapple-link-rtlib
[build] [cxx-qt 0.6.0] cargo:rustc-link-arg=-fapple-link-rtlib
[build] [cxx-qt 0.6.0] cargo:rerun-if-changed=src/connection.rs
[build] [cxx-qt 0.6.0] cargo:rerun-if-changed=src/connection.rs
[build] [cxx-qt 0.6.0]
[build] [cxx-qt 0.6.0] CXX include path:
[build] [cxx-qt 0.6.0] /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out/cxxbridge/include
[build] [cxx-qt 0.6.0] /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out/cxxbridge/crate
[build] [cxx-qt 0.6.0]
[build] [cxx-qt 0.6.0] CXX include path:
[build] [cxx-qt 0.6.0] /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out/cxxbridge/include
[build] [cxx-qt 0.6.0] /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out/cxxbridge/crate
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_PREFIX=cxx-qt
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_DIR0=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out/cxxbridge/include
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_DIR1=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out/cxxbridge/crate
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_PREFIX=cxx-qt
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_DIR0=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out/cxxbridge/include
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_DIR1=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out/cxxbridge/crate
[build] [cxx-qt 0.6.0] cargo:rustc-link-search=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=QtCore
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=DiskArbitration
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=IOKit
[build] [cxx-qt 0.6.0] cargo:rerun-if-changed=src/connection.cpp
[build] [cxx-qt 0.6.0] cargo:rustc-link-search=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=QtCore
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=DiskArbitration
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=IOKit
[build] [cxx-qt 0.6.0] cargo:rerun-if-changed=src/connection.cpp
[build] [cxx-qt 0.6.0] TARGET = Some("aarch64-apple-darwin")
[build] [cxx-qt 0.6.0] OPT_LEVEL = Some("0")
[build] [cxx-qt 0.6.0] HOST = Some("aarch64-apple-darwin")
[build] [cxx-qt 0.6.0] TARGET = Some("aarch64-apple-darwin")
[build] [cxx-qt 0.6.0] OPT_LEVEL = Some("0")
[build] [cxx-qt 0.6.0] HOST = Some("aarch64-apple-darwin")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] DEBUG = Some("true")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] DEBUG = Some("true")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] exit status: 0
[build] [cxx-qt 0.6.0] exit status: 0
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=AR_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] AR_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=AR_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] AR_aarch64_apple_darwin = Some("/usr/bin/ar")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] ARFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] ARFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_ARFLAGS
[build] [cxx-qt 0.6.0] HOST_ARFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS
[build] [cxx-qt 0.6.0] ARFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=static=cxx-qt
[build] [cxx-qt 0.6.0] cargo:rustc-link-search=native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=cxx_qt CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Safe interop between Rust and Qt' CARGO_PKG_HOMEPAGE='https://kdab.github.io/cxx-qt/book/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' OUT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name cxx_qt --edition=2021 crates/cxx-qt/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=7f61662ce45233bd -C extra-filename=-7f61662ce45233bd --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/deps --target aarch64-apple-darwin -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/deps -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/deps/libcxx-0bd2ca9042a6d0c5.rmeta --extern cxx_qt_macro=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_macro-d477869c8a826534.dylib --extern static_assertions=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/deps/libstatic_assertions-cc648a739bef6817.rmeta -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out -l framework=QtCore -l framework=DiskArbitration -l framework=IOKit -l static=cxx-qt -C link-arg=-fapple-link-rtlib -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-e5339da9679b6739/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/link-cplusplus-a5d2b0cfa43fd9ad/out
[build] [cxx-qt 0.6.0] exit status: 0
[build] [cxx-qt 0.6.0] exit status: 0
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=AR_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] AR_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=AR_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] AR_aarch64_apple_darwin = Some("/usr/bin/ar")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] ARFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] ARFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_ARFLAGS
[build] [cxx-qt 0.6.0] HOST_ARFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS
[build] [cxx-qt 0.6.0] ARFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=static=cxx-qt
[build] [cxx-qt 0.6.0] cargo:rustc-link-search=native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=cxx_qt CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Safe interop between Rust and Qt' CARGO_PKG_HOMEPAGE='https://kdab.github.io/cxx-qt/book/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' OUT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name cxx_qt --edition=2021 crates/cxx-qt/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=d2c539d1a4753f86 -C extra-filename=-d2c539d1a4753f86 --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx-0dae514a5f69b4e8.rmeta --extern cxx_qt_macro=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_macro-d477869c8a826534.dylib --extern static_assertions=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libstatic_assertions-21ebe0eb3cea606d.rmeta -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -l framework=QtCore -l framework=DiskArbitration -l framework=IOKit -l static=cxx-qt -C link-arg=-fapple-link-rtlib -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out
[build] Dirty cxx-qt-build v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-build): the dependency cxx_qt was rebuilt
[build] Compiling cxx-qt-build v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-build)
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=cxx_qt_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-build CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Helpers for integrating cxx-qt crate into a Cargo build' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt-build CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name cxx_qt_build --edition=2021 crates/cxx-qt-build/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=6ab1336d900c684d -C extra-filename=-6ab1336d900c684d --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cc=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcc-4f7e5addbf99ef3e.rmeta --extern codespan_reporting=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcodespan_reporting-16803727eb35ee92.rmeta --extern cxx_gen=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_gen-5eee1925fa27fac5.rmeta --extern cxx_qt=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt-d2c539d1a4753f86.rmeta --extern cxx_qt_gen=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_gen-8d441a361f4b6960.rmeta --extern proc_macro2=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libproc_macro2-950e5ceb51725b27.rmeta --extern qt_build_utils=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rmeta --extern quote=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libquote-f7d359d29bfc9b4a.rmeta --extern version_check=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libversion_check-9f51aa7577df62b5.rmeta -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out
[build] Dirty cxx-qt-lib-headers v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib-headers): the dependency cxx_qt_build was rebuilt
[build] Compiling cxx-qt-lib-headers v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib-headers)
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=cxx_qt_lib_headers CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib-headers CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Be Wilson <[email protected]>' CARGO_PKG_DESCRIPTION='A small crate for cxx-qt-lib and cxx-qt-build to share cxx-qt-lib'\''s C++ headers' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt-lib-headers CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name cxx_qt_lib_headers --edition=2021 crates/cxx-qt-lib-headers/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --cfg 'feature="default"' --cfg 'feature="qt_gui"' --cfg 'feature="qt_qml"' -C metadata=d9912cca892c1c19 -C extra-filename=-d9912cca892c1c19 --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_qt_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rmeta -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out
[build] Compiling cxx-qt-lib v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib)
[build] Compiling qml-features v0.1.0 (/Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust)
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Qt types for integrating cxx-qtcrate withcxx' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt-lib CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name build_script_build --edition=2021 crates/cxx-qt-lib/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --cfg 'feature="default"' --cfg 'feature="qt_gui"' --cfg 'feature="qt_qml"' -C metadata=6020208f1a041cc7 -C extra-filename=-6020208f1a041cc7 --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7 -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_qt_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib --extern cxx_qt_lib_headers=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib --extern qt_build_utils=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=qml-features CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name build_script_build --edition=2021 examples/qml_features/rust/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=8a0617983cbb72ca -C extra-filename=-8a0617983cbb72ca --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_qt_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib --extern cxx_qt_lib_headers=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out
[build] error: linking with /usr/bin/clang failed: exit status: 1
[build] |
[build] = note: env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET LC_ALL="C" PATH="/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/allen/.cargo/bin:/Users/allen/Library/Application Support/JetBrains/Toolbox/scripts:/Users/allen/Library/Python/3.9/bin" VSLANG="1033" ZERO_AR_DATE="1" "/usr/bin/clang" "-arch" "arm64" "/var/folders/hw/lc023pr55psdqktjg68xvnkw0000gn/T/rustct2bANU/symbols.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.10fl17pzfgknotu.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.119okv1xmy7z81f6.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.137xat5v19szbkn0.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.15oph1vhrzhh5e5j.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.19opgb164thgeyxk.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.1vlp0hyqz47obvqu.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.1yhg74qrm5jbn57.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.26tes9igtz8fy7rn.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.2mfoke3mrp14psgs.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.2xsado67lvou67qs.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.2zb7b71tju74uh5j.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.37xis5uwom24c582.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.3qh0u66rpovuphck.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4186phjz8kddzw0h.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.42i2ewundsav9ojs.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.45d9edr6wy3brpeh.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4aqs871owq9ftsf1.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4zbmzfjwshprgoiz.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4zm0s84o8zrdyxpo.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.55605lsdx0j8mjk3.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.55mmkitcjyl348i7.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.5663x8hp4g2zm7jf.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.59c517g8ydpmusil.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.xhcy1h0fk613fhe.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4qr33kompxeqtcjw.rcgu.o" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps" "-L" "/opt/homebrew/Cellar/qt@5/5.15.12_1/lib" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversion_check-9f51aa7577df62b5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt-d2c539d1a4753f86.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libstatic_assertions-21ebe0eb3cea606d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx-0dae514a5f69b4e8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblink_cplusplus-29d675dabc421268.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversions-8466793749c2eea6.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libnom-718756c2487eced8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libmemchr-e6b5ebc697c65687.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libitertools-e621136652a36976.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libeither-f70f4bfdd6077160.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcc-4f7e5addbf99ef3e.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libjobserver-dd4b614b2cf16aea.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblibc-dd2450870a8e46be.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_gen-5eee1925fa27fac5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_gen-8d441a361f4b6960.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libclang_format-089b44882994e1ab.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libthiserror-dd35499ccfe2017d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libconvert_case-35c30cdcabc87c2a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_segmentation-7d3ed2ca008d237f.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libsyn-ac3b92559e3bce53.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libquote-f7d359d29bfc9b4a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcodespan_reporting-16803727eb35ee92.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_width-16a1984432142341.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libtermcolor-3d23a97142594491.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libproc_macro2-950e5ceb51725b27.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_ident-2260bb06186abcf3.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libproc_macro-c7150b0669ad7a0f.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-4f192af08beaa759.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-401344856f0fc3c5.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-9e012890a70780c2.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-60338fe528589910.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-a2e883cf5bcf6347.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-df8440ef641907f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-fa2288bf7728f91c.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-f39c850853dd7dfe.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-c5b1930e10569ddd.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-96bad2fc8f58f610.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-06eec439eca0e252.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libadler-023007819562a373.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-7254491d238c3b3e.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-9f474e4309122405.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0bfd536a501ea558.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-d56621fef414e9f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-60d6843fd08e9533.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-62a9b4d83244cb2b.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-4010f8e9d1f7f9aa.rlib" "-framework" "QtCore" "-framework" "DiskArbitration" "-framework" "IOKit" "-lc++" "-liconv" "-lSystem" "-lc" "-lm" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7" "-Wl,-dead_strip" "-nodefaultlibs"
[build] = note: ld: framework 'QtCore' not found
[build] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[build]
[build]
[build] error: linking with /usr/bin/clang failed: exit status: 1
[build] |
[build] = note: env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET LC_ALL="C" PATH="/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/allen/.cargo/bin:/Users/allen/Library/Application Support/JetBrains/Toolbox/scripts:/Users/allen/Library/Python/3.9/bin" VSLANG="1033" ZERO_AR_DATE="1" "/usr/bin/clang" "-arch" "arm64" "/var/folders/hw/lc023pr55psdqktjg68xvnkw0000gn/T/rustcz4gCtX/symbols.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.13zgxeyonitv5pjy.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1arpdvtfyzve63ef.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1r475o9sbpjftzg1.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1w0s22hof9ir2s4z.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.261ovlwx4ee6h6m2.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.2p9m6110dtvrjoun.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.313wt6b5q1xz227a.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.31pd6kjr0vgpfl9d.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3d5ub9xce5752zf5.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3fjarf73ezat8jbk.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3mf5c1cw2dpheu4q.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3pk41trn0ww9ya23.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3rh1ri2ln070vvv1.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3w48fu9oealo49i6.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4d52hbihr47t35vt.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4kcylkkd14fozx3v.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4mujozmfumxkytdm.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4uozjn8dz1v8ogts.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.57ojwdx6l62a6xvn.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.ext44e57w64udc8.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.l44890m0s9301sx.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1mq1n1ibm4z7j22y.rcgu.o" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps" "-L" "/opt/homebrew/Cellar/qt@5/5.15.12_1/lib" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversion_check-9f51aa7577df62b5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt-d2c539d1a4753f86.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libstatic_assertions-21ebe0eb3cea606d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx-0dae514a5f69b4e8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblink_cplusplus-29d675dabc421268.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversions-8466793749c2eea6.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libnom-718756c2487eced8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libmemchr-e6b5ebc697c65687.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libitertools-e621136652a36976.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libeither-f70f4bfdd6077160.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcc-4f7e5addbf99ef3e.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libjobserver-dd4b614b2cf16aea.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblibc-dd2450870a8e46be.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_gen-5eee1925fa27fac5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_gen-8d441a361f4b6960.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libclang_format-089b44882994e1ab.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libthiserror-dd35499ccfe2017d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libconvert_case-35c30cdcabc87c2a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_segmentation-7d3ed2ca008d237f.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libsyn-ac3b92559e3bce53.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libquote-f7d359d29bfc9b4a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcodespan_reporting-16803727eb35ee92.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_width-16a1984432142341.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libtermcolor-3d23a97142594491.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libproc_macro2-950e5ceb51725b27.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_ident-2260bb06186abcf3.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libproc_macro-c7150b0669ad7a0f.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-4f192af08beaa759.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-401344856f0fc3c5.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-9e012890a70780c2.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-60338fe528589910.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-a2e883cf5bcf6347.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-df8440ef641907f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-fa2288bf7728f91c.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-f39c850853dd7dfe.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-c5b1930e10569ddd.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-96bad2fc8f58f610.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-06eec439eca0e252.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libadler-023007819562a373.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-7254491d238c3b3e.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-9f474e4309122405.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0bfd536a501ea558.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-d56621fef414e9f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-60d6843fd08e9533.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-62a9b4d83244cb2b.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-4010f8e9d1f7f9aa.rlib" "-framework" "QtCore" "-framework" "DiskArbitration" "-framework" "IOKit" "-lc++" "-liconv" "-lSystem" "-lc" "-lm" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca" "-Wl,-dead_strip" "-nodefaultlibs"
[build] = note: ld: framework 'QtCore' not found
[build] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[build]
[build]
[build] error: could not compile qml-features (build script) due to 1 previous error
[build]
[build] Caused by:
[build] process didn't exit successfully: CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=qml-features CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name build_script_build --edition=2021 examples/qml_features/rust/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=8a0617983cbb72ca -C extra-filename=-8a0617983cbb72ca --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_qt_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib --extern cxx_qt_lib_headers=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out (exit status: 1)
[build] warning: build failed, waiting for other jobs to finish...
[build] error: could not compile cxx-qt-lib (build script) due to 1 previous error
[build]
[build] Caused by:
[build] process didn't exit successfully: CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Qt types for integrating cxx-qtcrate withcxx' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt-lib CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name build_script_build --edition=2021 crates/cxx-qt-lib/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --cfg 'feature="default"' --cfg 'feature="qt_gui"' --cfg 'feature="qt_qml"' -C metadata=6020208f1a041cc7 -C extra-filename=-6020208f1a041cc7 --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7 -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_qt_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib --extern cxx_qt_lib_headers=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib --extern qt_build_utils=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out (exit status: 1)
[build] FAILED: examples/qml_features/CMakeFiles/_cargo-build_qml-features /Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features/CMakeFiles/_cargo-build_qml-features
[build] cd /Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust && /Applications/CMake.app/Contents/bin/cmake -E env CXXQT_EXPORT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features/cxxqt QMAKE=/opt/homebrew/Cellar/qt@5/5.15.12_1/bin/qmake QT_INCLUDE_DIR=/opt/homebrew/Cellar/qt@5/5.15.12_1/include LD_LIBRARY_PATH=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER=/usr/bin/clang CC_aarch64_apple_darwin=/usr/bin/clang CXX_aarch64_apple_darwin=/usr/bin/clang++ AR_aarch64_apple_darwin=/usr/bin/ar SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk CORROSION_BUILD_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features CARGO_BUILD_RUSTC=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo rustc --lib --target=aarch64-apple-darwin --package qml-features --manifest-path /Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust/Cargo.toml --target-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build -vv -- -Cdefault-linker-libraries=yes
[build] ninja: build stopped: subcommand failed.
[proc] The command: /opt/homebrew/bin/cmake --build /Users/allen/Projects/RustProjects/cxx-qt/build --config Debug --target _cargo-build_qml-features -- exited with code: 1
[driver] Build completed: 00:00:02.801
[build] Build finished with exit code 1

@LeonMatthesKDAB
Copy link
Collaborator

Hm, I just noticed that this error already occurs when trying to link the build script itself.

I was expecting it to be an issue caused by qt-build-utils or cxx-qt-build, but that doesn't seem to be the case, as those shouldn't be able to modify how the build script itself is built 🤔

So this may indeed be a corrosion issue 🤔
What do you think @ahayzen-kdab ?

@LeonMatthesKDAB
Copy link
Collaborator

By the way, @dezbracaty, if you don't necessarily need CMake, you could also try building the cargo_without_cmake example.

That doesn't need CMake, so might work for you for now.
Just remember to set the QMAKE environment variable to the right value when running cargo build.

@dezbracaty
Copy link
Author

By the way, @dezbracaty, if you don't necessarily need CMake, you could also try building the cargo_without_cmake example.

That doesn't need CMake, so might work for you for now. Just remember to set the QMAKE environment variable to the right value when running cargo build.

Thanks for your suggestion. In fact , I need use cmake because I want to use rust in a cmake-build qml project. I think this is a very awesome project and I think there are just a small step to success!

@dezbracaty
Copy link
Author

Hm, I just noticed that this error already occurs when trying to link the build script itself.

I was expecting it to be an issue caused by qt-build-utils or cxx-qt-build, but that doesn't seem to be the case, as those shouldn't be able to modify how the build script itself is built 🤔

So this may indeed be a corrosion issue 🤔 What do you think @ahayzen-kdab ?

I don't really find where the "clang xxx" command generated , I think the work flow is corrosion use cmake's add_custom_command call cargo ,and cargo call clang .

@dezbracaty
Copy link
Author

I fixed this bug finally.
By adding

    println!("cargo:rustc-link-search=framework=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib");

in /cxx-qt/crates/cxx-qt/build.rs
and cargo:rustc-link-search=framework tells cargo use -F to find framework.

But, the question is , this method I hard coding this line into build.rs , that not a good method to fix the issue .
So , there are any method I can do the same thing in CMakeLists.txt ? or use some enviroment variable?

@ahayzen-kdab
Copy link
Collaborator

Thanks for finding the correct link search !

This is likely something missing in qt-build-utils still i think, in parse_libs_cflags there is one place that loads with a framework option I wonder if this is not being hit or it's using the wrong prl file.

pub(crate) fn parse_libs_cflags(name: &str, link_args: &[u8], _builder: &mut cc::Build) {

"-F" => {
println!("cargo:rustc-link-search=framework={val}");
}

Are you able to see what the link_args value is there ?

And note that it is called by cargo_link_qt_library so I wonder which prl path it is reading and what the contents of the prl file are?

parse_cflags::parse_libs_cflags(
name,
line.replace(r"$$[QT_INSTALL_LIBS]", lib_path)
.replace(r"$$[QT_INSTALL_PREFIX]", prefix_path)
.as_bytes(),
builder,
);

Note that this method is called by cargo_link_libraries which has some lines to try and find the framework prl, again would be interesting if this is finding the right prl file ?

let (link_lib, prl_path) = if framework {
(
format!("framework=Qt{qt_module}"),
format!("{lib_path}/Qt{qt_module}.framework/Resources/Qt{qt_module}.prl"),
)

@dezbracaty
Copy link
Author

Thanks for finding the correct link search !

This is likely something missing in qt-build-utils still i think, in parse_libs_cflags there is one place that loads with a framework option I wonder if this is not being hit or it's using the wrong prl file.

pub(crate) fn parse_libs_cflags(name: &str, link_args: &[u8], _builder: &mut cc::Build) {

"-F" => {
println!("cargo:rustc-link-search=framework={val}");
}

Are you able to see what the link_args value is there ?

And note that it is called by cargo_link_qt_library so I wonder which prl path it is reading and what the contents of the prl file are?

parse_cflags::parse_libs_cflags(
name,
line.replace(r"$$[QT_INSTALL_LIBS]", lib_path)
.replace(r"$$[QT_INSTALL_PREFIX]", prefix_path)
.as_bytes(),
builder,
);

Note that this method is called by cargo_link_libraries which has some lines to try and find the framework prl, again would be interesting if this is finding the right prl file ?

let (link_lib, prl_path) = if framework {
(
format!("framework=Qt{qt_module}"),
format!("{lib_path}/Qt{qt_module}.framework/Resources/Qt{qt_module}.prl"),
)

Thanks for replying .
I add to debug message at two places:
image
image

And the whole output is :

[main] Building folder: cxx-qt
[build] Starting build
[proc] Executing command: /opt/homebrew/bin/cmake --build /Users/allen/Projects/RustProjects/cxx-qt/build --config Debug --target example_qml_features --
[build] [1/5 0% :: 0.002] cd /Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust && /Applications/CMake.app/Contents/bin/cmake -E env CXXQT_EXPORT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features/cxxqt QMAKE=/opt/homebrew/Cellar/qt@5/5.15.12_1/bin/qmake CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER=/usr/bin/clang CC_aarch64-apple-darwin=/usr/bin/clang CXX_aarch64-apple-darwin=/usr/bin/clang++ SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk CORROSION_BUILD_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features CARGO_BUILD_RUSTC=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo rustc --lib --target=aarch64-apple-darwin --package qml-features --manifest-path /Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust/Cargo.toml --target-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build -vv -- -Cdefault-linker-libraries=yes
[build] Fresh unicode-ident v1.0.12
[build] Fresh cxxbridge-flags v1.0.119
[build] Fresh minimal-lexical v0.2.1
[build] Fresh unicode-width v0.1.11
[build] Fresh memchr v2.7.1
[build] Fresh either v1.10.0
[build] Fresh proc-macro2 v1.0.78
[build] Fresh termcolor v1.4.1
[build] Fresh itertools v0.11.0
[build] Fresh nom v7.1.3
[build] Fresh once_cell v1.19.0
[build] Fresh unicode-segmentation v1.11.0
[build] Fresh indoc v2.0.4
[build] Fresh quote v1.0.35
[build] Fresh libc v0.2.153
[build] Fresh codespan-reporting v0.11.1
[build] Fresh scratch v1.0.7
[build] Fresh versions v5.0.1
[build] Fresh convert_case v0.6.0
[build] Fresh version_check v0.9.4
[build] Fresh static_assertions v1.1.0
[build] Fresh syn v2.0.52
[build] Fresh jobserver v0.1.28
[build] Fresh ryu v1.0.17
[build] Fresh itoa v1.0.10
[build] Fresh cc v1.0.90
[build] Fresh thiserror-impl v1.0.57
[build] Fresh cxxbridge-macro v1.0.119
[build] Fresh cxx-gen v0.7.119
[build] Fresh serde_derive v1.0.197
[build] Fresh thiserror v1.0.57
[build] Fresh cxx-build v1.0.119
[build] Fresh serde v1.0.197
[build] Dirty qt-build-utils v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/qt-build-utils): the file crates/qt-build-utils/src/lib.rs has changed (1710471654.903991399s, 51s after last build at 1710471603.628201231s)
[build] Compiling qt-build-utils v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/qt-build-utils)
[build] Fresh clang-format v0.3.0
[build] Fresh serde_json v1.0.114
[build] Fresh cxx-qt-gen v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-gen)
[build] Fresh link-cplusplus v1.0.9
[build] Fresh cxx-qt-macro v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-macro)
[build] Fresh cxx v1.0.119
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=qt_build_utils CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/qt-build-utils CARGO_PKG_AUTHORS='Be Wilson <[email protected]>' CARGO_PKG_DESCRIPTION='Build script helper for linking Qt libraries and using moc code generator. Intended to be used together with cc, cpp_build, or cxx_build' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=qt-build-utils CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name qt_build_utils --edition=2021 crates/qt-build-utils/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=906dd61ff2dbfcbc -C extra-filename=-906dd61ff2dbfcbc --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cc=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcc-4f7e5addbf99ef3e.rmeta --extern thiserror=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libthiserror-dd35499ccfe2017d.rmeta --extern versions=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libversions-8466793749c2eea6.rmeta
[build] Dirty cxx-qt v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt): the dependency qt_build_utils was rebuilt
[build] Compiling cxx-qt v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt)
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Safe interop between Rust and Qt' CARGO_PKG_HOMEPAGE='https://kdab.github.io/cxx-qt/book/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name build_script_build --edition=2021 crates/cxx-qt/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=3383b93275d028f9 -C extra-filename=-3383b93275d028f9 --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-3383b93275d028f9 -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_build-d080bf3961733002.rlib --extern qt_build_utils=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ARCH=aarch64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV='' CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh CARGO_CFG_TARGET_HAS_ATOMIC=128,16,32,64,8,ptr CARGO_CFG_TARGET_OS=macos CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=apple CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='' CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Safe interop between Rust and Qt' CARGO_PKG_HOMEPAGE='https://kdab.github.io/cxx-qt/book/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DEBUG=true DEP_CXXBRIDGE1_HEADER=/Users/allen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cxx-1.0.119/include/cxx.h DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' HOST=aarch64-apple-darwin NUM_JOBS=10 OPT_LEVEL=0 OUT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out PROFILE=debug RUSTC=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc RUSTC_LINKER=/usr/bin/clang RUSTDOC=rustdoc TARGET=aarch64-apple-darwin /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-3383b93275d028f9/build-script-build
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ARCH=aarch64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV='' CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh CARGO_CFG_TARGET_HAS_ATOMIC=128,16,32,64,8,ptr CARGO_CFG_TARGET_OS=macos CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=apple CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='' CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Safe interop between Rust and Qt' CARGO_PKG_HOMEPAGE='https://kdab.github.io/cxx-qt/book/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DEBUG=true DEP_CXXBRIDGE1_HEADER=/Users/allen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cxx-1.0.119/include/cxx.h DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' HOST=aarch64-apple-darwin NUM_JOBS=10 OPT_LEVEL=0 OUT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out PROFILE=debug RUSTC=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc RUSTC_LINKER=/usr/bin/clang RUSTDOC=rustdoc TARGET=aarch64-apple-darwin /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-3383b93275d028f9/build-script-build
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=QMAKE
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=QT_VERSION_MAJOR
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=QMAKE
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=QT_VERSION_MAJOR
[build] [cxx-qt 0.6.0] cargo:rustc-link-arg=-fapple-link-rtlib
[build] [cxx-qt 0.6.0] cargo:rustc-link-arg=-fapple-link-rtlib
[build] [cxx-qt 0.6.0] cargo:rerun-if-changed=src/connection.rs
[build] [cxx-qt 0.6.0] cargo:rerun-if-changed=src/connection.rs
[build] [cxx-qt 0.6.0]
[build] [cxx-qt 0.6.0] CXX include path:
[build] [cxx-qt 0.6.0] /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out/cxxbridge/include
[build] [cxx-qt 0.6.0] /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out/cxxbridge/crate
[build] [cxx-qt 0.6.0]
[build] [cxx-qt 0.6.0] CXX include path:
[build] [cxx-qt 0.6.0] /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out/cxxbridge/include
[build] [cxx-qt 0.6.0] /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out/cxxbridge/crate
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_PREFIX=cxx-qt
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_DIR0=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out/cxxbridge/include
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_DIR1=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out/cxxbridge/crate
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_PREFIX=cxx-qt
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_DIR0=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out/cxxbridge/include
[build] [cxx-qt 0.6.0] cargo:CXXBRIDGE_DIR1=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out/cxxbridge/crate
[build] [cxx-qt 0.6.0] cargo:rustc-link-search=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=QtCore
[build] [cxx-qt 0.6.0] cargo:rustc-link-search=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=QtCore
[build] [cxx-qt 0.6.0] DebugMsg :in cargo_link_qt_library function /opt/homebrew/Cellar/qt@5/5.15.12_1 /opt/homebrew/Cellar/qt@5/5.15.12_1/lib framework=QtCore /opt/homebrew/Cellar/qt@5/5.15.12_1/lib/QtCore.framework/Resources/QtCore.prl
[build] [cxx-qt 0.6.0] DebugMsg :in parse_libs_cflags func-framework
[build] [cxx-qt 0.6.0] DebugMsg :in cargo_link_qt_library function /opt/homebrew/Cellar/qt@5/5.15.12_1 /opt/homebrew/Cellar/qt@5/5.15.12_1/lib framework=QtCore /opt/homebrew/Cellar/qt@5/5.15.12_1/lib/QtCore.framework/Resources/QtCore.prl
[build] [cxx-qt 0.6.0] DebugMsg :in parse_libs_cflags funcDiskArbitration
[build] [cxx-qt 0.6.0] DebugMsg :in parse_libs_cflags func-framework
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=DiskArbitration
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=IOKit
[build] [cxx-qt 0.6.0] cargo:rerun-if-changed=src/connection.cpp
[build] [cxx-qt 0.6.0] DebugMsg :in parse_libs_cflags funcDiskArbitration
[build] [cxx-qt 0.6.0] DebugMsg :in parse_libs_cflags func-framework
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=DiskArbitration
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=framework=IOKit
[build] [cxx-qt 0.6.0] cargo:rerun-if-changed=src/connection.cpp
[build] [cxx-qt 0.6.0] DebugMsg :in parse_libs_cflags func-framework
[build] [cxx-qt 0.6.0] DebugMsg :in parse_libs_cflags funcIOKit
[build] [cxx-qt 0.6.0] DebugMsg :in parse_libs_cflags funcIOKit
[build] [cxx-qt 0.6.0] TARGET = Some("aarch64-apple-darwin")
[build] [cxx-qt 0.6.0] OPT_LEVEL = Some("0")
[build] [cxx-qt 0.6.0] HOST = Some("aarch64-apple-darwin")
[build] [cxx-qt 0.6.0] TARGET = Some("aarch64-apple-darwin")
[build] [cxx-qt 0.6.0] OPT_LEVEL = Some("0")
[build] [cxx-qt 0.6.0] HOST = Some("aarch64-apple-darwin")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] DEBUG = Some("true")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] DEBUG = Some("true")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXX_aarch64-apple-darwin = Some("/usr/bin/clang++")
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build] [cxx-qt 0.6.0] CRATE_CC_NO_DEFAULTS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] CXXFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build] [cxx-qt 0.6.0] HOST_CXXFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=CXXFLAGS
[build] [cxx-qt 0.6.0] CXXFLAGS = None
[build] [cxx-qt 0.6.0] exit status: 0
[build] [cxx-qt 0.6.0] exit status: 0
[build] [cxx-qt 0.6.0] exit status: 0
[build] [cxx-qt 0.6.0] exit status: 0
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=AR_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] AR_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=AR_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] AR_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_AR
[build] [cxx-qt 0.6.0] HOST_AR = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=AR
[build] [cxx-qt 0.6.0] AR = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] ARFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] ARFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_ARFLAGS
[build] [cxx-qt 0.6.0] HOST_ARFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS
[build] [cxx-qt 0.6.0] ARFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=AR_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] AR_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=AR_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] AR_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_AR
[build] [cxx-qt 0.6.0] HOST_AR = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=AR
[build] [cxx-qt 0.6.0] AR = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS_aarch64-apple-darwin
[build] [cxx-qt 0.6.0] ARFLAGS_aarch64-apple-darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS_aarch64_apple_darwin
[build] [cxx-qt 0.6.0] ARFLAGS_aarch64_apple_darwin = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=HOST_ARFLAGS
[build] [cxx-qt 0.6.0] HOST_ARFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rerun-if-env-changed=ARFLAGS
[build] [cxx-qt 0.6.0] ARFLAGS = None
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=static=cxx-qt
[build] [cxx-qt 0.6.0] cargo:rustc-link-search=native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out
[build] [cxx-qt 0.6.0] cargo:rustc-link-lib=static=cxx-qt
[build] [cxx-qt 0.6.0] cargo:rustc-link-search=native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=cxx_qt CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Safe interop between Rust and Qt' CARGO_PKG_HOMEPAGE='https://kdab.github.io/cxx-qt/book/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' OUT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name cxx_qt --edition=2021 crates/cxx-qt/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=7f61662ce45233bd -C extra-filename=-7f61662ce45233bd --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/deps --target aarch64-apple-darwin -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/deps -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/deps/libcxx-0bd2ca9042a6d0c5.rmeta --extern cxx_qt_macro=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_macro-d477869c8a826534.dylib --extern static_assertions=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/deps/libstatic_assertions-cc648a739bef6817.rmeta -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-7a56a63b4438d37a/out -l framework=QtCore -l framework=DiskArbitration -l framework=IOKit -l static=cxx-qt -C link-arg=-fapple-link-rtlib -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-e5339da9679b6739/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/link-cplusplus-a5d2b0cfa43fd9ad/out
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=cxx_qt CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Safe interop between Rust and Qt' CARGO_PKG_HOMEPAGE='https://kdab.github.io/cxx-qt/book/' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' OUT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name cxx_qt --edition=2021 crates/cxx-qt/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=d2c539d1a4753f86 -C extra-filename=-d2c539d1a4753f86 --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx-0dae514a5f69b4e8.rmeta --extern cxx_qt_macro=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_macro-d477869c8a826534.dylib --extern static_assertions=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libstatic_assertions-21ebe0eb3cea606d.rmeta -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -l framework=QtCore -l framework=DiskArbitration -l framework=IOKit -l static=cxx-qt -C link-arg=-fapple-link-rtlib -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out
[build] Dirty cxx-qt-build v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-build): the dependency cxx_qt was rebuilt
[build] Compiling cxx-qt-build v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-build)
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=cxx_qt_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-build CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Helpers for integrating cxx-qt crate into a Cargo build' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt-build CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name cxx_qt_build --edition=2021 crates/cxx-qt-build/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=6ab1336d900c684d -C extra-filename=-6ab1336d900c684d --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cc=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcc-4f7e5addbf99ef3e.rmeta --extern codespan_reporting=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcodespan_reporting-16803727eb35ee92.rmeta --extern cxx_gen=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_gen-5eee1925fa27fac5.rmeta --extern cxx_qt=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt-d2c539d1a4753f86.rmeta --extern cxx_qt_gen=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_gen-8d441a361f4b6960.rmeta --extern proc_macro2=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libproc_macro2-950e5ceb51725b27.rmeta --extern qt_build_utils=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rmeta --extern quote=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libquote-f7d359d29bfc9b4a.rmeta --extern version_check=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libversion_check-9f51aa7577df62b5.rmeta -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out
[build] Dirty cxx-qt-lib-headers v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib-headers): the dependency cxx_qt_build was rebuilt
[build] Compiling cxx-qt-lib-headers v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib-headers)
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=cxx_qt_lib_headers CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib-headers CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Be Wilson <[email protected]>' CARGO_PKG_DESCRIPTION='A small crate for cxx-qt-lib and cxx-qt-build to share cxx-qt-lib'\''s C++ headers' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt-lib-headers CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name cxx_qt_lib_headers --edition=2021 crates/cxx-qt-lib-headers/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --cfg 'feature="default"' --cfg 'feature="qt_gui"' --cfg 'feature="qt_qml"' -C metadata=d9912cca892c1c19 -C extra-filename=-d9912cca892c1c19 --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_qt_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rmeta -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out
[build] Compiling cxx-qt-lib v0.6.0 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib)
[build] Compiling qml-features v0.1.0 (/Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust)
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Qt types for integrating cxx-qtcrate withcxx' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt-lib CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name build_script_build --edition=2021 crates/cxx-qt-lib/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --cfg 'feature="default"' --cfg 'feature="qt_gui"' --cfg 'feature="qt_qml"' -C metadata=6020208f1a041cc7 -C extra-filename=-6020208f1a041cc7 --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7 -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_qt_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib --extern cxx_qt_lib_headers=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib --extern qt_build_utils=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out
[build] Running CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=qml-features CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name build_script_build --edition=2021 examples/qml_features/rust/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=8a0617983cbb72ca -C extra-filename=-8a0617983cbb72ca --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_qt_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib --extern cxx_qt_lib_headers=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out
[build] error: linking with /usr/bin/clang failed: exit status: 1
[build] |
[build] = note: env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET LC_ALL="C" PATH="/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/allen/.cargo/bin:/Users/allen/Library/Application Support/JetBrains/Toolbox/scripts:/Users/allen/Library/Python/3.9/bin" VSLANG="1033" ZERO_AR_DATE="1" "/usr/bin/clang" "-arch" "arm64" "/var/folders/hw/lc023pr55psdqktjg68xvnkw0000gn/T/rustciL74sK/symbols.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.13zgxeyonitv5pjy.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1arpdvtfyzve63ef.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1r475o9sbpjftzg1.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1w0s22hof9ir2s4z.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.261ovlwx4ee6h6m2.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.2p9m6110dtvrjoun.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.313wt6b5q1xz227a.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.31pd6kjr0vgpfl9d.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3d5ub9xce5752zf5.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3fjarf73ezat8jbk.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3mf5c1cw2dpheu4q.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3pk41trn0ww9ya23.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3rh1ri2ln070vvv1.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.3w48fu9oealo49i6.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4d52hbihr47t35vt.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4kcylkkd14fozx3v.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4mujozmfumxkytdm.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.4uozjn8dz1v8ogts.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.57ojwdx6l62a6xvn.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.ext44e57w64udc8.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.l44890m0s9301sx.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca.1mq1n1ibm4z7j22y.rcgu.o" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps" "-L" "/opt/homebrew/Cellar/qt@5/5.15.12_1/lib" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversion_check-9f51aa7577df62b5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt-d2c539d1a4753f86.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libstatic_assertions-21ebe0eb3cea606d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx-0dae514a5f69b4e8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblink_cplusplus-29d675dabc421268.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversions-8466793749c2eea6.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libnom-718756c2487eced8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libmemchr-e6b5ebc697c65687.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libitertools-e621136652a36976.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libeither-f70f4bfdd6077160.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcc-4f7e5addbf99ef3e.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libjobserver-dd4b614b2cf16aea.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblibc-dd2450870a8e46be.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_gen-5eee1925fa27fac5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_gen-8d441a361f4b6960.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libclang_format-089b44882994e1ab.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libthiserror-dd35499ccfe2017d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libconvert_case-35c30cdcabc87c2a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_segmentation-7d3ed2ca008d237f.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libsyn-ac3b92559e3bce53.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libquote-f7d359d29bfc9b4a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcodespan_reporting-16803727eb35ee92.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_width-16a1984432142341.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libtermcolor-3d23a97142594491.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libproc_macro2-950e5ceb51725b27.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_ident-2260bb06186abcf3.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libproc_macro-c7150b0669ad7a0f.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-4f192af08beaa759.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-401344856f0fc3c5.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-9e012890a70780c2.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-60338fe528589910.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-a2e883cf5bcf6347.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-df8440ef641907f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-fa2288bf7728f91c.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-f39c850853dd7dfe.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-c5b1930e10569ddd.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-96bad2fc8f58f610.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-06eec439eca0e252.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libadler-023007819562a373.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-7254491d238c3b3e.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-9f474e4309122405.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0bfd536a501ea558.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-d56621fef414e9f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-60d6843fd08e9533.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-62a9b4d83244cb2b.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-4010f8e9d1f7f9aa.rlib" "-framework" "QtCore" "-framework" "DiskArbitration" "-framework" "IOKit" "-lc++" "-liconv" "-lSystem" "-lc" "-lm" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca/build_script_build-8a0617983cbb72ca" "-Wl,-dead_strip" "-nodefaultlibs"
[build] = note: ld: framework 'QtCore' not found
[build] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[build]
[build]
[build] error: could not compile qml-features (build script) due to 1 previous error
[build]
[build] Caused by:
[build] process didn't exit successfully: CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=qml-features CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name build_script_build --edition=2021 examples/qml_features/rust/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C metadata=8a0617983cbb72ca -C extra-filename=-8a0617983cbb72ca --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/qml-features-8a0617983cbb72ca -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_qt_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib --extern cxx_qt_lib_headers=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out (exit status: 1)
[build] warning: build failed, waiting for other jobs to finish...
[build] error: linking with /usr/bin/clang failed: exit status: 1
[build] |
[build] = note: env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET LC_ALL="C" PATH="/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/allen/.cargo/bin:/Users/allen/Library/Application Support/JetBrains/Toolbox/scripts:/Users/allen/Library/Python/3.9/bin" VSLANG="1033" ZERO_AR_DATE="1" "/usr/bin/clang" "-arch" "arm64" "/var/folders/hw/lc023pr55psdqktjg68xvnkw0000gn/T/rustcksvFIe/symbols.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.10fl17pzfgknotu.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.119okv1xmy7z81f6.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.137xat5v19szbkn0.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.15oph1vhrzhh5e5j.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.19opgb164thgeyxk.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.1vlp0hyqz47obvqu.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.1yhg74qrm5jbn57.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.26tes9igtz8fy7rn.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.2mfoke3mrp14psgs.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.2xsado67lvou67qs.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.2zb7b71tju74uh5j.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.37xis5uwom24c582.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.3qh0u66rpovuphck.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4186phjz8kddzw0h.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.42i2ewundsav9ojs.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.45d9edr6wy3brpeh.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4aqs871owq9ftsf1.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4zbmzfjwshprgoiz.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4zm0s84o8zrdyxpo.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.55605lsdx0j8mjk3.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.55mmkitcjyl348i7.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.5663x8hp4g2zm7jf.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.59c517g8ydpmusil.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.xhcy1h0fk613fhe.rcgu.o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7.4qr33kompxeqtcjw.rcgu.o" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps" "-L" "/opt/homebrew/Cellar/qt@5/5.15.12_1/lib" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out" "-L" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversion_check-9f51aa7577df62b5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt-d2c539d1a4753f86.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libstatic_assertions-21ebe0eb3cea606d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx-0dae514a5f69b4e8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblink_cplusplus-29d675dabc421268.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libversions-8466793749c2eea6.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libnom-718756c2487eced8.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libmemchr-e6b5ebc697c65687.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libitertools-e621136652a36976.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libeither-f70f4bfdd6077160.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcc-4f7e5addbf99ef3e.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libjobserver-dd4b614b2cf16aea.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/liblibc-dd2450870a8e46be.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_gen-5eee1925fa27fac5.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcxx_qt_gen-8d441a361f4b6960.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libclang_format-089b44882994e1ab.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libthiserror-dd35499ccfe2017d.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libconvert_case-35c30cdcabc87c2a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_segmentation-7d3ed2ca008d237f.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libsyn-ac3b92559e3bce53.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libquote-f7d359d29bfc9b4a.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libcodespan_reporting-16803727eb35ee92.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_width-16a1984432142341.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libtermcolor-3d23a97142594491.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libproc_macro2-950e5ceb51725b27.rlib" "/Users/allen/Projects/RustProjects/cxx-qt/build/cargo/build/debug/deps/libunicode_ident-2260bb06186abcf3.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libproc_macro-c7150b0669ad7a0f.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-4f192af08beaa759.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-401344856f0fc3c5.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-9e012890a70780c2.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-60338fe528589910.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-a2e883cf5bcf6347.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-df8440ef641907f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-fa2288bf7728f91c.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-f39c850853dd7dfe.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-c5b1930e10569ddd.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-96bad2fc8f58f610.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-06eec439eca0e252.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libadler-023007819562a373.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-7254491d238c3b3e.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-9f474e4309122405.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0bfd536a501ea558.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-d56621fef414e9f8.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-60d6843fd08e9533.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-62a9b4d83244cb2b.rlib" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-4010f8e9d1f7f9aa.rlib" "-framework" "QtCore" "-framework" "DiskArbitration" "-framework" "IOKit" "-lc++" "-liconv" "-lSystem" "-lc" "-lm" "-L" "/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7/build_script_build-6020208f1a041cc7" "-Wl,-dead_strip" "-nodefaultlibs"
[build] = note: ld: framework 'QtCore' not found
[build] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[build]
[build]
[build] error: could not compile cxx-qt-lib (build script) due to 1 previous error
[build]
[build] Caused by:
[build] process didn't exit successfully: CARGO=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt-lib CARGO_PKG_AUTHORS='Andrew Hayzen <[email protected]>:Gerhard de Clercq <[email protected]>:Leon Matthes <[email protected]>' CARGO_PKG_DESCRIPTION='Qt types for integrating cxx-qtcrate withcxx' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cxx-qt-lib CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/KDAB/cxx-qt/' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps:/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/allen/lib:/usr/local/lib:/usr/lib' /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name build_script_build --edition=2021 crates/cxx-qt-lib/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --cfg 'feature="default"' --cfg 'feature="qt_gui"' --cfg 'feature="qt_qml"' -C metadata=6020208f1a041cc7 -C extra-filename=-6020208f1a041cc7 --out-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-lib-6020208f1a041cc7 -C linker=/usr/bin/clang -C incremental=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/incremental -L dependency=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps --extern cxx_qt_build=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_build-6ab1336d900c684d.rlib --extern cxx_qt_lib_headers=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libcxx_qt_lib_headers-d9912cca892c1c19.rlib --extern qt_build_utils=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/deps/libqt_build_utils-906dd61ff2dbfcbc.rlib -L '/opt/homebrew/Cellar/qt@5/5.15.12_1/lib' -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-cd4fe937a4be2c39/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-201f66f53e1e6176/out -L native=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/link-cplusplus-71603c78c2dde3e1/out (exit status: 1)
[build] FAILED: examples/qml_features/CMakeFiles/_cargo-build_qml-features /Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features/CMakeFiles/_cargo-build_qml-features
[build] cd /Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust && /Applications/CMake.app/Contents/bin/cmake -E env CXXQT_EXPORT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features/cxxqt QMAKE=/opt/homebrew/Cellar/qt@5/5.15.12_1/bin/qmake CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER=/usr/bin/clang CC_aarch64-apple-darwin=/usr/bin/clang CXX_aarch64-apple-darwin=/usr/bin/clang++ SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk CORROSION_BUILD_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/qml_features CARGO_BUILD_RUSTC=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo rustc --lib --target=aarch64-apple-darwin --package qml-features --manifest-path /Users/allen/Projects/RustProjects/cxx-qt/examples/qml_features/rust/Cargo.toml --target-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build -vv -- -Cdefault-linker-libraries=yes
[build] ninja: build stopped: subcommand failed.
[proc] The command: /opt/homebrew/bin/cmake --build /Users/allen/Projects/RustProjects/cxx-qt/build --config Debug --target example_qml_features -- exited with code: 1
[driver] Build completed: 00:00:02.238
[build] Build finished with exit code 1

So , maybe function not received any parameter with "-F" is key point?
But how could I send a "-F" flag to this function ?

@nikolaseu
Copy link

nikolaseu commented Apr 5, 2024

I have the same issue after updating to latest main.

The issue seems to be commit 551800363671c511d783f7e4c465753a891c8c9a:

commit 551800363671c511d783f7e4c465753a891c8c9a
Author: Andrew Hayzen <[email protected]>
Date:   Mon Feb 12 11:33:38 2024 +0900

    cxx-qt: add QMetaObjectConnection and Qt::ConnectionType
    
    This allows us to remove cxx-qt-lib from cxx-qt-gen later.

If I try the previous one it works: 77bef00f27bca231fe8b8376501d5ab8477fc793

macOS 14.4.1, AppleClang 15.0.0.15000309 (XCode 15.3)

@ahayzen-kdab
Copy link
Collaborator

Interesting find ! That's when we starting building CXX bridges in the cxx-qt crate, wonder if there is a subtle different in the build script of cxx-qt vs what cxx-qt-build does elsewhere. Or whether there is some other issue with a crate dependency linking to Qt.

@LeonMatthesKDAB
Copy link
Collaborator

@dezbracaty, so from what you found out it looks like the parse_libs_cflags should generate the missing call to cargo:rustc-link-search=framework=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib.

Which is information that should be extracted from the prl file.

@nikolaseu or @dezbracaty Could you share the contents of your prl file, so we can take a look ( /opt/homebrew/Cellar/qt@5/5.15.12_1/lib/QtCore.framework/Resources/QtCore.prl ).
qt-build-utils does quite a bit of parsing there, so it may be that your file has slightly different formatting, which may screw up the argument extraction 🤔

@dezbracaty In case its not too much trouble, could you try the commit 77bef00f27bca231fe8b8376501d5ab8477fc793, as suggested by @nikolaseu .
If you could confirm that's the issue for you as well than we can hopefully figure out what change exactly triggered the issue.

@nikolaseu
Copy link

I'm using Qt6, these are the contents of /opt/homebrew/Cellar/qt/6.6.2_1/lib/QtCore.framework/Resources/QtCore.prl

QMAKE_PRL_TARGET = QtCore
QMAKE_PRL_CONFIG = shared lib_bundle
QMAKE_PRL_VERSION = 6.6.2
QMAKE_PRL_LIBS = -framework IOKit -framework DiskArbitration
QMAKE_PRL_LIBS_FOR_CMAKE = -framework IOKit;-framework DiskArbitration

@ahayzen-kdab
Copy link
Collaborator

Some notes when looking initially at this, we have some rustc-link-search we may need to just add framework= to the start of them when using frameworks, eg for this one

println!("cargo:rustc-link-search={lib_path}");

Still need to investigate how to determine the right circumstances and the code change.

@ahayzen-kdab
Copy link
Collaborator

Interesting so the docs state that when you don't specify a kind of link search it should try all, and from those logs above it looks like cargo:rustc-link-search=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib is called, so either something magic happens when specifying framework= or it's more subtle and specific to a certain crate / place.

all — Search for all library kinds in this directory. This is the default if KIND is not specified.

https://doc.rust-lang.org/rustc/command-line-arguments.html#option-l-search-path

@ahayzen-kdab
Copy link
Collaborator

I note that you needed to add this into the cxx-qt build script which doesn't use cxx-qt-build but rather manually calls the build.

But i also note that this is also calling cargo_link_libraries and should be adding cargo:rustc-link-search for QT_INSTALL_LIBS (which should have a kind of all).

@dezbracaty Are you able to provide the output of qmake -query as it'd be good to check what the paths are there too.

ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Apr 8, 2024
@ahayzen-kdab
Copy link
Collaborator

Also @dezbracaty and @nikolaseu could you see if this change helps at all ? #913

@nikolaseu
Copy link

Also @dezbracaty and @nikolaseu could you see if this change helps at all ? #913

It works for me! Thanks

@ahayzen-kdab
Copy link
Collaborator

@nikolaseu awesome ! Do you know / are you able to show what the contents of QT_INSTALL_LIBS is ? This is the /opt/homebrew/Cellar/qt@5/5.15.12_1/lib folder.

As i wondered if when you have Qt installed in a frameworks mode are there only frameworks in that folder ? As if we set framework= in the search path whenever we find we are in frameworks mode this then prevents that folder being searched for other types of libraries.

But maybe this folder exclusively contains frameworks in your setup ?

@nikolaseu
Copy link

ls /opt/homebrew/Cellar/qt/6.6.2_1/lib
Qt3DAnimation.framework                QtCore5Compat.framework                QtLabsWavefrontMesh.framework          QtProtobuf.framework                   QtQuick3DPhysics.framework             QtRemoteObjectsQml.framework           QtWebChannelQuick.framework            libQt6FbSupport.prl
Qt3DCore.framework                     QtDBus.framework                       QtLanguageServer.framework             QtQml.framework                        QtQuick3DPhysicsHelpers.framework      QtScxml.framework                      QtWebEngineCore.framework              libQt6PacketProtocol.a
Qt3DExtras.framework                   QtDataVisualization.framework          QtLocation.framework                   QtQmlCompiler.framework                QtQuick3DRuntimeRender.framework       QtScxmlQml.framework                   QtWebEngineQuick.framework             libQt6PacketProtocol.prl
Qt3DInput.framework                    QtDataVisualizationQml.framework       QtMqtt.framework                       QtQmlCore.framework                    QtQuick3DSpatialAudio.framework        QtSensors.framework                    QtWebEngineQuickDelegatesQml.framework libQt6QmlDebug.a
Qt3DLogic.framework                    QtDeclarativeOpcua.framework           QtMultimedia.framework                 QtQmlLocalStorage.framework            QtQuick3DUtils.framework               QtSensorsQuick.framework               QtWebEngineWidgets.framework           libQt6QmlDebug.prl
Qt3DQuick.framework                    QtDesigner.framework                   QtMultimediaQuick.framework            QtQmlModels.framework                  QtQuickControls2.framework             QtSerialBus.framework                  QtWebSockets.framework                 libQt6QmlDom.a
Qt3DQuickAnimation.framework           QtDesignerComponents.framework         QtMultimediaWidgets.framework          QtQmlWorkerScript.framework            QtQuickControls2Impl.framework         QtSerialPort.framework                 QtWebView.framework                    libQt6QmlDom.prl
Qt3DQuickExtras.framework              QtGraphs.framework                     QtNetwork.framework                    QtQmlXmlListModel.framework            QtQuickDialogs2.framework              QtShaderTools.framework                QtWebViewQuick.framework               libQt6QmlLS.a
Qt3DQuickInput.framework               QtGrpc.framework                       QtNetworkAuth.framework                QtQuick.framework                      QtQuickDialogs2QuickImpl.framework     QtSpatialAudio.framework               QtWidgets.framework                    libQt6QmlLS.prl
Qt3DQuickRender.framework              QtGui.framework                        QtNfc.framework                        QtQuick3D.framework                    QtQuickDialogs2Utils.framework         QtSql.framework                        QtXml.framework                        libQt6QmlToolingSettings.a
Qt3DQuickScene2D.framework             QtHelp.framework                       QtOpcUa.framework                      QtQuick3DAssetImport.framework         QtQuickEffects.framework               QtStateMachine.framework               cmake                                  libQt6QmlToolingSettings.prl
Qt3DRender.framework                   QtHttpServer.framework                 QtOpenGL.framework                     QtQuick3DAssetUtils.framework          QtQuickLayouts.framework               QtStateMachineQml.framework            libQt6BundledEmbree.a                  libQt6QmlTypeRegistrar.a
QtBluetooth.framework                  QtHunspellInputMethod.framework        QtOpenGLWidgets.framework              QtQuick3DEffects.framework             QtQuickParticles.framework             QtSvg.framework                        libQt6BundledPhysX.a                   libQt6QmlTypeRegistrar.prl
QtBodymovin.framework                  QtJsonRpc.framework                    QtPdf.framework                        QtQuick3DGlslParser.framework          QtQuickShapes.framework                QtSvgWidgets.framework                 libQt6BundledResonanceAudio.a          libQt6QuickControlsTestUtils.a
QtCharts.framework                     QtLabsAnimation.framework              QtPdfQuick.framework                   QtQuick3DHelpers.framework             QtQuickTemplates2.framework            QtTest.framework                       libQt6DeviceDiscoverySupport.a         libQt6QuickControlsTestUtils.prl
QtChartsQml.framework                  QtLabsFolderListModel.framework        QtPdfWidgets.framework                 QtQuick3DHelpersImpl.framework         QtQuickTest.framework                  QtTextToSpeech.framework               libQt6DeviceDiscoverySupport.prl       libQt6QuickTestUtils.a
QtCoap.framework                       QtLabsQmlModels.framework              QtPositioning.framework                QtQuick3DIblBaker.framework            QtQuickTimeline.framework              QtUiTools.framework                    libQt6ExampleIcons.a                   libQt6QuickTestUtils.prl
QtConcurrent.framework                 QtLabsSettings.framework               QtPositioningQuick.framework           QtQuick3DParticleEffects.framework     QtQuickWidgets.framework               QtVirtualKeyboard.framework            libQt6ExampleIcons.prl                 objects-Release
QtCore.framework                       QtLabsSharedImage.framework            QtPrintSupport.framework               QtQuick3DParticles.framework           QtRemoteObjects.framework              QtWebChannel.framework                 libQt6FbSupport.a

@ahayzen-kdab
Copy link
Collaborator

Interesting thanks !

So appears most are frameworks other than those last few static libraries (although most look like they are rarely used or linked from elsewhere)

Wonder if us effectively calling the following means that the directory is still added as a normal search path as well as a frameworks one.

 println!("cargo:rustc-link-search=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib");
 println!("cargo:rustc-link-search=framework=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib");

@LeonMatthesKDAB
Copy link
Collaborator

@ahayzen-kdab Can you test what happens if you just unconditionally emit the framework= version of rustc-link-search as well?

If your hunch is correct and it then searches for both, we could maybe just do that and not have to special-case the frameworks.
This may lead to incompatibility if both versions are installed though, so that's also a concern 🤔

@ahayzen-kdab
Copy link
Collaborator

@LeonMatthesKDAB seems to build on Linux doing this, i wonder if we just always enable this for apple targets?

@ahayzen-kdab
Copy link
Collaborator

@ahayzen-kdab
Copy link
Collaborator

That test isn't exactly the same as our case, but you can see how library paths is a vector and not a set, so it should search for both

ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Apr 15, 2024
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Apr 15, 2024
@ahayzen-kdab
Copy link
Collaborator

@dezbracaty or @nikolaseu are you able to double check that the changes still work in #913 ?

@nikolaseu
Copy link

works for me

@dezbracaty
Copy link
Author

dezbracaty commented Jun 1, 2024

@dezbracaty, so from what you found out it looks like the parse_libs_cflags should generate the missing call to cargo:rustc-link-search=framework=/opt/homebrew/Cellar/qt@5/5.15.12_1/lib.

Which is information that should be extracted from the prl file.

@nikolaseu or @dezbracaty Could you share the contents of your prl file, so we can take a look ( /opt/homebrew/Cellar/qt@5/5.15.12_1/lib/QtCore.framework/Resources/QtCore.prl ). qt-build-utils does quite a bit of parsing there, so it may be that your file has slightly different formatting, which may screw up the argument extraction 🤔

@dezbracaty In case its not too much trouble, could you try the commit 77bef00f27bca231fe8b8376501d5ab8477fc793, as suggested by @nikolaseu . If you could confirm that's the issue for you as well than we can hopefully figure out what change exactly triggered the issue.

Sorry I just look this message.
Today I pull this project and I found something changed.
This is the output:

[main] Building folder: cxx-qt 
[proc] Executing command: /usr/bin/clang -v
[main] Configuring project: cxx-qt 
[proc] Executing command: /opt/homebrew/bin/cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++ -S/Users/allen/Projects/RustProjects/cxx-qt -B/Users/allen/Projects/RustProjects/cxx-qt/build -G Ninja
[cmake] Not searching for unused variables given on the command line.
[cmake] -- Using dependencies from system without vcpkg
[cmake] -- Could NOT find ccache
[cmake] -- Could NOT find sccache
[cmake] -- No compiler caching enabled. Install ccache or sccache to speed up rebuilds.
[cmake] CMake Warning (dev) at build/_deps/corrosion-src/cmake/FindRust.cmake:363 (message):
[cmake]   Unexpected output from `rustc --version` for Toolchain
[cmake]   `stable-aarch64-unknown-linux-gnu`: ``.
[cmake] 
[cmake]   Ignoring this toolchain.
[cmake] Call Stack (most recent call first):
[cmake]   build/_deps/corrosion-src/cmake/Corrosion.cmake:63 (find_package)
[cmake]   build/_deps/corrosion-src/CMakeLists.txt:73 (include)
[cmake] This warning is for project developers.  Use -Wno-dev to suppress it.
[cmake] 
[cmake] -- Rust Toolchain: stable-aarch64-apple-darwin
[cmake] -- Rust Target: aarch64-apple-darwin
[cmake] -- Using Corrosion as a subdirectory
[cmake] -- valgrind not found. Please install it
[cmake] -- valgrind not found. Please install it
[cmake] -- valgrind not found. Please install it
[cmake] -- valgrind not found. Please install it
[cmake] -- valgrind not found. Please install it
[cmake] -- Configuring done (1.3s)
[cmake] -- Generating done (0.0s)
[cmake] -- Build files have been written to: /Users/allen/Projects/RustProjects/cxx-qt/build
[build] Starting build
[proc] Executing command: /opt/homebrew/bin/cmake --build /Users/allen/Projects/RustProjects/cxx-qt/build --config Debug --target all --
[build] [1/43   0% :: 0.011] cd /Users/allen/Projects/RustProjects/cxx-qt/examples/demo_threading/rust && /Applications/CMake.app/Contents/bin/cmake -E env CXXQT_EXPORT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/demo_threading/cxxqt QMAKE=/Users/allen/Soft/Qt/6.5.3/macos/bin/qmake CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER=/usr/bin/clang CC_aarch64_apple_darwin=/usr/bin/clang CXX_aarch64_apple_darwin=/usr/bin/clang++ AR_aarch64_apple_darwin=/usr/bin/ar SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk CORROSION_BUILD_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/demo_threading CARGO_BUILD_RUSTC=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo rustc --lib --target=aarch64-apple-darwin --package cxx_qt_demo_threading --manifest-path /Users/allen/Projects/RustProjects/cxx-qt/examples/demo_threading/rust/Cargo.toml --target-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build -- -Cdefault-linker-libraries=yes
[build]    Compiling cxx-qt v0.6.1 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt)
[build]    Compiling uuid v1.7.0
[build]    Compiling serde_json v1.0.114
[build] The following warnings were emitted during compilation:
[build] 
[build] warning: [email protected]: In file included from /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/sources/cxx-qt/src/connection.rs.cc:1:
[build] warning: [email protected]: /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxx-qt/connection.h:9:10: fatal error: 'QtCore/QObject' file not found
[build] warning: [email protected]: #include <QtCore/QObject>
[build] warning: [email protected]:          ^~~~~~~~~~~~~~~~
[build] warning: [email protected]: In file included from src/connection.cpp:7:
[build] warning: [email protected]: /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxx-qt/connection.h:9:10: fatal error: 'QtCore/QObject' file not found
[build] warning: [email protected]: #include <QtCore/QObject>
[build] warning: [email protected]:          ^~~~~~~~~~~~~~~~
[build] warning: [email protected]: 1 error generated.
[build] warning: [email protected]: ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/74519e3fc51a2df9-connection.rs.o" "-c" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/sources/cxx-qt/src/connection.rs.cc" with args "clang++" did not execute successfully (status code exit status: 1).cargo:warning=1 error generated.
[build] warning: [email protected]: ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/2e40c9e35e9506f4-connection.o" "-c" "src/connection.cpp" with args "clang++" did not execute successfully (status code exit status: 1).
[build] 
[build] error: failed to run custom build command for `cxx-qt v0.6.1 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt)`
[build] 
[build] Caused by:
[build]   process didn't exit successfully: `/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-8f7ffd7a8f06c07c/build-script-build` (exit status: 1)
[build]   --- stdout
[build]   cargo:rustc-link-search=framework=/Users/allen/Soft/Qt/6.5.3/macos/lib/
[build]   cargo:rerun-if-env-changed=QMAKE
[build]   cargo:rerun-if-env-changed=QT_VERSION_MAJOR
[build]   cargo:rustc-link-arg=-fapple-link-rtlib
[build]   cargo:rerun-if-changed=src/connection.rs
[build]   cargo:CXXBRIDGE_PREFIX=cxx-qt
[build]   cargo:CXXBRIDGE_DIR0=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/include
[build]   cargo:CXXBRIDGE_DIR1=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/crate
[build]   cargo:rustc-link-search=/Users/allen/Soft/Qt/6.5.3/macos/lib
[build]   cargo:rustc-link-search=framework=/Users/allen/Soft/Qt/6.5.3/macos/lib
[build]   cargo:rustc-link-lib=framework=QtCore
[build]   cargo:rustc-link-lib=framework=IOKit
[build]   cargo:rustc-link-lib=framework=DiskArbitration
[build]   cargo:rerun-if-changed=src/connection.cpp
[build]   TARGET = Some("aarch64-apple-darwin")
[build]   OPT_LEVEL = Some("0")
[build]   HOST = Some("aarch64-apple-darwin")
[build]   cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build]   CXX_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build]   CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build]   CRATE_CC_NO_DEFAULTS = None
[build]   DEBUG = Some("true")
[build]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build]   CXXFLAGS_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build]   CXXFLAGS_aarch64_apple_darwin = None
[build]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build]   HOST_CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS
[build]   CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build]   CXX_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build]   CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build]   CRATE_CC_NO_DEFAULTS = None
[build]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build]   CXXFLAGS_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build]   CXXFLAGS_aarch64_apple_darwin = None
[build]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build]   HOST_CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS
[build]   CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build]   CXX_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build]   CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build]   CRATE_CC_NO_DEFAULTS = None
[build]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build]   CXXFLAGS_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build]   CXXFLAGS_aarch64_apple_darwin = None
[build]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build]   HOST_CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS
[build]   CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build]   CXX_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build]   CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build]   CRATE_CC_NO_DEFAULTS = None
[build]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build]   CXXFLAGS_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build]   CXXFLAGS_aarch64_apple_darwin = None
[build]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build]   HOST_CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS
[build]   CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build]   CXX_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build]   CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build]   CRATE_CC_NO_DEFAULTS = None
[build]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build]   CXXFLAGS_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build]   CXXFLAGS_aarch64_apple_darwin = None
[build]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build]   HOST_CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS
[build]   CXXFLAGS = None
[build]   cargo:warning=In file included from /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/sources/cxx-qt/src/connection.rs.cc:1:
[build]   cargo:warning=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxx-qt/connection.h:9:10: fatal error: 'QtCore/QObject' file not found
[build]   cargo:warning=#include <QtCore/QObject>
[build]   cargo:warning=         ^~~~~~~~~~~~~~~~
[build]   cargo:warning=In file included from src/connection.cpp:7:
[build]   cargo:warning=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxx-qt/connection.h:9:10: fatal error: 'QtCore/QObject' file not found
[build]   cargo:warning=#include <QtCore/QObject>
[build]   cargo:warning=         ^~~~~~~~~~~~~~~~
[build]   cargo:warning=1 error generated.
[build]   exit status: 1
[build]   cargo:warning=ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/74519e3fc51a2df9-connection.rs.o" "-c" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/sources/cxx-qt/src/connection.rs.cc" with args "clang++" did not execute successfully (status code exit status: 1).cargo:warning=1 error generated.
[build] 
[build]   exit status: 1
[build]   cargo:warning=ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/2e40c9e35e9506f4-connection.o" "-c" "src/connection.cpp" with args "clang++" did not execute successfully (status code exit status: 1).
[build] 
[build]   --- stderr
[build] 
[build]   CXX include path:
[build]     /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/include
[build]     /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/crate
[build] 
[build] 
[build]   error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/2e40c9e35e9506f4-connection.o" "-c" "src/connection.cpp" with args "clang++" did not execute successfully (status code exit status: 1).
[build] 
[build] 
[build] warning: build failed, waiting for other jobs to finish...
[build] The following warnings were emitted during compilation:
[build] 
[build] warning: [email protected]: In file included from /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/sources/cxx-qt/src/connection.rs.cc:1:
[build] warning: [email protected]: /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxx-qt/connection.h:9:10: fatal error: 'QtCore/QObject' file not found
[build] warning: [email protected]: #include <QtCore/QObject>
[build] warning: [email protected]:          ^~~~~~~~~~~~~~~~
[build] warning: [email protected]: In file included from src/connection.cpp:7:
[build] warning: [email protected]: /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxx-qt/connection.h:9:10: fatal error: 'QtCore/QObject' file not found
[build] warning: [email protected]: #include <QtCore/QObject>
[build] warning: [email protected]:          ^~~~~~~~~~~~~~~~
[build] warning: [email protected]: 1 error generated.
[build] warning: [email protected]: ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/004555274e898307-connection.rs.o" "-c" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/sources/cxx-qt/src/connection.rs.cc" with args "clang++" did not execute successfully (status code exit status: 1).cargo:warning=1 error generated.
[build] warning: [email protected]: ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/2e40c9e35e9506f4-connection.o" "-c" "src/connection.cpp" with args "clang++" did not execute successfully (status code exit status: 1).
[build] 
[build] error: failed to run custom build command for `cxx-qt v0.6.1 (/Users/allen/Projects/RustProjects/cxx-qt/crates/cxx-qt)`
[build] 
[build] Caused by:
[build]   process didn't exit successfully: `/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-8f7ffd7a8f06c07c/build-script-build` (exit status: 1)
[build]   --- stdout
[build]   cargo:rustc-link-search=framework=/Users/allen/Soft/Qt/6.5.3/macos/lib/
[build]   cargo:rerun-if-env-changed=QMAKE
[build]   cargo:rerun-if-env-changed=QT_VERSION_MAJOR
[build]   cargo:rustc-link-arg=-fapple-link-rtlib
[build]   cargo:rerun-if-changed=src/connection.rs
[build]   cargo:CXXBRIDGE_PREFIX=cxx-qt
[build]   cargo:CXXBRIDGE_DIR0=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/include
[build]   cargo:CXXBRIDGE_DIR1=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/crate
[build]   cargo:rustc-link-search=/Users/allen/Soft/Qt/6.5.3/macos/lib
[build]   cargo:rustc-link-search=framework=/Users/allen/Soft/Qt/6.5.3/macos/lib
[build]   cargo:rustc-link-lib=framework=QtCore
[build]   cargo:rustc-link-lib=framework=IOKit
[build]   cargo:rustc-link-lib=framework=DiskArbitration
[build]   cargo:rerun-if-changed=src/connection.cpp
[build]   TARGET = Some("aarch64-apple-darwin")
[build]   OPT_LEVEL = Some("0")
[build]   HOST = Some("aarch64-apple-darwin")
[build]   cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build]   CXX_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build]   CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build]   CRATE_CC_NO_DEFAULTS = None
[build]   DEBUG = Some("true")
[build]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build]   CXXFLAGS_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build]   CXXFLAGS_aarch64_apple_darwin = None
[build]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build]   HOST_CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS
[build]   CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build]   CXX_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build]   CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build]   CRATE_CC_NO_DEFAULTS = None
[build]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build]   CXXFLAGS_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build]   CXXFLAGS_aarch64_apple_darwin = None
[build]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build]   HOST_CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS
[build]   CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build]   CXX_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build]   CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build]   CRATE_CC_NO_DEFAULTS = None
[build]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build]   CXXFLAGS_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build]   CXXFLAGS_aarch64_apple_darwin = None
[build]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build]   HOST_CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS
[build]   CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build]   CXX_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build]   CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build]   CRATE_CC_NO_DEFAULTS = None
[build]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build]   CXXFLAGS_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build]   CXXFLAGS_aarch64_apple_darwin = None
[build]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build]   HOST_CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS
[build]   CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[build]   CXX_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[build]   CXX_aarch64_apple_darwin = Some("/usr/bin/clang++")
[build]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[build]   CRATE_CC_NO_DEFAULTS = None
[build]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[build]   CXXFLAGS_aarch64-apple-darwin = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[build]   CXXFLAGS_aarch64_apple_darwin = None
[build]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[build]   HOST_CXXFLAGS = None
[build]   cargo:rerun-if-env-changed=CXXFLAGS
[build]   CXXFLAGS = None
[build]   cargo:warning=In file included from /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/sources/cxx-qt/src/connection.rs.cc:1:
[build]   cargo:warning=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxx-qt/connection.h:9:10: fatal error: 'QtCore/QObject' file not found
[build]   cargo:warning=#include <QtCore/QObject>
[build]   cargo:warning=         ^~~~~~~~~~~~~~~~
[build]   cargo:warning=In file included from src/connection.cpp:7:
[build]   cargo:warning=/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxx-qt/connection.h:9:10: fatal error: 'QtCore/QObject' file not found
[build]   cargo:warning=#include <QtCore/QObject>
[build]   cargo:warning=         ^~~~~~~~~~~~~~~~
[build]   cargo:warning=1 error generated.
[build]   exit status: 1
[build]   cargo:warning=ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/004555274e898307-connection.rs.o" "-c" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/sources/cxx-qt/src/connection.rs.cc" with args "clang++" did not execute successfully (status code exit status: 1).cargo:warning=1 error generated.
[build] 
[build]   exit status: 1
[build]   cargo:warning=ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/2e40c9e35e9506f4-connection.o" "-c" "src/connection.cpp" with args "clang++" did not execute successfully (status code exit status: 1).
[build] 
[build]   --- stderr
[build] 
[build]   CXX include path:
[build]     /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/include
[build]     /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/crate
[build] 
[build] 
[build]   error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/debug/build/cxx-qt-4bbaf09bb859567d/out/2e40c9e35e9506f4-connection.o" "-c" "src/connection.cpp" with args "clang++" did not execute successfully (status code exit status: 1).
[build] 
[build] 
[build] [2/43   2% :: 0.049] Automatic MOC for target demo_threading
[build] FAILED: examples/demo_threading/CMakeFiles/_cargo-build_cxx_qt_demo_threading /Users/allen/Projects/RustProjects/cxx-qt/build/examples/demo_threading/CMakeFiles/_cargo-build_cxx_qt_demo_threading 
[build] cd /Users/allen/Projects/RustProjects/cxx-qt/examples/demo_threading/rust && /Applications/CMake.app/Contents/bin/cmake -E env CXXQT_EXPORT_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/demo_threading/cxxqt QMAKE=/Users/allen/Soft/Qt/6.5.3/macos/bin/qmake CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER=/usr/bin/clang CC_aarch64_apple_darwin=/usr/bin/clang CXX_aarch64_apple_darwin=/usr/bin/clang++ AR_aarch64_apple_darwin=/usr/bin/ar SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk CORROSION_BUILD_DIR=/Users/allen/Projects/RustProjects/cxx-qt/build/examples/demo_threading CARGO_BUILD_RUSTC=/Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc /Users/allen/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo rustc --lib --target=aarch64-apple-darwin --package cxx_qt_demo_threading --manifest-path /Users/allen/Projects/RustProjects/cxx-qt/examples/demo_threading/rust/Cargo.toml --target-dir /Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build -- -Cdefault-linker-libraries=yes
[build] ninja: build stopped: subcommand failed.
[proc] The command: /opt/homebrew/bin/cmake --build /Users/allen/Projects/RustProjects/cxx-qt/build --config Debug --target all -- exited with code: 1
[driver] Build completed: 00:00:00.813
[build] Build finished with exit code 1

Do you found any question?
Look this :

[build] warning: [email protected]: ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/74519e3fc51a2df9-connection.rs.o" "-c" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/sources/cxx-qt/src/connection.rs.cc" with args "clang++" did not execute successfully (status code exit status: 1).cargo:warning=1 error generated.
[build] warning: [email protected]: ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/usr/bin/clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=arm64-apple-darwin" "-mmacosx-version-min=14.5" "-std=c++17" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/include" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/cxxbridge/crate" "-I" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore" "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include" "-Wall" "-Wextra" "-o" "/Users/allen/Projects/RustProjects/cxx-qt/build/./cargo/build/aarch64-apple-darwin/debug/build/cxx-qt-348ffdabb508938d/out/2e40c9e35e9506f4-connection.o" "-c" "src/connection.cpp" with args "clang++" did not execute successfully (status code exit status: 1).

First of all, it specify a qt header directory as "-I" "/Users/allen/Soft/Qt/6.5.3/macos/include/QtCore", In my machine , it is "/Users/allen/Soft/Qt/6.5.3/macos/lib/QtCore.framework/Versions/A/Headers/QObject",So did it correct parse the header and lib path ???
It calls clang++ to build a qt-related project, but no -L or -l or -F flags , no one ! Where should clang++ to find library to link???? But it has "-I" flag and target a qt-include path !
I dont know how do you think about it, do you think it can build successful?

@ahayzen-kdab
Copy link
Collaborator

ahayzen-kdab commented Jun 4, 2024

So it looks like it's picked up the right link folder and linker arg?

[build]   cargo:rustc-link-search=framework=/Users/allen/Soft/Qt/6.5.3/macos/lib
[build]   cargo:rustc-link-lib=framework=QtCore

But it's the include paths that are potentially wrong now, looking at this code it appears to naively add the Qt modules as the folder names to the include path when it could be a framework. Maybe we need some specific logic here as well for frameworks ?

/// Get the include paths for Qt, including Qt module subdirectories. This is intended
/// to be passed to whichever tool you are using to invoke the C++ compiler.
pub fn include_paths(&self) -> Vec<PathBuf> {
let root_path = self.qmake_query("QT_INSTALL_HEADERS");
let mut paths = Vec::new();
for qt_module in &self.qt_modules {
paths.push(format!("{root_path}/Qt{qt_module}"));
}
paths.push(root_path);
paths.iter().map(PathBuf::from).collect()
}

@dezbracaty are you able to run the following commands so i can understand what this looks like on macOS? Reading around it appears we might want to add something like /Users/allen/Soft/Qt/6.5.3/macos/lib/QtCore.framework/Headers potentially to our includes

$ qmake -query
$ ls -la /Users/allen/Soft/Qt/6.5.3/macos/
$ ls -la /Users/allen/Soft/Qt/6.5.3/macos/include/
$ ls -la /Users/allen/Soft/Qt/6.5.3/macos/include/QtCore.framework
$ ls -la /Users/allen/Soft/Qt/6.5.3/macos/lib/
$ ls -la /Users/allen/Soft/Qt/6.5.3/macos/lib/QtCore.framework/
$ ls -la /Users/allen/Soft/Qt/6.5.3/macos/lib/QtCore.framework/Headers

@ahayzen-kdab ahayzen-kdab reopened this Jun 4, 2024
@ahayzen-kdab
Copy link
Collaborator

Hmm but also an #include <QtCore/QObject> should supposedly automatically resolve using frameworks when the framework path has been set (which we have done via cargo:rustc-link-search=framework=/Users/allen/Soft/Qt/6.5.3/macos/lib. And yes odd how the clang line doesn't have any -F to reflect that 🤔

@ahayzen-kdab
Copy link
Collaborator

So thinking about this more i think the issue is more subtle, we are telling cargo correctly where the framework folder is to include and link to (this can be seen by cargo:rustc-link-search=framework=/Users/allen/Soft/Qt/6.5.3/macos/lib).

But we are not telling our inner cc builders where to include correctly, i wonder if providing /Users/allen/Soft/Qt/6.5.3/macos/lib as a -L is enough for it to figure it out or if cc::Build has a way to pass in -F

@ahayzen-kdab
Copy link
Collaborator

@dezbracaty are you able to try out #970 and see if that changes anything? Could you also provide the output of the build again so i can see if it changes anything?

ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Jun 5, 2024
@dezbracaty
Copy link
Author

dezbracaty commented Jun 5, 2024

But it's the include paths that are potentially wrong now, looking at this code it appears to naively add the Qt modules as the folder names to the include path when it could be a framework. Maybe we need some specific logic here as well for frameworks ?

Thanks for your replying !
I find out the reason is the qmake program that I install it by qt online installer, "qmake -query xxx" output the directory is different from that I installed by using "brew install qt".
Specificallly,when I install qt using online installer and it has no include directory under install path, or the path to the include directory is very special that there was no logic to handle it.But when I install qt using "brew install qt ", Its include path and corresponding qmake specified path were fine ,so the program can parser it correctly. Over all , there is a bug in this program , but the bug is due to Qt's online installer uses a different logic to place header files. If anyone has same problem, I suggest they use "
brew install qt " to fix this problem.
And thanks for you replying again ~!

@dezbracaty
Copy link
Author

@dezbracaty are you able to try out #970 and see if that changes anything? Could you also provide the output of the build again so i can see if it changes anything?

Your changes is same as me. But if you fix this problem by using -F ,then there will be a @rpath error .
0b79a8a8a146abf2725ade97c44f7909
This bug is very hard to fix... I haven't fix it until now .
So I just use "brew install qt" to fix the "QtCore not found" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working 🔨 build system Issues related to integrating CXX-Qt into CMake/Cargo
Projects
None yet
4 participants