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

Apple CI build testing #120744

Closed
wants to merge 11 commits into from
Closed

Apple CI build testing #120744

wants to merge 11 commits into from

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Feb 7, 2024

No description provided.

@ehuss ehuss self-assigned this Feb 7, 2024
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Feb 7, 2024
@ehuss
Copy link
Contributor Author

ehuss commented Feb 7, 2024

@bors try

@bors
Copy link
Contributor

bors commented Feb 7, 2024

⌛ Trying commit 1a00bd1 with merge 92a25b3...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 7, 2024
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Feb 7, 2024

💔 Test failed - checks-actions

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 7, 2024
@ehuss
Copy link
Contributor Author

ehuss commented Feb 7, 2024

@bors try

@bors
Copy link
Contributor

bors commented Feb 7, 2024

⌛ Trying commit cde57c3 with merge cb20da4...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 7, 2024
@bors
Copy link
Contributor

bors commented Feb 7, 2024

☀️ Try build successful - checks-actions
Build commit: cb20da4 (cb20da4158caa13558ebafa7a68e8287af56bd48)

@ehuss
Copy link
Contributor Author

ehuss commented Feb 7, 2024

@bors try

@bors
Copy link
Contributor

bors commented Feb 7, 2024

⌛ Trying commit cde57c3 with merge bf24d04...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 7, 2024
@bors
Copy link
Contributor

bors commented Feb 8, 2024

☀️ Try build successful - checks-actions
Build commit: bf24d04 (bf24d0484e8e6b93146c6757d6d396328503fb45)

@ehuss
Copy link
Contributor Author

ehuss commented Feb 8, 2024

@bors try

@bors
Copy link
Contributor

bors commented Feb 8, 2024

⌛ Trying commit cde57c3 with merge d542678...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 8, 2024
@bors
Copy link
Contributor

bors commented Feb 8, 2024

☀️ Try build successful - checks-actions
Build commit: d542678 (d542678da87cca790a71a745e7d8751614912f9d)

@ehuss
Copy link
Contributor Author

ehuss commented Feb 8, 2024

@bors try

@bors
Copy link
Contributor

bors commented Feb 8, 2024

⌛ Trying commit cde57c3 with merge c1c52e8...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 8, 2024
@bors
Copy link
Contributor

bors commented Feb 8, 2024

☀️ Try build successful - checks-actions
Build commit: c1c52e8 (c1c52e80f13bd53f3e1e1fb7b494b75843475f52)

@bors
Copy link
Contributor

bors commented Feb 10, 2024

⌛ Trying commit 1c71f53 with merge 97ab023...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 10, 2024
@bors
Copy link
Contributor

bors commented Feb 10, 2024

☀️ Try build successful - checks-actions
Build commit: 97ab023 (97ab023c42b8704940e0be823ba1caad9f37b924)

@ehuss
Copy link
Contributor Author

ehuss commented Feb 10, 2024

@bors try

@bors
Copy link
Contributor

bors commented Feb 10, 2024

⌛ Trying commit 1c71f53 with merge 6f7ec36...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 10, 2024
@bors
Copy link
Contributor

bors commented Feb 11, 2024

☀️ Try build successful - checks-actions
Build commit: 6f7ec36 (6f7ec36e296de9e3b16483af15598892f34019d0)

@ehuss
Copy link
Contributor Author

ehuss commented Feb 11, 2024

@bors try

@bors
Copy link
Contributor

bors commented Feb 11, 2024

⌛ Trying commit 1c71f53 with merge ea38b2e...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 11, 2024
@bors
Copy link
Contributor

bors commented Feb 11, 2024

☀️ Try build successful - checks-actions
Build commit: ea38b2e (ea38b2e29c8686bf203d88746912afc7cbee0aac)

@ehuss
Copy link
Contributor Author

ehuss commented Feb 11, 2024

@bors try

@bors
Copy link
Contributor

