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 37 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 [Landed]
140104 [Landed]
140030 [Landed]
140049 [Landed]
140244 [Closed due to design changes]
140697[In the queue]
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. There are some related CMake PRs which I also made in the Enzyme repo. I can temporarily merge them into the r-l/Enzyme fork, so we are not blocked on them.

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
@rustbot

This comment has been minimized.

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented May 26, 2025

@bors try

@bors
Copy link
Collaborator

bors commented May 26, 2025

⌛ Trying commit 16de2b6 with merge a46875b...

bors added a commit that referenced this pull request May 26, 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 [Landed]
140104 [Landed]
140030 [Landed]
140049 [Almost ready]
140244 [Closed due to design changes]
140697[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. There are some related CMake PRs which I also made in the Enzyme repo. I can temporarily merge them into the r-l/Enzyme fork, so we are not blocked on them.

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
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented May 26, 2025

💔 Test failed - checks-actions

@rustbot
Copy link
Collaborator

rustbot commented May 27, 2025

⚠️ Warning ⚠️

  • Some commits in this PR modify submodules.

  • This PR is based on an upstream commit that is 35 days old.

    It's recommended to update your branch according to the rustc-dev-guide.

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented May 27, 2025

@bors try

bors added a commit that referenced this pull request May 27, 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 [Landed]
140104 [Landed]
140030 [Landed]
140049 [Almost ready]
140244 [Closed due to design changes]
140697[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. There are some related CMake PRs which I also made in the Enzyme repo. I can temporarily merge them into the r-l/Enzyme fork, so we are not blocked on them.

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
@bors
Copy link
Collaborator

bors commented May 27, 2025

⌛ Trying commit bc1210b with merge 1573cc1...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented May 27, 2025

💔 Test failed - checks-actions

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented May 27, 2025

@bors try

@bors
Copy link
Collaborator

bors commented May 27, 2025

⌛ Trying commit fe467ba with merge 9ff1458...

bors added a commit that referenced this pull request May 27, 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 [Landed]
140104 [Landed]
140030 [Landed]
140049 [Almost ready]
140244 [Closed due to design changes]
140697[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. There are some related CMake PRs which I also made in the Enzyme repo. I can temporarily merge them into the r-l/Enzyme fork, so we are not blocked on them.

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
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented May 27, 2025

💔 Test failed - checks-actions

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented May 27, 2025

@bors try

@bors
Copy link
Collaborator

bors commented May 27, 2025

⌛ Trying commit 96da098 with merge 72ddad8...

bors added a commit that referenced this pull request May 27, 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 [Landed]
140104 [Landed]
140030 [Landed]
140049 [Almost ready]
140244 [Closed due to design changes]
140697[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. There are some related CMake PRs which I also made in the Enzyme repo. I can temporarily merge them into the r-l/Enzyme fork, so we are not blocked on them.

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
@rust-log-analyzer
Copy link
Collaborator

The job mingw-check-tidy failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
info: removing rustup binaries
info: rustup is uninstalled
##[group]Image checksum input
mingw-check-tidy
# We use the ghcr base image because ghcr doesn't have a rate limit
# and the mingw-check-tidy job doesn't cache docker images in CI.
FROM ghcr.io/rust-lang/ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  g++ \
---

COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test \
           --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in
---
#12 2.761 Building wheels for collected packages: reuse
#12 2.762   Building wheel for reuse (pyproject.toml): started
#12 2.975   Building wheel for reuse (pyproject.toml): finished with status 'done'
#12 2.976   Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132719 sha256=d2a2565e7037ad3883fb9337653f2e25bbb588534fbef3697286cbc26d1bf634
#12 2.976   Stored in directory: /tmp/pip-ephem-wheel-cache-4_u2caoo/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#12 2.978 Successfully built reuse
#12 2.979 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#12 3.378 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#12 3.378 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#12 3.912 Collecting virtualenv
#12 3.951   Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
#12 4.065      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 54.3 MB/s eta 0:00:00
#12 4.127 Collecting filelock<4,>=3.12.2
#12 4.130   Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
#12 4.165 Collecting platformdirs<5,>=3.9.1
#12 4.169   Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
#12 4.187 Collecting distlib<1,>=0.3.7
#12 4.191   Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
#12 4.199      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 KB 82.9 MB/s eta 0:00:00
#12 4.280 Installing collected packages: distlib, platformdirs, filelock, virtualenv
#12 4.472 Successfully installed distlib-0.3.9 filelock-3.18.0 platformdirs-4.3.8 virtualenv-20.31.2
#12 4.472 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#12 DONE 4.6s

#13 [7/8] COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
#13 DONE 0.0s
---
DirectMap4k:      149440 kB
DirectMap2M:     9287680 kB
DirectMap1G:     9437184 kB
##[endgroup]
Executing TIDY_PRINT_DIFF=1 python2.7 ../x.py test            --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
+ TIDY_PRINT_DIFF=1 python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
WARN: currently no CI rustc builds have rustc debug assertions enabled. Please either set `rust.debug-assertions` to `false` if you want to use download CI rustc or set `rust.download-rustc` to `false`.
downloading https://static.rust-lang.org/dist/2025-05-12/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
-use crate::debug;
 use crate::utils::build_stamp;
 use crate::utils::helpers::{self, LldThreads, check_cfg_arg, linker_args, linker_flags};
 use crate::{
Diff in /checkout/src/bootstrap/src/core/builder/cargo.rs:14:
     BootstrapCommand, CLang, Compiler, Config, DocTests, DryRun, EXTRA_CHECK_CFGS, GitRepo, Mode,
-    TargetSelection, command, prepare_behaviour_dump_dir, t,
+    TargetSelection, command, debug, prepare_behaviour_dump_dir, t,
 };
 
 /// Represents flag values in `String` form with whitespace delimiter to pass it to the compiler
fmt: checked 6027 files
Build completed unsuccessfully in 0:01:16

@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% (52379/53447)
Updating files:  99% (52913/53447)
Updating files: 100% (53447/53447)
Updating files: 100% (53447/53447), 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
72ddad8e3f59d981b81da06fe0d4a115bf170012
##[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/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" "-DENZYME_STATIC_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
MPFR header: 
-- TBL_LINKED_LIBS (test): m;ZLIB::ZLIB;LLVMDemangle
-- Using llvm-config from /Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build/./bin
-- Linking against LLVM libraries: -lLLVMWindowsManifest -lLLVMXRay -lLLVMLibDriver -lLLVMDlltoolDriver -lLLVMTelemetry -lLLVMTextAPIBinaryReader -lLLVMCoverage -lLLVMLineEditor -lLLVMXtensaDisassembler -lLLVMXtensaAsmParser -lLLVMXtensaCodeGen -lLLVMXtensaDesc -lLLVMXtensaInfo -lLLVMCSKYDisassembler -lLLVMCSKYAsmParser -lLLVMCSKYCodeGen -lLLVMCSKYDesc -lLLVMCSKYInfo -lLLVMM68kDisassembler -lLLVMM68kAsmParser -lLLVMM68kCodeGen -lLLVMM68kDesc -lLLVMM68kInfo -lLLVMAVRDisassembler -lLLVMAVRAsmParser -lLLVMAVRCodeGen -lLLVMAVRDesc -lLLVMAVRInfo -lLLVMX86TargetMCA -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMX86Info -lLLVMWebAssemblyDisassembler -lLLVMWebAssemblyAsmParser -lLLVMWebAssemblyCodeGen -lLLVMWebAssemblyUtils -lLLVMWebAssemblyDesc -lLLVMWebAssemblyInfo -lLLVMSystemZDisassembler -lLLVMSystemZAsmParser -lLLVMSystemZCodeGen -lLLVMSystemZDesc -lLLVMSystemZInfo -lLLVMSparcDisassembler -lLLVMSparcAsmParser -lLLVMSparcCodeGen -lLLVMSparcDesc -lLLVMSparcInfo -lLLVMRISCVTargetMCA -lLLVMRISCVDisassembler -lLLVMRISCVAsmParser -lLLVMRISCVCodeGen -lLLVMRISCVDesc -lLLVMRISCVInfo -lLLVMPowerPCDisassembler -lLLVMPowerPCAsmParser -lLLVMPowerPCCodeGen -lLLVMPowerPCDesc -lLLVMPowerPCInfo -lLLVMNVPTXCodeGen -lLLVMNVPTXDesc -lLLVMNVPTXInfo -lLLVMMipsDisassembler -lLLVMMipsAsmParser -lLLVMMipsCodeGen -lLLVMMipsDesc -lLLVMMipsInfo -lLLVMMSP430Disassembler -lLLVMMSP430AsmParser -lLLVMMSP430CodeGen -lLLVMMSP430Desc -lLLVMMSP430Info -lLLVMLoongArchDisassembler -lLLVMLoongArchAsmParser -lLLVMLoongArchCodeGen -lLLVMLoongArchDesc -lLLVMLoongArchInfo -lLLVMHexagonDisassembler -lLLVMHexagonCodeGen -lLLVMHexagonAsmParser -lLLVMHexagonDesc -lLLVMHexagonInfo -lLLVMBPFDisassembler -lLLVMBPFAsmParser -lLLVMBPFCodeGen -lLLVMBPFDesc -lLLVMBPFInfo -lLLVMARMDisassembler -lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMARMDesc -lLLVMARMUtils -lLLVMARMInfo -lLLVMAMDGPUTargetMCA -lLLVMAMDGPUDisassembler -lLLVMAMDGPUAsmParser -lLLVMAMDGPUCodeGen -lLLVMAMDGPUDesc -lLLVMAMDGPUUtils -lLLVMAMDGPUInfo -lLLVMAArch64Disassembler -lLLVMAArch64AsmParser -lLLVMAArch64CodeGen -lLLVMAArch64Desc -lLLVMAArch64Utils -lLLVMAArch64Info -lLLVMOrcDebugging -lLLVMOrcJIT -lLLVMWindowsDriver -lLLVMMCJIT -lLLVMJITLink -lLLVMInterpreter -lLLVMExecutionEngine -lLLVMRuntimeDyld -lLLVMOrcTargetProcess -lLLVMOrcShared -lLLVMDWP -lLLVMDebugInfoLogicalView -lLLVMDebugInfoGSYM -lLLVMOption -lLLVMObjectYAML -lLLVMObjCopy -lLLVMMCA -lLLVMMCDisassembler -lLLVMLTO -lLLVMPasses -lLLVMHipStdPar -lLLVMCFGuard -lLLVMCoroutines -lLLVMipo -lLLVMVectorize -lLLVMSandboxIR -lLLVMLinker -lLLVMInstrumentation -lLLVMFrontendOpenMP -lLLVMFrontendOffloading -lLLVMFrontendOpenACC -lLLVMFrontendHLSL -lLLVMFrontendDriver -lLLVMFrontendAtomic -lLLVMExtensions -lLLVMDWARFLinkerParallel -lLLVMDWARFLinkerClassic -lLLVMDWARFLinker -lLLVMGlobalISel -lLLVMMIRParser -lLLVMAsmPrinter -lLLVMSelectionDAG -lLLVMCodeGen -lLLVMTarget -lLLVMObjCARCOpts -lLLVMCodeGenTypes -lLLVMCGData -lLLVMIRPrinter -lLLVMInterfaceStub -lLLVMFileCheck -lLLVMFuzzMutate -lLLVMScalarOpts -lLLVMInstCombine -lLLVMAggressiveInstCombine -lLLVMTransformUtils -lLLVMBitWriter -lLLVMAnalysis -lLLVMProfileData -lLLVMSymbolize -lLLVMDebugInfoBTF -lLLVMDebugInfoPDB -lLLVMDebugInfoMSF -lLLVMDebugInfoCodeView -lLLVMDebugInfoDWARF -lLLVMObject -lLLVMTextAPI -lLLVMMCParser -lLLVMIRReader -lLLVMAsmParser -lLLVMMC -lLLVMBitReader -lLLVMFuzzerCLI -lLLVMCore -lLLVMRemarks -lLLVMBitstreamReader -lLLVMBinaryFormat -lLLVMTargetParser -lLLVMTableGen -lLLVMSupport -lLLVMDemangle
-- Linking against LLVM ldflags: -L/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/build/lib -Wl,-search_paths_first -Wl,-headerpad_max_install_names
-- Configuring done (1.5s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    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/datastructures.cpp.o
[  1%] Built target intrinsics_gen
[  2%] Building CXX object tools/enzyme-tblgen/CMakeFiles/enzyme-tblgen.dir/blas-tblgen.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
[  5%] Building BinopDerivatives.inc...
[  7%] Building BlasAttributor.inc...
[  7%] Building BlasDerivatives.inc...
[  8%] Building BlasDiffUse.inc...
[  9%] Building BlasTA.inc...
[ 10%] Building IntrinsicDerivatives.inc...
[ 11%] Building CallDerivatives.inc...
[ 11%] Building InstructionDerivatives.inc...
[ 11%] Built target BinopDerivativesIncGen
[ 18%] Built target IntrinsicDerivativesIncGen
[ 25%] Built target CallDerivativesIncGen
[ 31%] Built target InstructionDerivativesIncGen
[ 38%] Built target BlasDerivativesIncGen
[ 45%] Built target BlasDeclarationsIncGen
[ 52%] Built target BlasTAIncGen
[ 59%] Built target BlasDiffUseIncGen
[ 59%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/ActivityAnalysis.cpp.o
[ 61%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/ActivityAnalysisPrinter.cpp.o
[ 61%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/ActivityAnalysis.cpp.o
[ 62%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/ActivityAnalysisPrinter.cpp.o
[ 63%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/CApi.cpp.o
[ 64%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/CApi.cpp.o
[ 65%] 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.
[ 65%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-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.
[ 66%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/CallDerivatives.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.
[ 67%] 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.
[ 68%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/CallDerivatives.cpp.o
[ 69%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/DiffeGradientUtils.cpp.o
[ 70%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/DifferentialUseAnalysis.cpp.o
[ 71%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/DifferentialUseAnalysis.cpp.o
[ 71%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/Enzyme.cpp.o
[ 72%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/EnzymeLogic.cpp.o
[ 73%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/Enzyme.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/Enzyme.cpp:603:55: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
    IRBuilder<> EB(CI->getFunction()->getEntryBlock().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/Enzyme.cpp:872:18: warning: 'insertBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
        primalA->insertBefore(CI);
                 ^
/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/Enzyme.cpp:2129:48: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
    IRBuilder<> AllocaBuilder(CI->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/Enzyme.cpp:2320:55: warning: 'InsertPosition' is deprecated: Use BasicBlock::iterators for insertion instead [-Wdeprecated-declarations]
                             CallArgs, OpBundles, "", II);
                                                      ^~
                                                      BasicBlock::iterator
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:55:3: note: 'InsertPosition' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use BasicBlock::iterators for insertion 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/Enzyme.cpp:2328:49: warning: 'InsertPosition' is deprecated: Use BasicBlock::iterators for insertion instead [-Wdeprecated-declarations]
        BranchInst::Create(II->getNormalDest(), II);
                                                ^~
                                                BasicBlock::iterator
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:55:3: note: 'InsertPosition' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use BasicBlock::iterators for insertion 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/Enzyme.cpp:2741:21: warning: 'insertBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
            cloned->insertBefore(B1);
                    ^
/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/Enzyme.cpp:2745:17: warning: 'moveBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
            CI->moveBefore(B2);
                ^
/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/Enzyme.cpp:2748:35: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
              IRBuilder<> P(post->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)))
                                                 ^
8 warnings generated.
[ 74%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/FunctionUtils.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/EnzymeLogic.cpp:1760:13: warning: 'moveBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
      inst->moveBefore(&gutils->newFunc->getEntryBlock().front());
            ^
/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/EnzymeLogic.cpp:1798:53: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
              cast<Instruction>(newi)->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/EnzymeLogic.cpp:2507:57: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
                  cast<Instruction>(newi)->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/EnzymeLogic.cpp:2788:40: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
  IRBuilder<> ib(NewF->getEntryBlock().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/EnzymeLogic.cpp:2856:48: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
          ib.SetInsertPoint(inst->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/EnzymeLogic.cpp:5028:16: warning: 'insertBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
      ClonedI->insertBefore(Return);
               ^
/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/EnzymeLogic.cpp:5799:31: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
  IRBuilder<> Builder2(entry->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)))
                                                 ^
7 warnings generated.
[ 75%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/GradientUtils.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/Enzyme.cpp:603:55: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
    IRBuilder<> EB(CI->getFunction()->getEntryBlock().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/Enzyme.cpp:872:18: warning: 'insertBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
        primalA->insertBefore(CI);
                 ^
/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/Enzyme.cpp:2129:48: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
    IRBuilder<> AllocaBuilder(CI->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/Enzyme.cpp:2320:55: warning: 'InsertPosition' is deprecated: Use BasicBlock::iterators for insertion instead [-Wdeprecated-declarations]
                             CallArgs, OpBundles, "", II);
                                                      ^~
                                                      BasicBlock::iterator
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:55:3: note: 'InsertPosition' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use BasicBlock::iterators for insertion 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/Enzyme.cpp:2328:49: warning: 'InsertPosition' is deprecated: Use BasicBlock::iterators for insertion instead [-Wdeprecated-declarations]
        BranchInst::Create(II->getNormalDest(), II);
                                                ^~
                                                BasicBlock::iterator
/Users/runner/work/rust/rust/src/llvm-project/llvm/include/llvm/IR/Instruction.h:55:3: note: 'InsertPosition' has been explicitly marked deprecated here
  LLVM_DEPRECATED("Use BasicBlock::iterators for insertion 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/Enzyme.cpp:2741:21: warning: 'insertBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
            cloned->insertBefore(B1);
                    ^
/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/Enzyme.cpp:2745:17: warning: 'moveBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
            CI->moveBefore(B2);
                ^
/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/Enzyme.cpp:2748:35: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
              IRBuilder<> P(post->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)))
                                                 ^
8 warnings generated.
[ 76%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/EnzymeLogic.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/FunctionUtils.cpp:1142:45: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
      B.SetInsertPoint(II->getNormalDest()->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:1158:47: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
        B.SetInsertPoint(II->getNormalDest()->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:5585: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:5610: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:6122: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:7571: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.
[ 77%] 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:6235: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.
[ 78%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/JLInstSimplify.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/EnzymeLogic.cpp:1760:13: warning: 'moveBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
      inst->moveBefore(&gutils->newFunc->getEntryBlock().front());
            ^
/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/EnzymeLogic.cpp:1798:53: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
              cast<Instruction>(newi)->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/EnzymeLogic.cpp:2507:57: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
                  cast<Instruction>(newi)->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/EnzymeLogic.cpp:2788:40: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
  IRBuilder<> ib(NewF->getEntryBlock().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/EnzymeLogic.cpp:2856:48: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
          ib.SetInsertPoint(inst->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/EnzymeLogic.cpp:5028:16: warning: 'insertBefore' is deprecated: Use iterators as instruction positions [-Wdeprecated-declarations]
      ClonedI->insertBefore(Return);
               ^
/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/EnzymeLogic.cpp:5799:31: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
  IRBuilder<> Builder2(entry->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)))
                                                 ^
7 warnings generated.
[ 79%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/FunctionUtils.cpp.o
[ 79%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/MustExitScalarEvolution.cpp.o
[ 80%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/PreserveNVVM.cpp.o
[ 80%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/GradientUtils.cpp.o
/Users/runner/work/rust/rust/src/tools/enzyme/enzyme/Enzyme/FunctionUtils.cpp:1142:45: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
      B.SetInsertPoint(II->getNormalDest()->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:1158:47: warning: 'getFirstNonPHI' is deprecated: Use iterators as instruction positions instead [-Wdeprecated-declarations]
        B.SetInsertPoint(II->getNormalDest()->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:5585: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:5610: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:6122: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:7571: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.
[ 81%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/InstructionBatcher.cpp.o
[ 82%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TraceGenerator.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:6235: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.
[ 83%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TraceInterface.cpp.o
[ 84%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/JLInstSimplify.cpp.o
[ 85%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TraceUtils.cpp.o
[ 86%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/MustExitScalarEvolution.cpp.o
[ 87%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/PreserveNVVM.cpp.o
[ 88%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/Utils.cpp.o
[ 89%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/TraceGenerator.cpp.o
[ 90%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/TraceInterface.cpp.o
[ 91%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TypeAnalysis/TypeTree.cpp.o
[ 91%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/TraceUtils.cpp.o
[ 92%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/Utils.cpp.o
[ 92%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TypeAnalysis/TypeAnalysis.cpp.o
[ 93%] Building CXX object Enzyme/CMakeFiles/Enzyme-20.dir/TypeAnalysis/TypeAnalysisPrinter.cpp.o
[ 94%] Building CXX object Enzyme/CMakeFiles/EnzymeStatic-20.dir/TypeAnalysis/TypeTree.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)))
---
[RUSTC-TIMING] rustc_query_impl test:false 104.988
   Compiling rustc_driver v0.0.0 (/Users/runner/work/rust/rust/compiler/rustc_driver)
error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "-Wl,-exported_symbols_list" "-Wl,/var/folders/w5/_8wgjw3j5cg6mgrth3s2kg9m0000gn/T/rustcdANd6N/list" "/var/folders/w5/_8wgjw3j5cg6mgrth3s2kg9m0000gn/T/rustcdANd6N/symbols.o" "<1 object files omitted>" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/deps/rustc_driver-4de3176f980c006c.b8nh1pccdafzykxgu1c8tp2k4.rcgu.rmeta" "<1 object files omitted>" "-lEnzyme-20" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/deps/{librustc_driver_impl-79bd71521eb75752.rlib,libctrlc-1942ec1972cc3da8.rlib,libnix-dbf5693452b47ef2.rlib,librustc_log-70ed762f560787ac.rlib,libtracing_tree-e1dd36393b3c5599.rlib,libtracing_log-c3eee86972a78dd3.rlib,libnu_ansi_term-8e875d21138c7799.rlib,libtracing_subscriber-6a0ff9be02e8a0c0.rlib,libnu_ansi_term-a03cdf4758b40178.rlib,liboverload-6caf148723a0ed6d.rlib,libsharded_slab-347ad139471cc97c.rlib,liblazy_static-18c43a5ca2e93e6b.rlib,libmatchers-c9c6dcbcbba718dc.rlib,libregex_automata-1ba913d0ac687dd6.rlib,libregex_syntax-3c7dc06e1aa6e4b3.rlib,libthread_local-66be770cfb492582.rlib,libjiff-92c06713bc6ed9ab.rlib,libstable_mir-e66e05bb7903b3f0.rlib,librustc_smir-49ee3e893921a5c0.rlib,librustc_interface-778a57e1a3cef39f.rlib,librustc_codegen_llvm-bbc34814eb08af97.rlib,librustc_llvm-a8b87a752c0cfd0a.rlib,librustc_sanitizers-f7222bb9e44860dc.rlib,librustc_hir_typeck-a2a8ec8ee1818c17.rlib,librustc_hir_analysis-6d71fea0d883935f.rlib,librustc_monomorphize-c49dff5a9855faed.rlib,librustc_mir_transform-43abffd2b5dc469d.rlib,librustc_mir_build-dacacf83ac26e406.rlib,librustc_pattern_analysis-351a01d8e3abc1e9.rlib,librustc_borrowck-49d8add017b16d90.rlib,librustc_traits-b05eb084b6d17a5e.rlib,librustc_const_eval-017b661c700f3c10.rlib,librustc_mir_dataflow-5f9d91bf7c01d54f.rlib,librustc_builtin_macros-17175cc7052595a7.rlib,librustc_resolve-2b40c40d88cc8ef0.rlib,libpulldown_cmark-0f7d4b5bf5975ad1.rlib,libunicase-7094c09326132f3a.rlib,libpulldown_cmark_escape-b7bacf39a6fd082d.rlib,librustc_passes-288d5168196fc678.rlib,librustc_ast_lowering-126cbd904c847ef9.rlib,librustc_privacy-ff82cc38594b936d.rlib,librustc_ty_utils-302f62ce30d06e0b.rlib,librustc_lint-395343a59bf8533c.rlib,libunicode_security-e5b550553a6e78db.rlib,libunicode_script-6ffcf7262adac234.rlib,librustc_query_impl-a4f724daf75ec841.rlib,librustc_codegen_ssa-a02d79d83e264765.rlib,libwasm_encoder-c613b63b587fc9e1.rlib,libleb128-15ada267d9eafe41.rlib,libthorin-c65fd5dc8f14a4c7.rlib,libgimli-e2b3abc7dd1dbe68.rlib,libfallible_iterator-9939082ab30566c1.rlib,libbstr-e230e2c557885518.rlib,librustc_trait_selection-1590e8d3308ba2fc.rlib,librustc_next_trait_solver-96baa222cf6731c8.rlib,librustc_parse_format-6d7154cc57752309.rlib,librustc_transmute-b5ee3f466f4dd7ff.rlib,librustc_infer-071ed2c063e838b2.rlib,librustc_incremental-422507e489da1860.rlib,librustc_symbol_mangling-004a70cd5ddf9516.rlib,librustc_demangle-c85b6b877f1c4fd2.rlib,libpunycode-674693897d0171cc.rlib,libpathdiff-7be80c7dfa94461d.rlib,librustc_metadata-f0349c48d78b5bb8.rlib,liblibloading-8e798cdda088fd68.rlib,librustc_expand-4e64dd042e210166.rlib,librustc_ast_passes-ac3c52e8e0ae5046.rlib,librustc_parse-81160c3868d6c32a.rlib,libunicode_normalization-059dfe956cccfeb2.rlib,libtinyvec-ed51103c287dc710.rlib,libtinyvec_macros-8edd54337413a8b3.rlib,librustc_attr_parsing-6cde511949973a86.rlib}.rlib" "<sysroot>/lib/rustlib/aarch64-apple-darwin/lib/{libproc_macro-*,librustc_literal_escaper-*,librustc_std_workspace_std-*}.rlib" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/deps/{libregex-2ddf67bd7e1852c3.rlib,libregex_automata-265301ecb36de4fa.rlib,libaho_corasick-090b54c09b5df18c.rlib,libregex_syntax-a49d31d4848617cc.rlib,libcc-b3ce507060ee3263.rlib,libshlex-917321a663bc3d9c.rlib,libar_archive_writer-06e822907c8ec3c8.rlib,librustc_middle-f8bc49f9d8694d03.rlib,librustc_apfloat-7779043dd96f18e3.rlib,libgsgdt-4824c9440131eb0a.rlib,libpolonius_engine-db110230d73716e0.rlib,libdatafrog-ac2231df67043d69.rlib,librustc_query_system-ba56795e5b9b7355.rlib,librustc_session-ca6c618ad286522f.rlib,libgetopts-571a7c1226461f72.rlib,libunicode_width-aeb8cc3622d27469.rlib,librustc_feature-80601843097ee71d.rlib,librustc_hir_pretty-f33cdef10d2cacac.rlib,librustc_errors-314107c7ff6555d0.rlib,libtermize-dcae39256643cf6c.rlib,librustc_error_codes-c46a8d46686f3aeb.rlib,librustc_type_ir-f1ea64f360217489.rlib,libannotate_snippets-562e97df7e022169.rlib,libanstyle-82c5252757445ef6.rlib,libtermcolor-49d593b77b4d2366.rlib,librustc_lint_defs-e3ee9cbb8a0b4f42.rlib,librustc_error_messages-1af0f0dd528e9c7f.rlib,librustc_baked_icu_data-1ca1c17f95b43a50.rlib,libicu_list-0efe97b58e8b625b.rlib,libicu_list_data-bea0af052de11c2f.rlib,libregex_automata-415eb2c2e32e2fd8.rlib,libicu_provider_adapters-6b0c940bbeb3c67c.rlib,libicu_locid_transform-0a6f6c3a78cd7e94.rlib,libicu_locid_transform_data-2811c2c52937abc9.rlib,libicu_provider-1f8c313fd765e4cf.rlib,libicu_locid-18e6ba0d63bd4ab8.rlib,liblitemap-709de542c771c567.rlib,libtinystr-784806fcf5d3043b.rlib,libzerovec-d5011342ec2b4cf4.rlib,libwriteable-ebe7a1daffb3327b.rlib,libyoke-3c88f0e2f617269d.rlib,libzerofrom-09242c0e0b0e0677.rlib,libfluent_bundle-c3ad2057a462af59.rlib,libfluent_langneg-1626181c0c123436.rlib,libintl_pluralrules-df6a3c83361265fa.rlib,libself_cell-57bd18f5558514c9.rlib,libself_cell-1f8c03f8bc873879.rlib,libintl_memoizer-35f67942cee8f6e2.rlib,libtype_map-deda23daaa60e2b5.rlib,libunic_langid-ddc386aa1e91e8ee.rlib,libunic_langid_macros-face10161a6ff552.rlib,libunic_langid_impl-fda9253ab7ed1b07.rlib,libtinystr-6d9cf1287e61fa3f.rlib,libfluent_syntax-6ff6be7cfed66a69.rlib,libthiserror-3204dd345d3fb25f.rlib,librustc_hir-5645368f981e648b.rlib,libodht-2cf3300b7a9185e0.rlib,librustc_target-099d22bae8cb8151.rlib,libobject-0e541d4a46e54e79.rlib,libruzstd-892e0a5761245325.rlib,libtwox_hash-5917e48b6da8588e.rlib,librand-cdd5e150c9fe3a8c.rlib,librand_chacha-0cd4ba64f7d06361.rlib,librand_core-49b21c4960d7018a.rlib,libgetrandom-6dbb9cbbf6fb89d3.rlib,libstatic_assertions-e81e1bdde8522305.rlib,libflate2-81b6c5ce92545eb9.rlib,libminiz_oxide-c5cc7744168ea02d.rlib,libadler2-db7697cdd7176404.rlib,libcrc32fast-428d17603fa47b08.rlib,libwasmparser-a82efaa8b8545da5.rlib,librustc_fs_util-817cce066a9fdf5d.rlib,libserde_json-3363f65e512ecd44.rlib,libryu-0620de57dd282f7a.rlib,libserde-01cf001a86a40bba.rlib,librustc_attr_data_structures-72e0dca5317aa4ae.rlib,librustc_ast_pretty-ddd0cd1a8b11dbf1.rlib,librustc_lexer-24de6c111398c5d8.rlib,libunicode_xid-bb61c453d3a5b345.rlib,libunicode_properties-a8b54d9ceb05e992.rlib,libitertools-dcdb1711fc2f6ab0.rlib,librustc_abi-c3ac28cb15517aa8.rlib,librand_xoshiro-a6fe92c0338c755a.rlib,librand-7f876cd3d3589dfb.rlib,librand_chacha-797c51618bf5ca79.rlib,libppv_lite86-6695556c13c31ccc.rlib,libzerocopy-f7f80108b877aa8c.rlib,librand_core-bc585d1d2db45944.rlib,librustc_ast-d9f7c846bcad2bf3.rlib,libmemchr-40aa8ae122912b16.rlib,librustc_ast_ir-5fe1fcf8d587c972.rlib,librustc_literal_escaper-c2cf44a547c2bd70.rlib,librustc_span-f86eab5f7cb15612.rlib,libunicode_width-ed8833d1eee0e83c.rlib,libblake3-031bb2850fb1fcb7.rlib,libconstant_time_eq-dc14321146270e83.rlib,libarrayref-d9f14c15d51cda70.rlib,libitoa-4e69d70557522c2a.rlib,libscoped_tls-cbe751f95245a4ff.rlib,libsha2-5e053f8bc1de97a4.rlib,libsha1-9934381bccd27a94.rlib,libmd5-16561abdacbe7e8d.rlib,libdigest-a886b9d2c7b1809b.rlib,libblock_buffer-885279580235afc8.rlib,libcrypto_common-abdbf7654a4d488b.rlib,libgeneric_array-05d8adb10d3d60e0.rlib,libtypenum-6a1a248f744731ed.rlib,librustc_data_structures-839d51895c7d6711.rlib,libelsa-bf5c2c3081878a85.rlib,libstable_deref_trait-3c7f1f039355992f.rlib,librayon_core-2012e6ae8b5aac09.rlib,libcrossbeam_deque-81f8783f4bf509ab.rlib,libcrossbeam_epoch-ff1bf0e396392625.rlib,libcrossbeam_utils-e78cabbcb9c89799.rlib,libstacker-0770858730f4c6de.rlib,libpsm-3ad592abe76fdb7f.rlib,libmemmap2-e52118565567a9d3.rlib,librustc_arena-0c2723a710bfcc10.rlib,libtempfile-9113c0112d21261a.rlib,libgetrandom-90eec2f056aa1710.rlib,libfastrand-ac0f1a8ddf249cea.rlib,librustix-7ef3fa931c465590.rlib,libbitflags-b9c787e1d6a6bdcc.rlib,liberrno-8e6532c7c16e4ceb.rlib,libarrayvec-035f82947b915a4e.rlib,libeither-2207f6355a25cc2c.rlib,libmeasureme-4901c4a825451798.rlib,librustc_hash-1250e182988a6c58.rlib,librustc_graphviz-720382ffd862e29a.rlib,libparking_lot-c45802d68841bc1a.rlib,libparking_lot_core-e961f02b64039423.rlib,liblock_api-df8bd42be5b8317c.rlib,libscopeguard-8263893d88c31b10.rlib,libjobserver-4f609bcb7d2de0fe.rlib,liblibc-43e3d446b93ceb03.rlib,libtracing-ff650a0f3604d8bb.rlib,libcfg_if-ee8c2492bd83e2a5.rlib,libpin_project_lite-e689f8dfea68d062.rlib,libtracing_core-6b12b03eb904c02e.rlib,libonce_cell-7af6cd029f006ca0.rlib,librustc_hash-e6a25ba9ca7c9cd2.rlib,librustc_index-615984f9398c22e1.rlib,librustc_serialize-f023132a3586c5ce.rlib,libindexmap-46ab94960dbcc788.rlib,libhashbrown-2a05e0114cebe1bd.rlib,libfoldhash-23e1f17121a26f90.rlib,libequivalent-d0f3b9abcd3c74b1.rlib,libthin_vec-0641f0e9cedad89f.rlib,librustc_hashes-2404d6557a135c9a.rlib,librustc_stable_hash-1aa4a869f28d31f7.rlib,libsmallvec-b46efa9dc42bd4ab.rlib,libena-afa504639a7c009d.rlib,liblog-5cc4176320d95777.rlib}.rlib" "<sysroot>/lib/rustlib/aarch64-apple-darwin/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lm" "-lz" "-lc++" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-liconv" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lEnzyme-20" "-lSystem" "-lc" "-lm" "-arch" "arm64" "-mmacosx-version-min=11.0.0" "-L" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/build/psm-fa7de0a515eaf642/out" "-L" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/build/blake3-63e9bdf76bca28ce/out" "-L" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/build/rustc_llvm-1cd8d7f24ba2e309/out" "-L" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/llvm/lib" "-o" "/Users/runner/work/rust/rust/build/aarch64-apple-darwin/stage0-rustc/aarch64-apple-darwin/release/deps/librustc_driver-4de3176f980c006c.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-install_name" "-Wl,@rpath/librustc_driver-4de3176f980c006c.dylib" "-nodefaultlibs" "-Wl,-rpath,@loader_path/../lib"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: ld: warning: ignoring duplicate libraries: '-lEnzyme-20', '-lm'
          ld: library 'Enzyme-20' not found
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

[RUSTC-TIMING] rustc_driver test:false 2.513
error: could not compile `rustc_driver` (lib) due to 1 previous error
Build completed unsuccessfully in 0:25:12

@bors
Copy link
Collaborator

bors commented May 27, 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