Skip to content

[DO NOT MERGE] start building Enzyme in CI #140064

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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

ZuseZ4
Copy link
Member

@ZuseZ4 ZuseZ4 commented Apr 20, 2025

My goal is to put this in CI on April 26, to have a week to land some of the outstanding PRs (removed # in front of it to avoid spamming them every time I do a try build in this PR):
139700 [Landed]
139308 [In the queue]
140104 [Landed]
140030 [Landed]
140049 [Almost ready]
140244 [WIP]
The autodiff flags PR should land first, but otherwise they don't overlap and are mostly ready, so it shouldn't be too hard to land them. In the meantime, I'll experiment here with some builders.

A fix for 140137 (Apple CI) would be nice, but I'm also happy to start with the working linux (x86-64 + aarch) as the most common target, and expand from there.

r? @oli-obk

Tracking:

  • 124509

Linux
succeeded try with plugins and without plugins & with llvm-enzyme enabled: dist-x86_64-linux
succeeded try with plugins and without plugins & with llvm-enzyme enabled: dist-aarch64-linux

MacOS
failed try with plugins & llvm-enzyme enabled: dist-x86_64-apple (#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-apple-various (#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-aarch64-apple (#140064 (comment))

Windows
failed try with plugins & llvm-enzyme enabled: dist-x86_64-mingw (#140064 (comment))

try-job: dist-aarch64-apple

@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 Apr 20, 2025
@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Apr 20, 2025

@bors try

@bors
Copy link
Collaborator

bors commented Apr 20, 2025

⌛ Trying commit 1302345 with merge 85630b7...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 20, 2025
[DO NOT MERGE] start building enzyme on x86_64-gnu-llvm-{19|20} builders

My goal is to put this in CI on April 26, to have a week to land some of the outstanding PRs:
rust-lang#139700
rust-lang#139308
rust-lang#139557
rust-lang#140030
rust-lang#140049
The autodiff flags PR should land first, but otherwise they don't overlap and are mostly ready, so it shouldn't be too hard to land them. In the meantime, I'll experiment here with some builders.

r? `@oli-obk`

Tracking:

- rust-lang#124509

try-job: x86_64-gnu-llvm-19
try-job: x86_64-gnu-llvm-20
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Apr 20, 2025

@bors try @rust-timer queue

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 20, 2025
[DO NOT MERGE] start building enzyme on x86_64-gnu-llvm-{19|20} builders

My goal is to put this in CI on April 26, to have a week to land some of the outstanding PRs:
rust-lang#139700
rust-lang#139308
rust-lang#139557
rust-lang#140030
rust-lang#140049
The autodiff flags PR should land first, but otherwise they don't overlap and are mostly ready, so it shouldn't be too hard to land them. In the meantime, I'll experiment here with some builders.

r? `@oli-obk`

Tracking:

- rust-lang#124509

try-job: dist-x86_64-linux
@bors
Copy link
Collaborator

bors commented Apr 20, 2025

⌛ Trying commit ca4cd19 with merge 22fa494...

@rust-log-analyzer

This comment has been minimized.

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Apr 20, 2025
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Apr 20, 2025

💔 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 Apr 20, 2025
@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Apr 21, 2025

@jieyouxu I tried running both tests/ui/feature-gates/feature-gate-autodiff-use.rs and tests/ui/autodiff/visibility.rs with llvm.enzyme being either true or false in bootstrap.toml. I couldn't reproduce it that way. I also tried to copy the --cfg flags I saw in the log. Do you have recommendations on how to reproduce it locally (so I can update my rustc dev docs)?

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Apr 21, 2025

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 21, 2025
[DO NOT MERGE] start building enzyme on x86_64-gnu-llvm-{19|20} builders

My goal is to put this in CI on April 26, to have a week to land some of the outstanding PRs (removed # in front of it to avoid spamming them every time I do a try build in this PR):
139700
139308
139557
140030
140049
The autodiff flags PR should land first, but otherwise they don't overlap and are mostly ready, so it shouldn't be too hard to land them. In the meantime, I'll experiment here with some builders.

r? `@oli-obk`

Tracking:

- rust-lang#124509

try-job: dist-x86_64-linux
@bors
Copy link
Collaborator

bors commented Apr 21, 2025

⌛ Trying commit 4b353ac with merge e690318...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Apr 21, 2025

☀️ Try build successful - checks-actions
Build commit: e690318 (e690318f2c437976796a1aff8927ff8793b4d1b7)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (e690318): comparison URL.

Overall result: ❌ regressions - please read the text below

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

This is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.

mean range count
Regressions ❌
(primary)
2.6% [2.4%, 2.8%] 4
Regressions ❌
(secondary)
1.5% [1.0%, 2.3%] 11
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 2.6% [2.4%, 2.8%] 4

Max RSS (memory usage)

Results (primary 0.8%, secondary 1.9%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.9% [0.4%, 1.8%] 27
Regressions ❌
(secondary)
3.2% [1.5%, 7.4%] 9
Improvements ✅
(primary)
-0.7% [-0.7%, -0.7%] 1
Improvements ✅
(secondary)
-1.8% [-2.1%, -1.6%] 3
All ❌✅ (primary) 0.8% [-0.7%, 1.8%] 28

Cycles

Results (primary 0.8%, secondary 2.3%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.8% [0.4%, 2.8%] 10
Regressions ❌
(secondary)
2.3% [1.8%, 3.0%] 4
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.8% [0.4%, 2.8%] 10

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 775.102s -> 775.899s (0.10%)
Artifact size: 365.03 MiB -> 365.22 MiB (0.05%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Apr 21, 2025
@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Apr 28, 2025

Now retrying after fixing rust-lang/enzyme#4
@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 28, 2025
[DO NOT MERGE] start building Enzyme in CI

My goal is to put this in CI on April 26, to have a week to land some of the outstanding PRs (removed # in front of it to avoid spamming them every time I do a try build in this PR):
139700 [Landed]
139308 [In the queue]
140104 [Landed]
140030 [Landed]
140049 [Almost ready]
140244 [WIP]
The autodiff flags PR should land first, but otherwise they don't overlap and are mostly ready, so it shouldn't be too hard to land them. In the meantime, I'll experiment here with some builders.

A fix for 140137 (Apple CI) would be nice, but I'm also happy to start with the working linux (x86-64 + aarch) as the most common target, and expand from there.

r? `@oli-obk`

Tracking:

- 124509

**Linux**
succeeded try with plugins and without plugins & with llvm-enzyme enabled:  dist-x86_64-linux
succeeded try with plugins and without plugins & with llvm-enzyme enabled:  dist-aarch64-linux

**MacOS**
failed try with plugins & llvm-enzyme enabled: dist-x86_64-apple (rust-lang#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-apple-various (rust-lang#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-aarch64-apple (rust-lang#140064 (comment))

**Windows**
failed try with plugins & llvm-enzyme enabled: dist-x86_64-mingw (rust-lang#140064 (comment))

try-job: dist-aarch64-apple
@bors
Copy link
Collaborator

bors commented Apr 28, 2025

⌛ Trying commit ab667c0 with merge cd748be...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Apr 28, 2025

💔 Test failed - checks-actions

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Apr 28, 2025

@Kobzol it seems like CI doesn't pick up my PR https://github.com/rust-lang/enzyme/pull/4/files?
At least the error on line 158 seems like it may have cached the older Enzyme? https://github.com/rust-lang-ci/rust/actions/runs/14717456116/job/41304116269#step:28:6231
You can verify under (checkout submodules) that we checkout rust-lang/Enzyme, and not EnzymeAD/Enzyme, so the fix is merged.

Edit: nvm, I was braindead. I somehow thought that by moving from EnzymeAD/Enzyme to rust-lang/Enzyme I'd magically get the latest repo source code, but of course I still need to update the submodule. sigh

@rustbot rustbot added the F-autodiff `#![feature(autodiff)]` label Apr 28, 2025
@rustbot
Copy link
Collaborator

rustbot commented Apr 28, 2025

⚠️ Warning ⚠️

  • Some commits in this PR modify submodules.

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Apr 28, 2025

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 28, 2025
[DO NOT MERGE] start building Enzyme in CI

My goal is to put this in CI on April 26, to have a week to land some of the outstanding PRs (removed # in front of it to avoid spamming them every time I do a try build in this PR):
139700 [Landed]
139308 [In the queue]
140104 [Landed]
140030 [Landed]
140049 [Almost ready]
140244 [WIP]
The autodiff flags PR should land first, but otherwise they don't overlap and are mostly ready, so it shouldn't be too hard to land them. In the meantime, I'll experiment here with some builders.

A fix for 140137 (Apple CI) would be nice, but I'm also happy to start with the working linux (x86-64 + aarch) as the most common target, and expand from there.

r? `@oli-obk`

Tracking:

- 124509

**Linux**
succeeded try with plugins and without plugins & with llvm-enzyme enabled:  dist-x86_64-linux
succeeded try with plugins and without plugins & with llvm-enzyme enabled:  dist-aarch64-linux

**MacOS**
failed try with plugins & llvm-enzyme enabled: dist-x86_64-apple (rust-lang#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-apple-various (rust-lang#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-aarch64-apple (rust-lang#140064 (comment))

**Windows**
failed try with plugins & llvm-enzyme enabled: dist-x86_64-mingw (rust-lang#140064 (comment))

try-job: dist-aarch64-apple
@bors
Copy link
Collaborator

bors commented Apr 28, 2025

⌛ Trying commit 78b1442 with merge df2a9965f4c4166b40c6965b5bb46cd15b0bbf7d...

@bors
Copy link
Collaborator

bors commented Apr 28, 2025

💔 Test failed - checks-actions

@rust-log-analyzer

This comment has been minimized.

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Apr 28, 2025

Who doesn't love cmake linker issues.
@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 28, 2025
[DO NOT MERGE] start building Enzyme in CI

My goal is to put this in CI on April 26, to have a week to land some of the outstanding PRs (removed # in front of it to avoid spamming them every time I do a try build in this PR):
139700 [Landed]
139308 [In the queue]
140104 [Landed]
140030 [Landed]
140049 [Almost ready]
140244 [WIP]
The autodiff flags PR should land first, but otherwise they don't overlap and are mostly ready, so it shouldn't be too hard to land them. In the meantime, I'll experiment here with some builders.

A fix for 140137 (Apple CI) would be nice, but I'm also happy to start with the working linux (x86-64 + aarch) as the most common target, and expand from there.

r? `@oli-obk`

Tracking:

- 124509

**Linux**
succeeded try with plugins and without plugins & with llvm-enzyme enabled:  dist-x86_64-linux
succeeded try with plugins and without plugins & with llvm-enzyme enabled:  dist-aarch64-linux

**MacOS**
failed try with plugins & llvm-enzyme enabled: dist-x86_64-apple (rust-lang#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-apple-various (rust-lang#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-aarch64-apple (rust-lang#140064 (comment))

**Windows**
failed try with plugins & llvm-enzyme enabled: dist-x86_64-mingw (rust-lang#140064 (comment))

try-job: dist-aarch64-apple
@bors
Copy link
Collaborator

bors commented Apr 28, 2025

⌛ Trying commit d7de6e4 with merge b9a66f3...

@rust-log-analyzer

This comment has been minimized.

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Apr 28, 2025

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 28, 2025
[DO NOT MERGE] start building Enzyme in CI

My goal is to put this in CI on April 26, to have a week to land some of the outstanding PRs (removed # in front of it to avoid spamming them every time I do a try build in this PR):
139700 [Landed]
139308 [In the queue]
140104 [Landed]
140030 [Landed]
140049 [Almost ready]
140244 [WIP]
The autodiff flags PR should land first, but otherwise they don't overlap and are mostly ready, so it shouldn't be too hard to land them. In the meantime, I'll experiment here with some builders.

A fix for 140137 (Apple CI) would be nice, but I'm also happy to start with the working linux (x86-64 + aarch) as the most common target, and expand from there.

r? `@oli-obk`

Tracking:

- 124509

**Linux**
succeeded try with plugins and without plugins & with llvm-enzyme enabled:  dist-x86_64-linux
succeeded try with plugins and without plugins & with llvm-enzyme enabled:  dist-aarch64-linux

**MacOS**
failed try with plugins & llvm-enzyme enabled: dist-x86_64-apple (rust-lang#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-apple-various (rust-lang#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-aarch64-apple (rust-lang#140064 (comment))

**Windows**
failed try with plugins & llvm-enzyme enabled: dist-x86_64-mingw (rust-lang#140064 (comment))

try-job: dist-aarch64-apple
@bors
Copy link
Collaborator

bors commented Apr 28, 2025

⌛ Trying commit 7d2b753 with merge ea979c1...

@rust-log-analyzer

This comment has been minimized.

@ZuseZ4 ZuseZ4 force-pushed the enable-autodiff-in-ci branch from 7d2b753 to ccf0e4f Compare April 28, 2025 23:06
@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Apr 28, 2025

@bors try

@bors
Copy link
Collaborator

bors commented Apr 28, 2025

⌛ Trying commit ccf0e4f with merge 1abb0d3...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 28, 2025
[DO NOT MERGE] start building Enzyme in CI

My goal is to put this in CI on April 26, to have a week to land some of the outstanding PRs (removed # in front of it to avoid spamming them every time I do a try build in this PR):
139700 [Landed]
139308 [In the queue]
140104 [Landed]
140030 [Landed]
140049 [Almost ready]
140244 [WIP]
The autodiff flags PR should land first, but otherwise they don't overlap and are mostly ready, so it shouldn't be too hard to land them. In the meantime, I'll experiment here with some builders.

A fix for 140137 (Apple CI) would be nice, but I'm also happy to start with the working linux (x86-64 + aarch) as the most common target, and expand from there.

r? `@oli-obk`

Tracking:

- 124509

**Linux**
succeeded try with plugins and without plugins & with llvm-enzyme enabled:  dist-x86_64-linux
succeeded try with plugins and without plugins & with llvm-enzyme enabled:  dist-aarch64-linux

**MacOS**
failed try with plugins & llvm-enzyme enabled: dist-x86_64-apple (rust-lang#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-apple-various (rust-lang#140064 (comment))
failed try with plugins & llvm-enzyme enabled: dist-aarch64-apple (rust-lang#140064 (comment))

**Windows**
failed try with plugins & llvm-enzyme enabled: dist-x86_64-mingw (rust-lang#140064 (comment))

try-job: dist-aarch64-apple
@rust-log-analyzer
Copy link
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
Updating files:  98% (52004/53065)
Updating files:  99% (52535/53065)
Updating files: 100% (53065/53065)
Updating files: 100% (53065/53065), done.
Switched to a new branch 'try'
branch 'try' set up to track 'origin/try'.
##[endgroup]
[command]/opt/homebrew/bin/git log -1 --format=%H
ea979c1552c24701542a2377d698828ff501202b
##[group]Run src/ci/scripts/setup-environment.sh
src/ci/scripts/setup-environment.sh
---
file:.git/config remote.origin.url=https://github.com/rust-lang-ci/rust
file:.git/config remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
file:.git/config gc.auto=0
file:.git/config http.https://github.com/.extraheader=AUTHORIZATION: basic ***
file:.git/config branch.try.remote=origin
file:.git/config branch.try.merge=refs/heads/try
file:.git/config submodule.library/backtrace.active=true
file:.git/config submodule.library/backtrace.url=https://github.com/rust-lang/backtrace-rs.git
file:.git/config submodule.library/stdarch.active=true
file:.git/config submodule.library/stdarch.url=https://github.com/rust-lang/stdarch.git
file:.git/config submodule.src/doc/book.active=true
---
CMAKE_aarch64-apple-darwin = None
CMAKE_aarch64_apple_darwin = None
HOST_CMAKE = None
CMAKE = None
running: cd "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build" && CMAKE_PREFIX_PATH="" DESTDIR="" LC_ALL="C" LLVM_CONFIG_REAL="/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/bin/llvm-config" "cmake" "/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/" "-DCMAKE_OSX_ARCHITECTURES=arm64" "-DCMAKE_INSTALL_MESSAGE=LAZY" "-DCMAKE_C_COMPILER_LAUNCHER=sccache" "-DCMAKE_CXX_COMPILER_LAUNCHER=sccache" "-DCMAKE_C_COMPILER=/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" "-DCMAKE_CXX_COMPILER=/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" "-DCMAKE_ASM_COMPILER=/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" "-DCMAKE_C_FLAGS=-ffunction-sections -fdata-sections -fPIC --target=arm64-apple-macosx -mmacosx-version-min=11 -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -fdebug-prefix-map=/Users/runner/work/rust/rust=/rustc/llvm" "-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC --target=arm64-apple-macosx -mmacosx-version-min=11 -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -stdlib=libc++ -fdebug-prefix-map=/Users/runner/work/rust/rust=/rustc/llvm" "-DCMAKE_SHARED_LINKER_FLAGS= -static-libstdc++" "-DCMAKE_MODULE_LINKER_FLAGS= -static-libstdc++" "-DCMAKE_EXE_LINKER_FLAGS= -static-libstdc++" "-DLLVM_ENABLE_ASSERTIONS=ON" "-DENZYME_EXTERNAL_SHARED_LIB=ON" "-DLLVM_DIR=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build" "-DCMAKE_INSTALL_PREFIX=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC --target=arm64-apple-macosx -mmacosx-version-min=11 -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk" "-DCMAKE_BUILD_TYPE=Release"
-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
LLVM_SHLIBEXT=.dylib
LLVM ABS DIR /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build/lib/cmake/llvm
CMAKE_PREFIX_PATH 
-- Found ZLIB: /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/lib/libz.tbd (found version "1.2.12")
LLVM_ENABLE_PLUGINS OFF
Setting ENZYME_ENABLE_PLUGINS OFF
found llvm match  dir /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build/lib/cmake/llvm
---
mlir dir 
found Clang 0
found MLIR 0
LLVM_INSTALL_PREFIX: 
LLVM_INCLUDE_DIRS: /Users/runner/work/rust/rust/src/llvm-project/llvm/include;/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build/include
found LLVM definitions -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
found LLVM version 20
first llvm include directory/Users/runner/work/rust/rust/src/llvm-project/llvm/include
-- Looking for mpfr.h
-- Looking for mpfr.h - not found
MPFR lib: /opt/homebrew/lib/libmpfr.dylib
---
    CMAKE_ASM_COMPILER
    CMAKE_ASM_FLAGS


-- Build files have been written to: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build
running: cd "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build" && DESTDIR="" LC_ALL="C" LLVM_CONFIG_REAL="/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/bin/llvm-config" "cmake" "--build" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build" "--target" "install" "--config" "Release" "--" "-j" "3"
[  1%] Building CXX object tools/enzyme-tblgen/CMakeFiles/enzyme-tblgen.dir/blas-tblgen.cpp.o
[  2%] Building CXX object tools/enzyme-tblgen/CMakeFiles/enzyme-tblgen.dir/datastructures.cpp.o
[  2%] Built target intrinsics_gen
[  3%] Building CXX object tools/enzyme-tblgen/CMakeFiles/enzyme-tblgen.dir/caching.cpp.o
[  4%] Building CXX object tools/enzyme-tblgen/CMakeFiles/enzyme-tblgen.dir/enzyme-tblgen.cpp.o
[  5%] Linking CXX executable enzyme-tblgen
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[  5%] Built target enzyme-tblgen
[  7%] Building BlasAttributor.inc...
[  7%] Building BlasDerivatives.inc...
[  8%] Building BinopDerivatives.inc...
[  9%] Building BlasDiffUse.inc...
[ 10%] Building BlasTA.inc...
[ 11%] Building IntrinsicDerivatives.inc...
[ 12%] Building CallDerivatives.inc...
[ 13%] Building InstructionDerivatives.inc...
[ 13%] Built target BinopDerivativesIncGen
[ 22%] Built target IntrinsicDerivativesIncGen
[ 31%] Built target CallDerivativesIncGen
[ 39%] Built target InstructionDerivativesIncGen
[ 48%] Built target BlasDerivativesIncGen
[ 56%] Built target BlasDeclarationsIncGen
[ 65%] Built target BlasTAIncGen
[ 74%] Built target BlasDiffUseIncGen
[ 75%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/ActivityAnalysis.cpp.o
[ 76%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/CApi.cpp.o
[ 77%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/ActivityAnalysisPrinter.cpp.o
[ 78%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/CacheUtility.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CApi.cpp:919:9: warning: 'moveBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
    I1->moveBefore(I2);
        ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:243:3: note: 'moveBefore' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions", "")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
1 warning generated.
[ 79%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/CallDerivatives.cpp.o
[ 80%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/DiffeGradientUtils.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CacheUtility.cpp:198:12: warning: 'moveBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
      Inc->moveBefore(getFirstNonPHIOrDbg(Header));
           ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:243:3: note: 'moveBefore' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions", "")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CacheUtility.cpp:255:54: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
        Exp.expandCodeFor(S, Tmp->getType(), Header->getFirstNonPHI());
                                                     ^~~~~~~~~~~~~~
                                                     getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions instead",
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CacheUtility.cpp:275:50: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
  Increment->moveAfter(CanonicalIV->getParent()->getFirstNonPHI());
                                                 ^~~~~~~~~~~~~~
                                                 getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions instead",
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CacheUtility.cpp:389:52: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
    Increment->moveAfter(CanonicalIV->getParent()->getFirstNonPHI());
                                                   ^~~~~~~~~~~~~~
                                                   getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions instead",
  ^
---
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
5 warnings generated.
[ 81%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/DifferentialUseAnalysis.cpp.o
[ 82%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/Enzyme.cpp.o
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:126:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:127:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:128:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:129:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:130:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:334:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:335:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:336:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:337:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:338:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:120:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:121:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:122:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:123:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:124:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:363:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:364:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:365:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:366:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:367:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:649:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:650:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:651:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:652:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:653:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1035:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1036:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1037:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1038:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1039:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1388:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1389:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1390:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1391:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1392:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:142:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:143:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:144:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:145:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:146:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:373:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
---
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/FunctionUtils.cpp:1107:47: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/EnzymeLogic.cpp:5788:31: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
        B.SetInsertPoint(II->getNormalDest()->getFirstNonPHI());
  IRBuilder<> Builder2(entry->getFirstNonPHI());
                                              ^~~~~~~~~~~~~~
                              ^~~~~~~~~~~~~~
                                              getFirstNonPHIIt
                              getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
---
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
                                                 ^
137 warnings generated.
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/FunctionUtils.cpp:5534:39: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
    B.SetInsertPoint(PN->getParent()->getFirstNonPHI());
                                      ^~~~~~~~~~~~~~
                                      getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions instead",
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/FunctionUtils.cpp:5559:39: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
        auto point = PN->getParent()->getFirstNonPHI();
                                      ^~~~~~~~~~~~~~
                                      getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions instead",
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/FunctionUtils.cpp:6071:20: warning: 'moveBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
          (*iter)->moveBefore(br);
                   ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:243:3: note: 'moveBefore' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions", "")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/FunctionUtils.cpp:7520:37: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
      IRBuilder<> B(L->getHeader()->getFirstNonPHI());
                                    ^~~~~~~~~~~~~~
                                    getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions instead",
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
6 warnings generated.
[ 88%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/JLInstSimplify.cpp.o
[ 88%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/InstructionBatcher.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/GradientUtils.cpp:465:38: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
  lbuilder.SetInsertPoint(lc.header->getFirstNonPHI());
                                     ^~~~~~~~~~~~~~
                                     getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions instead",
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/GradientUtils.cpp:6221:48: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
        IRBuilder<> postPhi(NewV->getParent()->getFirstNonPHI());
                                               ^~~~~~~~~~~~~~
                                               getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions instead",
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
2 warnings generated.
[ 89%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/MustExitScalarEvolution.cpp.o
[ 90%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/PreserveNVVM.cpp.o
[ 91%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TraceGenerator.cpp.o
[ 92%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TraceInterface.cpp.o
[ 93%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TraceUtils.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/TraceGenerator.cpp:87:25: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
    auto name = Builder.CreateGlobalStringPtr(arg->getName());
                        ^~~~~~~~~~~~~~~~~~~~~
                        CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
---
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
3 warnings generated.
[ 94%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/Utils.cpp.o
[ 95%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TypeAnalysis/TypeTree.cpp.o
[ 96%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TypeAnalysis/TypeAnalysis.cpp.o
[ 97%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TypeAnalysis/TypeAnalysisPrinter.cpp.o
[ 98%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TypeAnalysis/RustDebugInfo.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/TypeAnalysis/TypeAnalysis.cpp:855:8: warning: 'insertBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
    I->insertBefore(TA.fntypeinfo.Function->getEntryBlock().getTerminator());
       ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:214:3: note: 'insertBefore' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions", "")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/TypeAnalysis/TypeAnalysis.cpp:1735:6: warning: 'insertBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
  I->insertBefore(fntypeinfo.Function->getEntryBlock().getTerminator());
     ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:214:3: note: 'insertBefore' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions", "")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
2 warnings generated.
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/TypeAnalysis/RustDebugInfo.cpp:68:45: warning: 'get' is deprecated: Use cast instead [-Wdeprecated-declarations]
      if (auto Count = Subrange->getCount().get<ConstantInt *>()) {
                                            ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/ADT/PointerUnion.h:161:12: note: 'get' has been explicitly marked deprecated here
  inline T get() const {
           ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/TypeAnalysis/RustDebugInfo.cpp:68:45: warning: 'get<llvm::ConstantInt *>' is deprecated: Use cast instead [-Wdeprecated-declarations]
      if (auto Count = Subrange->getCount().get<ConstantInt *>()) {
                                            ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/ADT/PointerUnion.h:160:5: note: 'get<llvm::ConstantInt *>' has been explicitly marked deprecated here
  [[deprecated("Use cast instead")]]
    ^
2 warnings generated.
[100%] Linking CXX shared library libEnzyme-20.dylib
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
ld: warning: search path '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build/lib/cmake/llvm/lib' not found
ld: library 'LLVM' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Enzyme/libEnzyme-20.dylib] Error 1
make[1]: *** [Enzyme/CMakeFiles/Enzyme-20.dir/all] Error 2
make: *** [all] Error 2

thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.54/src/lib.rs:1119:5:

command did not execute successfully, got: exit status: 2

@rust-log-analyzer
Copy link
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
Updating files:  98% (52004/53065)
Updating files:  99% (52535/53065)
Updating files: 100% (53065/53065)
Updating files: 100% (53065/53065), done.
Switched to a new branch 'try'
branch 'try' set up to track 'origin/try'.
##[endgroup]
[command]/opt/homebrew/bin/git log -1 --format=%H
1abb0d3286cc5b9ff5703e78721c3d239c111952
##[group]Run src/ci/scripts/setup-environment.sh
src/ci/scripts/setup-environment.sh
---
file:.git/config remote.origin.url=https://github.com/rust-lang-ci/rust
file:.git/config remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
file:.git/config gc.auto=0
file:.git/config http.https://github.com/.extraheader=AUTHORIZATION: basic ***
file:.git/config branch.try.remote=origin
file:.git/config branch.try.merge=refs/heads/try
file:.git/config submodule.library/backtrace.active=true
file:.git/config submodule.library/backtrace.url=https://github.com/rust-lang/backtrace-rs.git
file:.git/config submodule.library/stdarch.active=true
file:.git/config submodule.library/stdarch.url=https://github.com/rust-lang/stdarch.git
file:.git/config submodule.src/doc/book.active=true
---
CMAKE_aarch64-apple-darwin = None
CMAKE_aarch64_apple_darwin = None
HOST_CMAKE = None
CMAKE = None
running: cd "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build" && CMAKE_PREFIX_PATH="" DESTDIR="" LC_ALL="C" LLVM_CONFIG_REAL="/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/bin/llvm-config" "cmake" "/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/" "-DCMAKE_OSX_ARCHITECTURES=arm64" "-DCMAKE_INSTALL_MESSAGE=LAZY" "-DCMAKE_C_COMPILER_LAUNCHER=sccache" "-DCMAKE_CXX_COMPILER_LAUNCHER=sccache" "-DCMAKE_C_COMPILER=/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" "-DCMAKE_CXX_COMPILER=/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" "-DCMAKE_ASM_COMPILER=/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" "-DCMAKE_C_FLAGS=-ffunction-sections -fdata-sections -fPIC --target=arm64-apple-macosx -mmacosx-version-min=11 -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -fdebug-prefix-map=/Users/runner/work/rust/rust=/rustc/llvm" "-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC --target=arm64-apple-macosx -mmacosx-version-min=11 -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -stdlib=libc++ -fdebug-prefix-map=/Users/runner/work/rust/rust=/rustc/llvm" "-DCMAKE_SHARED_LINKER_FLAGS= -static-libstdc++" "-DCMAKE_MODULE_LINKER_FLAGS= -static-libstdc++" "-DCMAKE_EXE_LINKER_FLAGS= -static-libstdc++" "-DLLVM_ENABLE_ASSERTIONS=ON" "-DENZYME_EXTERNAL_SHARED_LIB=ON" "-DLLVM_DIR=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build" "-DCMAKE_INSTALL_PREFIX=/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC --target=arm64-apple-macosx -mmacosx-version-min=11 -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk" "-DCMAKE_BUILD_TYPE=Release"
-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
LLVM_SHLIBEXT=.dylib
LLVM ABS DIR /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build/lib/cmake/llvm
CMAKE_PREFIX_PATH 
-- Found ZLIB: /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/lib/libz.tbd (found version "1.2.12")
LLVM_ENABLE_PLUGINS OFF
Setting ENZYME_ENABLE_PLUGINS OFF
found llvm match  dir /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build/lib/cmake/llvm
---
mlir dir 
found Clang 0
found MLIR 0
LLVM_INSTALL_PREFIX: 
LLVM_INCLUDE_DIRS: /Users/runner/work/rust/rust/src/llvm-project/llvm/include;/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build/include
found LLVM definitions -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
found LLVM version 20
first llvm include directory/Users/runner/work/rust/rust/src/llvm-project/llvm/include
-- Looking for mpfr.h
-- Looking for mpfr.h - not found
MPFR lib: /opt/homebrew/lib/libmpfr.dylib
---
    CMAKE_ASM_COMPILER
    CMAKE_ASM_FLAGS


-- Build files have been written to: /Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build
running: cd "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build" && DESTDIR="" LC_ALL="C" LLVM_CONFIG_REAL="/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/bin/llvm-config" "cmake" "--build" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build" "--target" "install" "--config" "Release" "--" "-j" "3"
[  2%] Built target intrinsics_gen
[  2%] Building CXX object tools/enzyme-tblgen/CMakeFiles/enzyme-tblgen.dir/blas-tblgen.cpp.o
[  2%] Building CXX object tools/enzyme-tblgen/CMakeFiles/enzyme-tblgen.dir/datastructures.cpp.o
[  3%] Building CXX object tools/enzyme-tblgen/CMakeFiles/enzyme-tblgen.dir/caching.cpp.o
[  4%] Building CXX object tools/enzyme-tblgen/CMakeFiles/enzyme-tblgen.dir/enzyme-tblgen.cpp.o
[  5%] Linking CXX executable enzyme-tblgen
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[  5%] Built target enzyme-tblgen
[  8%] Building BlasDerivatives.inc...
[  8%] Building BinopDerivatives.inc...
[  8%] Building BlasAttributor.inc...
[  9%] Building BlasDiffUse.inc...
[ 10%] Building BlasTA.inc...
[ 11%] Building IntrinsicDerivatives.inc...
[ 12%] Building CallDerivatives.inc...
[ 13%] Building InstructionDerivatives.inc...
[ 13%] Built target BinopDerivativesIncGen
[ 22%] Built target IntrinsicDerivativesIncGen
[ 31%] Built target CallDerivativesIncGen
[ 39%] Built target InstructionDerivativesIncGen
[ 48%] Built target BlasDerivativesIncGen
[ 56%] Built target BlasDeclarationsIncGen
[ 65%] Built target BlasTAIncGen
[ 74%] Built target BlasDiffUseIncGen
[ 77%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/ActivityAnalysis.cpp.o
[ 77%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/CApi.cpp.o
[ 77%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/ActivityAnalysisPrinter.cpp.o
[ 78%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/CacheUtility.cpp.o
[ 79%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/CallDerivatives.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CApi.cpp:919:9: warning: 'moveBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
    I1->moveBefore(I2);
        ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:243:3: note: 'moveBefore' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions", "")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
1 warning generated.
[ 80%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/DiffeGradientUtils.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CacheUtility.cpp:198:12: warning: 'moveBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
      Inc->moveBefore(getFirstNonPHIOrDbg(Header));
           ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:243:3: note: 'moveBefore' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions", "")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CacheUtility.cpp:255:54: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
        Exp.expandCodeFor(S, Tmp->getType(), Header->getFirstNonPHI());
                                                     ^~~~~~~~~~~~~~
                                                     getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions instead",
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CacheUtility.cpp:275:50: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
  Increment->moveAfter(CanonicalIV->getParent()->getFirstNonPHI());
                                                 ^~~~~~~~~~~~~~
                                                 getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions instead",
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CacheUtility.cpp:389:52: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
    Increment->moveAfter(CanonicalIV->getParent()->getFirstNonPHI());
                                                   ^~~~~~~~~~~~~~
                                                   getFirstNonPHIIt
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/BasicBlock.h:288:3: note: 'getFirstNonPHI' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions instead",
  ^
---
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
5 warnings generated.
[ 81%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/DifferentialUseAnalysis.cpp.o
[ 82%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/Enzyme.cpp.o
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:126:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:127:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:128:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:129:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:130:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:334:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:335:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:336:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:337:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:272:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/InstructionDerivatives.inc:338:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:120:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:121:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:122:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:123:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:124:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:363:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:364:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:365:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:366:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:367:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:649:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:650:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:651:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:652:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:653:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1035:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1036:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1037:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1038:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1039:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1388:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1389:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1390:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1391:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:2302:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/BinopDerivatives.inc:1392:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:142:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:143:49: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *functionNameValue = Builder2.CreateGlobalStringPtr(functionName + " (" +std::to_string(funcIdx) + ")");
                                                ^~~~~~~~~~~~~~~~~~~~~
                                                CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:144:46: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *blockNameValue = Builder2.CreateGlobalStringPtr(blockName + " (" +std::to_string(blockIdx) + ")");
                                             ^~~~~~~~~~~~~~~~~~~~~
                                             CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:145:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *opcodeNameValue = Builder2.CreateGlobalStringPtr(opcodeName + " (" +std::to_string(instIdx) + ")");
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:146:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *calleeNameValue = Builder2.CreateGlobalStringPtr(calleeName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
/Users/runner/work/rust/rust/build/aarch64-apple-darwin/enzyme/build/Enzyme/IntrinsicDerivatives.inc:373:47: warning: 'CreateGlobalStringPtr' is deprecated: Use CreateGlobalString instead [-Wdeprecated-declarations]
            Value *moduleNameValue = Builder2.CreateGlobalStringPtr(moduleName);
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              CreateGlobalString
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2003:3: note: 'CreateGlobalStringPtr' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use CreateGlobalString instead", "CreateGlobalString")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/CallDerivatives.cpp:27:
In file included from /Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/AdjointGenerator.h:3796:
---
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
3 warnings generated.
[ 94%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/Utils.cpp.o
[ 95%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TypeAnalysis/TypeTree.cpp.o
[ 96%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TypeAnalysis/TypeAnalysis.cpp.o
[ 97%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TypeAnalysis/TypeAnalysisPrinter.cpp.o
[ 98%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TypeAnalysis/RustDebugInfo.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/TypeAnalysis/TypeAnalysis.cpp:855:8: warning: 'insertBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
    I->insertBefore(TA.fntypeinfo.Function->getEntryBlock().getTerminator());
       ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:214:3: note: 'insertBefore' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions", "")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/TypeAnalysis/TypeAnalysis.cpp:1735:6: warning: 'insertBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
  I->insertBefore(fntypeinfo.Function->getEntryBlock().getTerminator());
     ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:214:3: note: 'insertBefore' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use iterators as instruction positions", "")
  ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/Support/Compiler.h:234:50: note: expanded from macro 'LLVM_DEPRECATED'
#define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX)))
                                                 ^
2 warnings generated.
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/TypeAnalysis/RustDebugInfo.cpp:68:45: warning: 'get' is deprecated: Use cast instead [-Wdeprecated-declarations]
      if (auto Count = Subrange->getCount().get<ConstantInt *>()) {
                                            ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/ADT/PointerUnion.h:161:12: note: 'get' has been explicitly marked deprecated here
  inline T get() const {
           ^
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/TypeAnalysis/RustDebugInfo.cpp:68:45: warning: 'get<llvm::ConstantInt *>' is deprecated: Use cast instead [-Wdeprecated-declarations]
      if (auto Count = Subrange->getCount().get<ConstantInt *>()) {
                                            ^
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/ADT/PointerUnion.h:160:5: note: 'get<llvm::ConstantInt *>' has been explicitly marked deprecated here
  [[deprecated("Use cast instead")]]
    ^
2 warnings generated.
[100%] Linking CXX shared library libEnzyme-20.dylib
clang: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
ld: warning: search path '/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build/lib/cmake/llvm/lib' not found
ld: library 'LLVM' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Enzyme/libEnzyme-20.dylib] Error 1
make[1]: *** [Enzyme/CMakeFiles/Enzyme-20.dir/all] Error 2
make: *** [all] Error 2

thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.54/src/lib.rs:1119:5:

command did not execute successfully, got: exit status: 2

@bors
Copy link
Collaborator

bors commented Apr 28, 2025

💔 Test failed - checks-actions

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 F-autodiff `#![feature(autodiff)]` S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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.

8 participants