bors commented Feb 11, 2024

⌛ Trying commit dfd5bbb with merge ed0866a...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 11, 2024
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Feb 11, 2024

💔 Test failed - checks-actions

@ehuss
Copy link
Contributor Author

ehuss commented Feb 11, 2024

@bors try

@bors
Copy link
Contributor

bors commented Feb 11, 2024

⌛ Trying commit f14facc with merge e626749...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 11, 2024
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Feb 11, 2024

💔 Test failed - checks-actions

@ehuss
Copy link
Contributor Author

ehuss commented Feb 11, 2024

@bors try

@bors
Copy link
Contributor

bors commented Feb 11, 2024

⌛ Trying commit da152e4 with merge 2f27309...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 11, 2024
@rust-log-analyzer
Copy link
Collaborator

The job dist-apple-various-2 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Updating files:  98% (44589/45498)
Updating files:  99% (45044/45498)
Updating files: 100% (45498/45498)
Updating files: 100% (45498/45498), done.
Switched to a new branch 'try'
branch 'try' set up to track 'origin/try'.
[command]/usr/local/bin/git log -1 --format='%H'
'2f27309b66c0c118cfec1fbd9f48e7850ebb2c87'
##[group]Run src/ci/scripts/setup-environment.sh
src/ci/scripts/setup-environment.sh
---
SCRIPT=./x.py dist bootstrap --include-default-paths --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim
SELECT_XCODE=/Applications/Xcode_15.2.app
SHELL=/bin/bash
SHLVL=3
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.GCebWP1f0r/Listeners
STATS_EXTP=https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data
STATS_RDCL=true
STATS_TIS=mining
STATS_TRP=true
---
[117/119] Building CXX object lib/asan/CMakeFiles/RTAsan_dynamic.ios.dir/asan_thread.cpp.o
[118/119] Building CXX object lib/asan/CMakeFiles/RTAsan_dynamic.ios.dir/asan_interceptors.cpp.o
[119/119] Linking CXX shared library lib/darwin/libclang_rt.asan_ios_dynamic.dylib
clang-14: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
-iphoneos_version_min has been renamed to -ios_version_min
ld: warning: '/Users/runner/work/rust/rust/build/aarch64-apple-ios/native/sanitizers/build/lib/asan/CMakeFiles/RTAsan_dynamic.ios.dir/asan_allocator.cpp.o' has malformed LC_DYSYMTAB, expected 68 undefined symbols to start at index 211, found 65 undefined symbols starting at index 211
ld: warning: '/Users/runner/work/rust/rust/build/aarch64-apple-ios/native/sanitizers/build/lib/asan/CMakeFiles/RTAsan_dynamic.ios.dir/asan_descriptions.cpp.o' has malformed LC_DYSYMTAB, expected 51 undefined symbols to start at index 96, found 48 undefined symbols starting at index 96
ld: warning: '/Users/runner/work/rust/rust/build/aarch64-apple-ios/native/sanitizers/build/lib/asan/CMakeFiles/RTAsan_dynamic.ios.dir/asan_debugging.cpp.o' has malformed LC_DYSYMTAB, expected 26 undefined symbols to start at index 28, found 23 undefined symbols starting at index 28
ld: warning: '/Users/runner/work/rust/rust/build/aarch64-apple-ios/native/sanitizers/build/lib/asan/CMakeFiles/RTAsan_dynamic.ios.dir/asan_activation.cpp.o' has malformed LC_DYSYMTAB, expected 35 undefined symbols to start at index 51, found 32 undefined symbols starting at index 51
---
[35/36] Building CXX object lib/tsan/rtl/CMakeFiles/clang_rt.tsan_ios_dynamic.dir/tsan_interceptors_libdispatch.cpp.o
[36/36] Linking CXX shared library lib/darwin/libclang_rt.tsan_ios_dynamic.dylib
clang-14: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
/Applications/Xcode_15.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: warning: changes being made to the file will invalidate the code signature in: /Users/runner/work/rust/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/aarch64-apple-ios/lib/librustc-nightly_rt.asan.dylib
-iphoneos_version_min has been renamed to -ios_version_min
/Users/runner/work/rust/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/aarch64-apple-ios/lib/librustc-nightly_rt.asan.dylib: replacing existing signature
 finished in 97.387 seconds
##[endgroup]
[TIMING] core::build_steps::llvm::Sanitizers { target: aarch64-apple-ios } -- 97.387
---
-- Found assembler: /Users/runner/work/rust/rust/clang+llvm-14.0.5-x86_64-apple-darwin/bin/clang
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /Users/runner/work/rust/rust/clang+llvm-14.0.5-x86_64-apple-darwin/bin/clang
CMake Error at /usr/local/Cellar/cmake/3.28.1/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
-- Check for working C compiler: /Users/runner/work/rust/rust/clang+llvm-14.0.5-x86_64-apple-darwin/bin/clang - broken

    "/Users/runner/work/rust/rust/clang+llvm-14.0.5-x86_64-apple-darwin/bin/clang"

  is not able to compile a simple test program.
  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/Users/runner/work/rust/rust/build/x86_64-apple-ios/native/sanitizers/build/CMakeFiles/CMakeScratch/TryCompile-PbLvxI'
    
    Run Build Command(s): /usr/local/bin/ninja -v cmTC_137f1
    [1/2] /Users/runner/work/rust/rust/clang+llvm-14.0.5-x86_64-apple-darwin/bin/clang --target=x86_64-apple-ios   -fPIC --target=x86_64-apple-ios -m64 -mios-simulator-version-min=7.0 -isysroot /Applications/Xcode_15.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -fembed-bitcode -fdebug-prefix-map=/Users/runner/work/rust/rust=/rustc/llvm -fembed-bitcode=off -MD -MT CMakeFiles/cmTC_137f1.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_137f1.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_137f1.dir/testCCompiler.c.o -c /Users/runner/work/rust/rust/build/x86_64-apple-ios/native/sanitizers/build/CMakeFiles/CMakeScratch/TryCompile-PbLvxI/testCCompiler.c
    [2/2] : && /Users/runner/work/rust/rust/clang+llvm-14.0.5-x86_64-apple-darwin/bin/clang --target=x86_64-apple-ios -fPIC --target=x86_64-apple-ios -m64 -mios-simulator-version-min=7.0 -isysroot /Applications/Xcode_15.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -fembed-bitcode -fdebug-prefix-map=/Users/runner/work/rust/rust=/rustc/llvm -fembed-bitcode=off -Wl,-search_paths_first  -static-libstdc++ CMakeFiles/cmTC_137f1.dir/testCCompiler.c.o -o cmTC_137f1   && :
    FAILED: cmTC_137f1 
    : && /Users/runner/work/rust/rust/clang+llvm-14.0.5-x86_64-apple-darwin/bin/clang --target=x86_64-apple-ios -fPIC --target=x86_64-apple-ios -m64 -mios-simulator-version-min=7.0 -isysroot /Applications/Xcode_15.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -fembed-bitcode -fdebug-prefix-map=/Users/runner/work/rust/rust=/rustc/llvm -fembed-bitcode=off -Wl,-search_paths_first  -static-libstdc++ CMakeFiles/cmTC_137f1.dir/testCCompiler.c.o -o cmTC_137f1   && :
    clang-14: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
    ld: unknown options: -ios_simulator_version_min 
    clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
    ninja: build stopped: subcommand failed.
    

  


  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:14 (project)


-- Configuring incomplete, errors occurred!
thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.48/src/lib.rs:975:5:
command did not execute successfully, got: exit status: 1

build script failed, must exit now
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@bors
Copy link
Contributor

bors commented Feb 11, 2024

💔 Test failed - checks-actions

@ehuss ehuss closed this Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants