Repository: microsoft/azurelinux
Pull request #11295: upgrade rust to 1.85.0
Author: login: KavyaSree2610
Labels: name: security
name: Packaging
name: Tools
name: specs-extended
description: PR to fix SPECS-EXTENDED
name: 3.0-dev
description: PRs Destined for AzureLinux 3.0
name: stable-release-shiproom
description: PRs for consideration for stable shiproom
Created: 2024-12-03T11:24:38Z | Merged: 2025-04-24T22:15:08Z

<!--
COMMENT BLOCKS WILL NOT BE INCLUDED IN THE PR.
Feel free to delete sections of the template which do not apply to your PR, or add additional details
-->

###### Merge Checklist  <!-- REQUIRED -->
<!-- You can set them now ([x]) or set them later using the Github UI -->
**All** boxes should be checked before merging the PR *(just tick any boxes which don't apply to this PR)*
- [x] The toolchain has been rebuilt successfully (or no changes were made to it)
- [x] The toolchain/worker package manifests are up-to-date
- [x] Any updated packages successfully build (or no packages were changed)
- [x] Packages depending on static components modified in this PR (Golang, `*-static` subpackages, etc.) have had their `Release` tag incremented.
- [x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
- [x] All package sources are available
- [x] cgmanifest files are up-to-date and sorted (`./cgmanifest.json`, `./toolkit/scripts/toolchain/cgmanifest.json`, `.github/workflows/cgmanifest.json`)
- [x] LICENSE-MAP files are up-to-date (`./LICENSES-AND-NOTICES/SPECS/data/licenses.json`, `./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md`, `./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON`)
- [x] All source files have up-to-date hashes in the `*.signatures.json` files
- [x] `sudo make go-tidy-all` and `sudo make go-test-coverage` pass
- [x] Documentation has been updated to match any changes to the build system
- [x] Ready to merge

---

###### Summary <!-- REQUIRED -->
<!-- Quick explanation of the changes. -->
What does the PR accomplish, why was it needed?
- Support multiple versions of rust

###### Change Log  <!-- REQUIRED -->
<!-- Detail the changes made here. -->
<!-- Please list any packages which will be affected by this change, if applicable. -->
<!-- Please list any CVES fixed by this change, if applicable. -->
- Upgrade to 1.85.0 in newer spec
- Drop unnecessary patches in rust
- Remove expand-yaml-anchors tool in %check
- Remove rust-demangler tool 
- Run tests as non root user in rust package
- Skip some failing ci ptests
- Pin dependent SPECS packages to build with rust 1.75
-  Build dependent SPECS-EXTENDED packages with rust newer version(1.85)

###### Does this affect the toolchain?  <!-- REQUIRED -->
<!-- Any packages which are included in the toolchain should be carefully considered. Make sure the toolchain builds with these changes if so. -->
<!-- Update: manifests/package/toolchain_*.txt, pkggen_core_*.txt, update_manifests.sh -->
<!-- To validate: make clean; make workplan REBUILD_TOOLCHAIN=y DISABLE_UPSTREAM_REPOS=y CONFIG_FILE="" ... -->
**NO**

###### Associated issues  <!-- optional -->
<!-- Link to Github issues if possible. -->
<!-- you can use "fixes #xxxx" to auto close an associated issue once the PR is merged -->
- https://microsoft.visualstudio.com/OS/_workitems/edit/54094911
- https://microsoft.visualstudio.com/OS/_workitems/edit/44559508

###### Links to CVEs  <!-- optional -->


###### Test Methodology
<!-- How was this test validated? i.e. local build, pipeline build etc. -->
- Local build successful
- Pipeline build : 3.0.20250424-kkaitepalli-794727
![image](https://github.com/user-attachments/assets/772f41db-6d06-431b-b3c6-1a665c5cf6cb)





Diff:
diff --git a/LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md b/LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md
index cdcd23f5c96..50147c5c682 100644
--- a/LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md
+++ b/LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md
@@ -17,7 +17,7 @@ The Azure Linux SPEC files originated from a variety of sources with varying lic
 | OpenEuler | [BSD-3 License](https://github.com/pytorch/pytorch/blob/master/LICENSE) | pytorch |
 | OpenMamba | [Openmamba GPLv2 License](https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt) | bash-completion |
 | OpenSUSE | Following [openSUSE guidelines](https://en.opensuse.org/openSUSE:Specfile_guidelines#Specfile_Licensing) | ant <br> ant-junit <br> antlr <br> aopalliance <br> apache-commons-beanutils <br> apache-commons-cli <br> apache-commons-codec <br> apache-commons-collections <br> apache-commons-collections4 <br> apache-commons-compress <br> apache-commons-daemon <br> apache-commons-dbcp <br> apache-commons-digester <br> apache-commons-httpclient <br> apache-commons-io <br> apache-commons-jexl <br> apache-commons-lang <br> apache-commons-lang3 <br> apache-commons-logging <br> apache-commons-net <br> apache-commons-pool <br> apache-commons-pool2 <br> apache-commons-validator <br> apache-commons-vfs2 <br> apache-parent <br> args4j <br> atinject <br> base64coder <br> bcel <br> bea-stax <br> beust-jcommander <br> bsf <br> byaccj <br> cal10n <br> cdparanoia <br> cglib <br> cni <br> containerized-data-importer <br> cpulimit <br> cri-o <br> ecj <br> fillup <br> flux <br> gd <br> geronimo-specs <br> glassfish-annotation-api <br> gnu-getopt <br> gnu-regexp <br> golang-packaging <br> guava <br> hamcrest <br> hawtjni-runtime <br> httpcomponents-core <br> influx-cli <br> influxdb <br> jakarta-taglibs-standard <br> jansi <br> jarjar <br> java-cup <br> java-cup-bootstrap <br> javacc <br> javacc-bootstrap <br> javassist <br> jboss-interceptors-1.2-api <br> jdepend <br> jflex <br> jflex-bootstrap <br> jlex <br> jline <br> jna <br> jsch <br> jsoup <br> jsr-305 <br> jtidy <br> junit <br> junitperf <br> jzlib <br> kubevirt <br> kured <br> libcontainers-common <br> libtheora <br> libva <br> libvdpau <br> lynx <br> multus <br> objectweb-anttask <br> objectweb-asm <br> objenesis <br> oro <br> osgi-annotation <br> osgi-compendium <br> osgi-core <br> patterns-ceph-containers <br> plexus-classworlds <br> plexus-interpolation <br> plexus-utils <br> proj <br> psl-make-dafsa <br> publicsuffix <br> qdox <br> regexp <br> relaxngDatatype <br> rhino <br> ripgrep <br> servletapi4 <br> servletapi5 <br> shapelib <br> slf4j <br> trilead-ssh2 <br> virtiofsd <br> xalan-j2 <br> xbean <br> xcursor-themes <br> xerces-j2 <br> xml-commons-apis <br> xml-commons-resolver <br> xmldb-api <br> xmlrpc-c <br> xmlunit <br> xpp2 <br> xpp3 <br> xz-java |
-| Photon | [Photon License](LICENSE-PHOTON.md) and [Photon Notice](NOTICE.APACHE2). <br>  Also see [LICENSE-EXCEPTIONS.PHOTON](LICENSE-EXCEPTIONS.PHOTON). | acl <br> alsa-lib <br> alsa-utils <br> ansible <br> apr <br> apr-util <br> asciidoc <br> atftp <br> audit <br> autoconf <br> autoconf-archive <br> autofs <br> autogen <br> automake <br> babel <br> bash <br> bc <br> bcc <br> bind <br> binutils <br> bison <br> blktrace <br> boost <br> btrfs-progs <br> bubblewrap <br> build-essential <br> bzip2 <br> c-ares <br> cairo <br> cassandra <br> cdrkit <br> check <br> chkconfig <br> chrpath <br> cifs-utils <br> clang <br> cloud-init <br> cloud-utils-growpart <br> cmake <br> cni-plugins <br> core-packages <br> coreutils <br> cpio <br> cppunit <br> cracklib <br> crash <br> crash-gcore-command <br> createrepo_c <br> cri-tools <br> cronie <br> curl <br> cyrus-sasl <br> cyrus-sasl-bootstrap <br> dbus <br> dbus-glib <br> dejagnu <br> device-mapper-multipath <br> dialog <br> diffutils <br> dkms <br> dmidecode <br> dnsmasq <br> docbook-dtd-xml <br> docbook-style-xsl <br> dosfstools <br> dracut <br> dstat <br> e2fsprogs <br> ed <br> efibootmgr <br> efivar <br> elfutils <br> emacs <br> erlang <br> etcd <br> ethtool <br> expat <br> expect <br> fcgi <br> file <br> filesystem <br> findutils <br> flex <br> fontconfig <br> fping <br> freetype <br> fuse <br> gawk <br> gc <br> gcc <br> gdb <br> gdbm <br> gettext <br> git <br> git-lfs <br> glib <br> glib-networking <br> glibc <br> glibmm <br> gmp <br> gnome-common <br> gnupg2 <br> gnuplot <br> gnutls <br> gobject-introspection <br> golang <br> golang-1.23 <br> gperf <br> gperftools <br> gpgme <br> gptfdisk <br> grep <br> groff <br> grub2 <br> gtest <br> gtk-doc <br> guile <br> gzip <br> haproxy <br> harfbuzz <br> haveged <br> hdparm <br> http-parser <br> httpd <br> i2c-tools <br> iana-etc <br> icu <br> initramfs <br> initscripts <br> inotify-tools <br> intltool <br> iotop <br> iperf3 <br> iproute <br> ipset <br> iptables <br> iputils <br> ipvsadm <br> ipxe <br> irqbalance <br> itstool <br> jansson <br> jq <br> json-c <br> json-glib <br> kbd <br> keepalived <br> kernel <br> kernel-64k <br> kernel-headers <br> kernel-ipe <br> kernel-lpg-innovate <br> kernel-mshv <br> kernel-rt <br> kernel-uvm <br> keyutils <br> kmod <br> krb5 <br> less <br> libaio <br> libarchive <br> libassuan <br> libatomic_ops <br> libcap <br> libcap-ng <br> libconfig <br> libdb <br> libdnet <br> libedit <br> libestr <br> libevent <br> libfastjson <br> libffi <br> libgcrypt <br> libgpg-error <br> libgssglue <br> libgudev <br> libjpeg-turbo <br> libksba <br> liblogging <br> libmbim <br> libmnl <br> libmodulemd <br> libmpc <br> libmspack <br> libndp <br> libnetfilter_conntrack <br> libnetfilter_cthelper <br> libnetfilter_cttimeout <br> libnetfilter_queue <br> libnfnetlink <br> libnftnl <br> libnl3 <br> libnsl2 <br> libpcap <br> libpipeline <br> libpng <br> libpsl <br> libqmi <br> librelp <br> librepo <br> librsync <br> libseccomp <br> libselinux <br> libsepol <br> libserf <br> libsigc++30 <br> libsolv <br> libsoup <br> libssh2 <br> libtalloc <br> libtar <br> libtasn1 <br> libtiff <br> libtirpc <br> libtool <br> libunistring <br> libunwind <br> libusb <br> libvirt <br> libwebp <br> libxml2 <br> libxslt <br> libyaml <br> linux-firmware <br> lldb <br> lldpad <br> llvm <br> lm-sensors <br> lmdb <br> log4cpp <br> logrotate <br> lshw <br> lsof <br> lsscsi <br> ltrace <br> lttng-tools <br> lttng-ust <br> lvm2 <br> lz4 <br> lzo <br> m2crypto <br> m4 <br> make <br> man-db <br> man-pages <br> mariadb <br> maven <br> mc <br> mercurial <br> meson <br> mlocate <br> ModemManager <br> mpfr <br> msr-tools <br> mysql <br> nano <br> nasm <br> ncurses <br> ndctl <br> net-snmp <br> net-tools <br> nettle <br> newt <br> nfs-utils <br> nghttp2 <br> nginx <br> ninja-build <br> nodejs <br> npth <br> nspr <br> nss <br> nss-altfiles <br> ntp <br> numactl <br> nvme-cli <br> oniguruma <br> OpenIPMI <br> openldap <br> openscap <br> openssh <br> openvswitch <br> ostree <br> pam <br> pango <br> parted <br> patch <br> pciutils <br> perl-Canary-Stability <br> perl-CGI <br> perl-common-sense <br> perl-Crypt-SSLeay <br> perl-DBD-SQLite <br> perl-DBI <br> perl-DBIx-Simple <br> perl-Exporter-Tiny <br> perl-File-HomeDir <br> perl-File-Which <br> perl-IO-Socket-SSL <br> perl-JSON-Any <br> perl-JSON-XS <br> perl-libintl-perl <br> perl-List-MoreUtils <br> perl-Module-Build <br> perl-Module-Install <br> perl-Module-ScanDeps <br> perl-Net-SSLeay <br> perl-NetAddr-IP <br> perl-Object-Accessor <br> perl-Path-Class <br> perl-Try-Tiny <br> perl-Types-Serialiser <br> perl-WWW-Curl <br> perl-XML-Parser <br> perl-YAML <br> perl-YAML-Tiny <br> pgbouncer <br> pinentry <br> polkit <br> popt <br> postgresql <br> procps-ng <br> protobuf <br> protobuf-c <br> psmisc <br> pth <br> pyasn1-modules <br> pyOpenSSL <br> pyparsing <br> pytest <br> python-appdirs <br> python-asn1crypto <br> python-atomicwrites <br> python-attrs <br> python-bcrypt <br> python-certifi <br> python-cffi <br> python-chardet <br> python-configobj <br> python-constantly <br> python-coverage <br> python-cryptography <br> python-daemon <br> python-dateutil <br> python-defusedxml <br> python-distro <br> python-docopt <br> python-docutils <br> python-ecdsa <br> python-gevent <br> python-hyperlink <br> python-hypothesis <br> python-idna <br> python-imagesize <br> python-incremental <br> python-iniparse <br> python-ipaddr <br> python-jinja2 <br> python-jmespath <br> python-jsonpatch <br> python-jsonpointer <br> python-jsonschema <br> python-lockfile <br> python-lxml <br> python-mako <br> python-markupsafe <br> python-mistune <br> python-msgpack <br> python-netaddr <br> python-netifaces <br> python-ntplib <br> python-oauthlib <br> python-packaging <br> python-pam <br> python-pbr <br> python-ply <br> python-prettytable <br> python-psutil <br> python-psycopg2 <br> python-py <br> python-pyasn1 <br> python-pycodestyle <br> python-pycparser <br> python-pycurl <br> python-pygments <br> python-pynacl <br> python-requests <br> python-setuptools_scm <br> python-simplejson <br> python-six <br> python-snowballstemmer <br> python-sphinx-theme-alabaster <br> python-twisted <br> python-urllib3 <br> python-vcversioner <br> python-virtualenv <br> python-wcwidth <br> python-webob <br> python-websocket-client <br> python-werkzeug <br> python-zope-event <br> python-zope-interface <br> python3 <br> pytz <br> PyYAML <br> rapidjson <br> readline <br> rng-tools <br> rpcbind <br> rpcsvc-proto <br> rpm <br> rpm-ostree <br> rrdtool <br> rsync <br> rsyslog <br> ruby <br> rust <br> scons <br> sed <br> sg3_utils <br> shadow-utils <br> slang <br> snappy <br> socat <br> sqlite <br> sshpass <br> strace <br> strongswan <br> subversion <br> sudo <br> swig <br> syslinux <br> syslog-ng <br> sysstat <br> systemd-bootstrap <br> systemtap <br> tar <br> tboot <br> tcl <br> tcpdump <br> tcsh <br> tdnf <br> telegraf <br> texinfo <br> tmux <br> tpm2-abrmd <br> tpm2-pkcs11 <br> tpm2-pytss <br> tpm2-tools <br> tpm2-tss <br> traceroute <br> tree <br> tzdata <br> unbound <br> unixODBC <br> unzip <br> usbutils <br> userspace-rcu <br> utf8proc <br> util-linux <br> valgrind <br> vim <br> vsftpd <br> WALinuxAgent <br> which <br> wpa_supplicant <br> xfsprogs <br> xinetd <br> xmlsec1 <br> xmlto <br> xz <br> zchunk <br> zeromq <br> zip <br> zlib <br> zsh |
+| Photon | [Photon License](LICENSE-PHOTON.md) and [Photon Notice](NOTICE.APACHE2). <br>  Also see [LICENSE-EXCEPTIONS.PHOTON](LICENSE-EXCEPTIONS.PHOTON). | acl <br> alsa-lib <br> alsa-utils <br> ansible <br> apr <br> apr-util <br> asciidoc <br> atftp <br> audit <br> autoconf <br> autoconf-archive <br> autofs <br> autogen <br> automake <br> babel <br> bash <br> bc <br> bcc <br> bind <br> binutils <br> bison <br> blktrace <br> boost <br> btrfs-progs <br> bubblewrap <br> build-essential <br> bzip2 <br> c-ares <br> cairo <br> cassandra <br> cdrkit <br> check <br> chkconfig <br> chrpath <br> cifs-utils <br> clang <br> cloud-init <br> cloud-utils-growpart <br> cmake <br> cni-plugins <br> core-packages <br> coreutils <br> cpio <br> cppunit <br> cracklib <br> crash <br> crash-gcore-command <br> createrepo_c <br> cri-tools <br> cronie <br> curl <br> cyrus-sasl <br> cyrus-sasl-bootstrap <br> dbus <br> dbus-glib <br> dejagnu <br> device-mapper-multipath <br> dialog <br> diffutils <br> dkms <br> dmidecode <br> dnsmasq <br> docbook-dtd-xml <br> docbook-style-xsl <br> dosfstools <br> dracut <br> dstat <br> e2fsprogs <br> ed <br> efibootmgr <br> efivar <br> elfutils <br> emacs <br> erlang <br> etcd <br> ethtool <br> expat <br> expect <br> fcgi <br> file <br> filesystem <br> findutils <br> flex <br> fontconfig <br> fping <br> freetype <br> fuse <br> gawk <br> gc <br> gcc <br> gdb <br> gdbm <br> gettext <br> git <br> git-lfs <br> glib <br> glib-networking <br> glibc <br> glibmm <br> gmp <br> gnome-common <br> gnupg2 <br> gnuplot <br> gnutls <br> gobject-introspection <br> golang <br> golang-1.23 <br> gperf <br> gperftools <br> gpgme <br> gptfdisk <br> grep <br> groff <br> grub2 <br> gtest <br> gtk-doc <br> guile <br> gzip <br> haproxy <br> harfbuzz <br> haveged <br> hdparm <br> http-parser <br> httpd <br> i2c-tools <br> iana-etc <br> icu <br> initramfs <br> initscripts <br> inotify-tools <br> intltool <br> iotop <br> iperf3 <br> iproute <br> ipset <br> iptables <br> iputils <br> ipvsadm <br> ipxe <br> irqbalance <br> itstool <br> jansson <br> jq <br> json-c <br> json-glib <br> kbd <br> keepalived <br> kernel <br> kernel-64k <br> kernel-headers <br> kernel-ipe <br> kernel-lpg-innovate <br> kernel-mshv <br> kernel-rt <br> kernel-uvm <br> keyutils <br> kmod <br> krb5 <br> less <br> libaio <br> libarchive <br> libassuan <br> libatomic_ops <br> libcap <br> libcap-ng <br> libconfig <br> libdb <br> libdnet <br> libedit <br> libestr <br> libevent <br> libfastjson <br> libffi <br> libgcrypt <br> libgpg-error <br> libgssglue <br> libgudev <br> libjpeg-turbo <br> libksba <br> liblogging <br> libmbim <br> libmnl <br> libmodulemd <br> libmpc <br> libmspack <br> libndp <br> libnetfilter_conntrack <br> libnetfilter_cthelper <br> libnetfilter_cttimeout <br> libnetfilter_queue <br> libnfnetlink <br> libnftnl <br> libnl3 <br> libnsl2 <br> libpcap <br> libpipeline <br> libpng <br> libpsl <br> libqmi <br> librelp <br> librepo <br> librsync <br> libseccomp <br> libselinux <br> libsepol <br> libserf <br> libsigc++30 <br> libsolv <br> libsoup <br> libssh2 <br> libtalloc <br> libtar <br> libtasn1 <br> libtiff <br> libtirpc <br> libtool <br> libunistring <br> libunwind <br> libusb <br> libvirt <br> libwebp <br> libxml2 <br> libxslt <br> libyaml <br> linux-firmware <br> lldb <br> lldpad <br> llvm <br> lm-sensors <br> lmdb <br> log4cpp <br> logrotate <br> lshw <br> lsof <br> lsscsi <br> ltrace <br> lttng-tools <br> lttng-ust <br> lvm2 <br> lz4 <br> lzo <br> m2crypto <br> m4 <br> make <br> man-db <br> man-pages <br> mariadb <br> maven <br> mc <br> mercurial <br> meson <br> mlocate <br> ModemManager <br> mpfr <br> msr-tools <br> mysql <br> nano <br> nasm <br> ncurses <br> ndctl <br> net-snmp <br> net-tools <br> nettle <br> newt <br> nfs-utils <br> nghttp2 <br> nginx <br> ninja-build <br> nodejs <br> npth <br> nspr <br> nss <br> nss-altfiles <br> ntp <br> numactl <br> nvme-cli <br> oniguruma <br> OpenIPMI <br> openldap <br> openscap <br> openssh <br> openvswitch <br> ostree <br> pam <br> pango <br> parted <br> patch <br> pciutils <br> perl-Canary-Stability <br> perl-CGI <br> perl-common-sense <br> perl-Crypt-SSLeay <br> perl-DBD-SQLite <br> perl-DBI <br> perl-DBIx-Simple <br> perl-Exporter-Tiny <br> perl-File-HomeDir <br> perl-File-Which <br> perl-IO-Socket-SSL <br> perl-JSON-Any <br> perl-JSON-XS <br> perl-libintl-perl <br> perl-List-MoreUtils <br> perl-Module-Build <br> perl-Module-Install <br> perl-Module-ScanDeps <br> perl-Net-SSLeay <br> perl-NetAddr-IP <br> perl-Object-Accessor <br> perl-Path-Class <br> perl-Try-Tiny <br> perl-Types-Serialiser <br> perl-WWW-Curl <br> perl-XML-Parser <br> perl-YAML <br> perl-YAML-Tiny <br> pgbouncer <br> pinentry <br> polkit <br> popt <br> postgresql <br> procps-ng <br> protobuf <br> protobuf-c <br> psmisc <br> pth <br> pyasn1-modules <br> pyOpenSSL <br> pyparsing <br> pytest <br> python-appdirs <br> python-asn1crypto <br> python-atomicwrites <br> python-attrs <br> python-bcrypt <br> python-certifi <br> python-cffi <br> python-chardet <br> python-configobj <br> python-constantly <br> python-coverage <br> python-cryptography <br> python-daemon <br> python-dateutil <br> python-defusedxml <br> python-distro <br> python-docopt <br> python-docutils <br> python-ecdsa <br> python-gevent <br> python-hyperlink <br> python-hypothesis <br> python-idna <br> python-imagesize <br> python-incremental <br> python-iniparse <br> python-ipaddr <br> python-jinja2 <br> python-jmespath <br> python-jsonpatch <br> python-jsonpointer <br> python-jsonschema <br> python-lockfile <br> python-lxml <br> python-mako <br> python-markupsafe <br> python-mistune <br> python-msgpack <br> python-netaddr <br> python-netifaces <br> python-ntplib <br> python-oauthlib <br> python-packaging <br> python-pam <br> python-pbr <br> python-ply <br> python-prettytable <br> python-psutil <br> python-psycopg2 <br> python-py <br> python-pyasn1 <br> python-pycodestyle <br> python-pycparser <br> python-pycurl <br> python-pygments <br> python-pynacl <br> python-requests <br> python-setuptools_scm <br> python-simplejson <br> python-six <br> python-snowballstemmer <br> python-sphinx-theme-alabaster <br> python-twisted <br> python-urllib3 <br> python-vcversioner <br> python-virtualenv <br> python-wcwidth <br> python-webob <br> python-websocket-client <br> python-werkzeug <br> python-zope-event <br> python-zope-interface <br> python3 <br> pytz <br> PyYAML <br> rapidjson <br> readline <br> rng-tools <br> rpcbind <br> rpcsvc-proto <br> rpm <br> rpm-ostree <br> rrdtool <br> rsync <br> rsyslog <br> ruby <br> rust <br> rust-1.75 <br> scons <br> sed <br> sg3_utils <br> shadow-utils <br> slang <br> snappy <br> socat <br> sqlite <br> sshpass <br> strace <br> strongswan <br> subversion <br> sudo <br> swig <br> syslinux <br> syslog-ng <br> sysstat <br> systemd-bootstrap <br> systemtap <br> tar <br> tboot <br> tcl <br> tcpdump <br> tcsh <br> tdnf <br> telegraf <br> texinfo <br> tmux <br> tpm2-abrmd <br> tpm2-pkcs11 <br> tpm2-pytss <br> tpm2-tools <br> tpm2-tss <br> traceroute <br> tree <br> tzdata <br> unbound <br> unixODBC <br> unzip <br> usbutils <br> userspace-rcu <br> utf8proc <br> util-linux <br> valgrind <br> vim <br> vsftpd <br> WALinuxAgent <br> which <br> wpa_supplicant <br> xfsprogs <br> xinetd <br> xmlsec1 <br> xmlto <br> xz <br> zchunk <br> zeromq <br> zip <br> zlib <br> zsh |
 | RPM software management source | [GPLv2+ License](https://github.com/rpm-software-management/dnf5/blob/main/COPYING.md) | dnf5 |
 | Source project | Same as the source project. | python-nocaselist |
 | Sysbench source | [GPLv2+ License](https://github.com/akopytov/sysbench/blob/master/COPYING) | sysbench |
diff --git a/LICENSES-AND-NOTICES/SPECS/data/licenses.json b/LICENSES-AND-NOTICES/SPECS/data/licenses.json
index ef81d1027f3..3bbe0da4d8e 100644
--- a/LICENSES-AND-NOTICES/SPECS/data/licenses.json
+++ b/LICENSES-AND-NOTICES/SPECS/data/licenses.json
@@ -3084,6 +3084,7 @@
                 "rsyslog",
                 "ruby",
                 "rust",
+                "rust-1.75",
                 "scons",
                 "sed",
                 "sg3_utils",
diff --git a/SPECS-EXTENDED/389-ds-base/389-ds-base.spec b/SPECS-EXTENDED/389-ds-base/389-ds-base.spec
index 0b608b1caa9..a8702336305 100644
--- a/SPECS-EXTENDED/389-ds-base/389-ds-base.spec
+++ b/SPECS-EXTENDED/389-ds-base/389-ds-base.spec
@@ -68,7 +68,7 @@ ExcludeArch: i686
 Summary:          389 Directory Server (%{variant})
 Name:             389-ds-base
 Version:          3.1.1
-Release:          2%{?dist}
+Release:          3%{?dist}
 License:          GPL-3.0-or-later AND (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT) AND (CC-BY-4.0 AND MIT) AND (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND (MIT OR CC0-1.0) AND (MIT OR Unlicense) AND 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MIT AND ISC AND MPL-2.0 AND PSF-2.0
 URL:              https://www.port389.org
 Vendor:           Microsoft Corporation
@@ -732,6 +732,9 @@ exit 0
 %endif
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> 3.1.1-3
+- Bump release to build with rust 1.85.0
+
 * Fri Sep 20 2024 Muhammad Falak <mwani@microsoft.com> 3.1.0-2
 - Initial Azure Linux import from Fedora 42 (license: MIT)
 - License verified
diff --git a/SPECS-EXTENDED/ripgrep/ripgrep.spec b/SPECS-EXTENDED/ripgrep/ripgrep.spec
index 544c2c754f8..6c4a7396563 100644
--- a/SPECS-EXTENDED/ripgrep/ripgrep.spec
+++ b/SPECS-EXTENDED/ripgrep/ripgrep.spec
@@ -20,7 +20,7 @@
 
 Name:           ripgrep
 Version:        13.0.0
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        A search tool that combines ag with grep
 License:        MIT AND Unlicense
 Vendor:         Microsoft Corporation
@@ -31,7 +31,7 @@ Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
 Source1:        %{name}-%{version}-vendor.tar.xz
 Source2:        cargo_config
 BuildRequires:  cargo
-BuildRequires:  rust >= 1.31
+BuildRequires:  rust
 BuildRequires:  rubygem(asciidoctor)
 
 %description
@@ -104,6 +104,9 @@ install -Dm 644 complete/_rg %{buildroot}%{_datadir}/zsh/site-functions/_rg
 %{_datadir}/zsh
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 13.0.0-6
+- Bump release to build with rust 1.85.0
+
 * Thu Sep 07 2023 Daniel McIlvaney <damcilva@microsoft.com> - 13.0.0-5
 - Bump package to rebuild with rust 1.72.0
 
diff --git a/SPECS-EXTENDED/rust-cbindgen/rust-cbindgen.spec b/SPECS-EXTENDED/rust-cbindgen/rust-cbindgen.spec
index a896e1191f3..2764b2fe0d7 100644
--- a/SPECS-EXTENDED/rust-cbindgen/rust-cbindgen.spec
+++ b/SPECS-EXTENDED/rust-cbindgen/rust-cbindgen.spec
@@ -2,7 +2,7 @@
 Summary:        Tool for generating C bindings to Rust code
 Name:           rust-cbindgen
 Version:        0.24.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        MIT
 Vendor:         Microsoft Corporation
 Distribution:   Azure Linux
@@ -20,8 +20,8 @@ Source2:        cargo_config
 %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
 %global _description %{expand:
 A tool for generating C bindings to Rust code.}
-BuildRequires:  cargo >= 1.45
-BuildRequires:  rust >= 1.45
+BuildRequires:  cargo
+BuildRequires:  rust
 
 %description %{_description}
 
@@ -96,6 +96,9 @@ RUSTFLAGS=%{rustflags} cargo test --release
 %endif
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 0.24.3-2
+- Bump release to build with rust 1.85.0
+
 * Mon Sep 25 2023 Shweta Bindal <shwetabindal@microsoft.com> - 0.24.3-1
 - Initial CBL-Mariner import from Fedora 38 (license: MIT).
 - License verified
diff --git a/SPECS/clamav/clamav.spec b/SPECS/clamav/clamav.spec
index 649d34afa5a..40fbf28ccf2 100644
--- a/SPECS/clamav/clamav.spec
+++ b/SPECS/clamav/clamav.spec
@@ -1,7 +1,7 @@
 Summary:        Open source antivirus engine
 Name:           clamav
 Version:        1.0.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        ASL 2.0 AND BSD AND bzip2-1.0.4 AND GPLv2 AND LGPLv2+ AND MIT AND Public Domain AND UnRar
 Vendor:         Microsoft Corporation
 Distribution:   Azure Linux
@@ -31,7 +31,7 @@ BuildRequires:  pcre2-devel
 BuildRequires:  python3
 BuildRequires:  python3-pip
 BuildRequires:  python3-pytest
-BuildRequires:  rust
+BuildRequires:  rust < 1.85.0
 BuildRequires:  systemd
 BuildRequires:  systemd-devel
 BuildRequires:  systemd-rpm-macros
@@ -136,6 +136,9 @@ fi
 %dir %attr(-,clamav,clamav) %{_sharedstatedir}/clamav
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 1.0.7-2
+- Pin rust version
+
 * Fri Oct 18 2024 Archana Choudhary <archana1@microsoft.com> - 1.0.7-1
 - Upgrade to version 1.0.7
 - Fixes CVE-2024-20506, CVE-2024-20505
diff --git a/SPECS/cloud-hypervisor-cvm/cloud-hypervisor-cvm.spec b/SPECS/cloud-hypervisor-cvm/cloud-hypervisor-cvm.spec
index 1190f0b6512..fbc18537230 100644
--- a/SPECS/cloud-hypervisor-cvm/cloud-hypervisor-cvm.spec
+++ b/SPECS/cloud-hypervisor-cvm/cloud-hypervisor-cvm.spec
@@ -5,7 +5,7 @@
 Name:           cloud-hypervisor-cvm
 Summary:        Cloud Hypervisor CVM is an open source Virtual Machine Monitor (VMM) that enables running SEV SNP enabled VMs on top of MSHV using the IGVM file format as payload.
 Version:        38.0.72.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 License:        ASL 2.0 OR BSD-3-clause
 Vendor:         Microsoft Corporation
 Distribution:   Azure Linux
@@ -40,8 +40,8 @@ BuildRequires:  glibc-devel
 BuildRequires:  openssl-devel
 
 %if ! 0%{?using_rustup}
-BuildRequires:  rust >= 1.62.0
-BuildRequires:  cargo >= 1.62.0
+BuildRequires:  rust < 1.85.0
+BuildRequires:  cargo < 1.85.0
 %endif
 
 Requires: bash
@@ -148,6 +148,9 @@ cargo build --release --target=%{rust_musl_target} %{cargo_pkg_feature_opts} %{c
 %license LICENSE-BSD-3-Clause
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 38.0.72.2-4
+- Pin rust version
+
 * Sun Feb 16 2025 Kanishk Bansal <kanbansal@microsoft.com> - 38.0.72.2-3
 - Patch CVE-2024-12797
 
diff --git a/SPECS/flux/flux.spec b/SPECS/flux/flux.spec
index 4516d7ea43b..528704ddcce 100644
--- a/SPECS/flux/flux.spec
+++ b/SPECS/flux/flux.spec
@@ -22,7 +22,7 @@
 Summary:        Influx data language
 Name:           flux
 Version:        0.194.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        MIT
 Vendor:         Microsoft Corporation
 Distribution:   Azure Linux
@@ -43,9 +43,9 @@ Patch1:         disable-static-library.patch
 # Fixed upstream in 1.195.0, https://github.com/influxdata/flux/pull/5484.
 Patch2:         fix-build-warnings.patch
 Patch3:         fix-unsigned-char.patch
-BuildRequires:  cargo >= 1.45
+BuildRequires:  cargo < 1.85.0
 BuildRequires:  kernel-headers
-BuildRequires:  rust >= 1.45
+BuildRequires:  rust < 1.85.0
 
 %description
 Flux is a lightweight scripting language for querying databases (like InfluxDB)
@@ -144,6 +144,9 @@ RUSTFLAGS=%{rustflags} cargo test --release
 %{_includedir}/influxdata/flux.h
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 0.194.5-3
+- Pin rust version
+
 * Mon Apr 14 2025 Tobias Brick <tobiasb@microsoft.com> - 0.194.5-2
 - Add missing EOF for inline patch call.
 - Fix build warnings rather than suppressing them.
diff --git a/SPECS/influxdb/influxdb.spec b/SPECS/influxdb/influxdb.spec
index a32ab9614af..5dd0f6d9397 100644
--- a/SPECS/influxdb/influxdb.spec
+++ b/SPECS/influxdb/influxdb.spec
@@ -18,7 +18,7 @@
 Summary:        Scalable datastore for metrics, events, and real-time analytics
 Name:           influxdb
 Version:        2.7.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        MIT
 Vendor:         Microsoft Corporation
 Distribution:   Azure Linux
@@ -68,7 +68,7 @@ BuildRequires:  clang
 BuildRequires:  golang
 BuildRequires:  kernel-headers
 BuildRequires:  protobuf-devel
-BuildRequires:  rust >= 1.60.0
+BuildRequires:  rust < 1.85.0
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  tzdata
 # IMPORTANT:  when upgrading this, make sure the flux version matches what is required by go.mod file in the soure code of influxdb.
@@ -153,6 +153,9 @@ go test ./...
 %{_tmpfilesdir}/influxdb.conf
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 2.7.5-3
+- Pin rust version
+
 * Mon Mar 03 2025 Kanishk Bansal <kanbansal@microsoft.com> - 2.7.5-2
 - Fix CVE-2025-22868, CVE-2025-27144 with an upstream patch
 
diff --git a/SPECS/kata-containers-cc/kata-containers-cc.spec b/SPECS/kata-containers-cc/kata-containers-cc.spec
index 0df89c7b17b..6fd2b7f1c8d 100644
--- a/SPECS/kata-containers-cc/kata-containers-cc.spec
+++ b/SPECS/kata-containers-cc/kata-containers-cc.spec
@@ -3,7 +3,7 @@
 
 Name:         kata-containers-cc
 Version:      3.2.0.azl5
-Release:      1%{?dist}
+Release:      2%{?dist}
 Summary:      Kata Confidential Containers package developed for Confidential Containers on AKS
 License:      ASL 2.0
 URL:          https://github.com/microsoft/kata-containers
@@ -17,7 +17,7 @@ ExclusiveArch: x86_64
 BuildRequires:  azurelinux-release
 BuildRequires:  golang
 BuildRequires:  protobuf-compiler
-BuildRequires:  rust
+BuildRequires:  rust < 1.85.0
 BuildRequires:  libseccomp-devel
 BuildRequires:  openssl-devel
 BuildRequires:  clang
@@ -150,6 +150,9 @@ fi
 %{tools_pkg}/tools/osbuilder/node-builder/azure-linux/agent-install/usr/lib/systemd/system/kata-agent.service
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 3.2.0.azl5-2
+- Pin rust version
+
 * Fri Mar 28 2025 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 3.2.0.azl5-1
 - Auto-upgrade to 3.2.0.azl5
 
diff --git a/SPECS/kata-containers/kata-containers.spec b/SPECS/kata-containers/kata-containers.spec
index 88dc1d11e98..d43cf63750d 100644
--- a/SPECS/kata-containers/kata-containers.spec
+++ b/SPECS/kata-containers/kata-containers.spec
@@ -2,7 +2,7 @@
 
 Name:           kata-containers
 Version:        3.2.0.azl5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Kata Containers package developed for Pod Sandboxing on AKS
 License:        ASL 2.0
 URL:            https://github.com/microsoft/kata-containers
@@ -16,7 +16,7 @@ ExclusiveArch: x86_64
 BuildRequires:  azurelinux-release
 BuildRequires:  golang
 BuildRequires:  protobuf-compiler
-BuildRequires:  rust
+BuildRequires:  rust < 1.85.0
 BuildRequires:  libseccomp-devel
 BuildRequires:  openssl-devel
 BuildRequires:  clang
@@ -112,6 +112,9 @@ popd
 %{tools_pkg}/tools/osbuilder/node-builder/azure-linux/agent-install/usr/lib/systemd/system/kata-agent.service
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 3.2.0.azl5-2
+- Pin rust version
+
 * Fri Mar 28 2025 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 3.2.0.azl5-1
 - Auto-upgrade to 3.2.0.azl5
 
diff --git a/SPECS/librsvg2/librsvg2.spec b/SPECS/librsvg2/librsvg2.spec
index 8233fc0ca52..c7dbc0abaf5 100644
--- a/SPECS/librsvg2/librsvg2.spec
+++ b/SPECS/librsvg2/librsvg2.spec
@@ -8,7 +8,7 @@
 Summary:        An SVG library based on cairo
 Name:           librsvg2
 Version:        2.58.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        LGPLv2+
 Vendor:         Microsoft Corporation
 Distribution:   Azure Linux
@@ -31,7 +31,7 @@ BuildRequires:  gobject-introspection-devel
 BuildRequires:  harfbuzz-devel >= 2.0.0
 BuildRequires:  make
 BuildRequires:  pkgconfig
-BuildRequires:  rust
+BuildRequires:  rust < 1.85.0
 BuildRequires:  vala
 BuildRequires:  vala-devel
 BuildRequires:  vala-tools
@@ -125,6 +125,9 @@ rm -vrf %{buildroot}%{_docdir}
 %{_bindir}/rsvg-convert
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 2.58.1-2
+- Pin rust version
+
 * Tue Jun 04 2024 Nicolas Guibourge <nicolasg@microsoft.com> - 2.58.1-1
 - Upgrade to 2.58.1
 
diff --git a/SPECS/mesa/mesa.spec b/SPECS/mesa/mesa.spec
index 26d92cf0c70..3e1e9f1af83 100644
--- a/SPECS/mesa/mesa.spec
+++ b/SPECS/mesa/mesa.spec
@@ -67,7 +67,7 @@
 Name:           mesa
 Summary:        Mesa graphics libraries
 Version:        24.0.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        BSD
 Vendor:         Microsoft Corporation
 Distribution:   Azure Linux
@@ -144,7 +144,7 @@ BuildRequires:  llvm-devel >= 7.0.0
 %if 0%{?with_opencl} || 0%{?with_nvk}
 BuildRequires:  clang-devel
 BuildRequires:  bindgen
-BuildRequires:  rust
+BuildRequires:  rust < 1.85.0
 BuildRequires:  pkgconfig(libclc)
 BuildRequires:  pkgconfig(SPIRV-Tools)
 BuildRequires:  pkgconfig(LLVMSPIRVLib)
@@ -741,6 +741,9 @@ popd
 %endif
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 24.0.1-2
+- Pin rust version
+
 * Thu Feb 29 2024 Vince Perri <viperri@microsoft.com> - 24.0.1-1
 - Upgrade to 24.0.1 based on Fedora 40.
 - License verified.
diff --git a/SPECS/netavark/netavark.spec b/SPECS/netavark/netavark.spec
index 042dd2383eb..5b8a4ff1502 100644
--- a/SPECS/netavark/netavark.spec
+++ b/SPECS/netavark/netavark.spec
@@ -11,7 +11,7 @@
 
 Name:          netavark
 Version:       1.10.3
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       OCI network stack
 License:       ASL 2.0 and BSD and MIT
 Vendor:        Microsoft Corporation
@@ -19,11 +19,11 @@ Distribution:   Azure Linux
 URL:           https://github.com/containers/%{name}
 Source0:       %{url}/archive/%{built_tag}/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:       %{url}/releases/download/%{built_tag}/%{name}-%{built_tag}-vendor.tar.gz
-BuildRequires: cargo
+BuildRequires: cargo < 1.85.0
 BuildRequires: make
 BuildRequires: protobuf-c
 BuildRequires: protobuf-compiler
-BuildRequires: rust
+BuildRequires: rust < 1.85.0
 BuildRequires: git
 BuildRequires: go-md2man
 Recommends:    aardvark-dns >= 1.10.3-1
@@ -225,6 +225,9 @@ popd
 %{_unitdir}/%{name}-firewalld-reload.service
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 1.10.3-2
+- Pin rust version
+
 * Thu Feb 22 2024 Mitch Zhu <mitchzhu@microsoft.com> - 1.10.3-1
 - upgrade to v1.10.3
 
diff --git a/SPECS/rpm-ostree/rpm-ostree.spec b/SPECS/rpm-ostree/rpm-ostree.spec
index 47b6b44689a..d9ef817c98c 100644
--- a/SPECS/rpm-ostree/rpm-ostree.spec
+++ b/SPECS/rpm-ostree/rpm-ostree.spec
@@ -1,7 +1,7 @@
 Summary:        Commit RPMs to an OSTree repository
 Name:           rpm-ostree
 Version:        2024.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        LGPLv2+
 Vendor:         Microsoft Corporation
 Distribution:   Azure Linux
@@ -15,7 +15,7 @@ BuildRequires:  autoconf
 BuildRequires:  autogen
 BuildRequires:  automake
 BuildRequires:  bubblewrap
-BuildRequires:  cargo
+BuildRequires:  cargo < 1.85.0
 BuildRequires:  check
 BuildRequires:  cppunit-devel
 BuildRequires:  createrepo_c
@@ -45,7 +45,7 @@ BuildRequires:  polkit-devel
 BuildRequires:  popt-devel
 BuildRequires:  python3-devel
 BuildRequires:  python3-pygments
-BuildRequires:  rust
+BuildRequires:  rust < 1.85.0
 BuildRequires:  sqlite-devel
 BuildRequires:  systemd-devel
 BuildRequires:  which
@@ -177,6 +177,9 @@ make check
 %{_datadir}/gir-1.0/*-1.0.gir
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 2024.4-2
+- Pin rust version
+
 * Fri Apr 05 2024 Betty Lakes <bettylakes@microsoft.com> - 2024.4-1
 - Upgrade to 2024.4 and remove libgsystem dependency
 
diff --git a/SPECS/rust/Ignore_failing_ci_tests.patch b/SPECS/rust/Ignore_failing_ci_tests.patch
new file mode 100644
index 00000000000..1c87e6ce63a
--- /dev/null
+++ b/SPECS/rust/Ignore_failing_ci_tests.patch
@@ -0,0 +1,45 @@
+From 12051f0e3d8e9015ea12cde503a3d24d78e934b0 Mon Sep 17 00:00:00 2001
+From: kavyasree <kkaitepalli@microsoft.com>
+Date: Wed, 26 Feb 2025 15:53:42 +0530
+Subject: [PATCH] Ignoring_failing_ci_tests
+
+---
+ src/bootstrap/src/core/builder/tests.rs | 1 +
+ src/bootstrap/src/core/config/tests.rs  | 2 ++
+ 2 files changed, 3 insertions(+)
+
+diff --git a/src/bootstrap/src/core/builder/tests.rs b/src/bootstrap/src/core/builder/tests.rs
+index 21694cf46..7b701f48e 100644
+--- a/src/bootstrap/src/core/builder/tests.rs
++++ b/src/bootstrap/src/core/builder/tests.rs
+@@ -202,6 +202,7 @@ fn alias_and_path_for_library() {
+     ]);
+ }
+ 
++#[ignore]
+ #[test]
+ fn ci_rustc_if_unchanged_logic() {
+     let config = Config::parse_inner(
+diff --git a/src/bootstrap/src/core/config/tests.rs b/src/bootstrap/src/core/config/tests.rs
+index 24f932a17..51ab892f1 100644
+--- a/src/bootstrap/src/core/config/tests.rs
++++ b/src/bootstrap/src/core/config/tests.rs
+@@ -20,6 +20,7 @@ pub(crate) fn parse(config: &str) -> Config {
+     )
+ }
+ 
++#[ignore]
+ #[test]
+ fn download_ci_llvm() {
+     let config = parse("");
+@@ -433,6 +434,7 @@ fn jobs_precedence() {
+     assert_eq!(config.jobs, Some(123));
+ }
+ 
++#[ignore]
+ #[test]
+ fn check_rustc_if_unchanged_paths() {
+     let config = parse("");
+-- 
+2.34.1
+
diff --git a/SPECS/rust/generate_source_tarball-1.75 b/SPECS/rust/generate_source_tarball-1.75
new file mode 100644
index 00000000000..766034aa69e
--- /dev/null
+++ b/SPECS/rust/generate_source_tarball-1.75
@@ -0,0 +1,121 @@
+#!/bin/bash
+# Copyright (c) Microsoft Corporation.
+# Licensed under the MIT License.
+
+# Quit on failure
+set -e
+
+PKG_VERSION=""
+SRC_TARBALL=""
+OUT_FOLDER="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+
+# parameters:
+#
+# --srcTarball  : src tarball file
+#                 this file contains the 'initial' source code of the component
+#                 and should be replaced with the new/modified src code
+# --outFolder   : folder where to copy the new tarball(s)
+# --pkgVersion  : package version
+#
+PARAMS=""
+while (( "$#" )); do
+    case "$1" in
+        --srcTarball)
+        if [ -n "$2" ] && [ ${2:0:1} != "-" ]; then
+            SRC_TARBALL=$2
+            shift 2
+        else
+            echo "Error: Argument for $1 is missing" >&2
+            exit 1
+        fi
+        ;;
+        --outFolder)
+        if [ -n "$2" ] && [ ${2:0:1} != "-" ]; then
+            OUT_FOLDER=$2
+            shift 2
+        else
+            echo "Error: Argument for $1 is missing" >&2
+            exit 1
+        fi
+        ;;
+        --pkgVersion)
+        if [ -n "$2" ] && [ ${2:0:1} != "-" ]; then
+            PKG_VERSION=$2
+            shift 2
+        else
+            echo "Error: Argument for $1 is missing" >&2
+            exit 1
+        fi
+        ;;
+        -*|--*=) # unsupported flags
+        echo "Error: Unsupported flag $1" >&2
+        exit 1
+        ;;
+        *) # preserve positional arguments
+        PARAMS="$PARAMS $1"
+        shift
+        ;;
+  esac
+done
+
+echo "--srcTarball   -> $SRC_TARBALL"
+echo "--outFolder    -> $OUT_FOLDER"
+echo "--pkgVersion   -> $PKG_VERSION"
+
+if [ -z "$PKG_VERSION" ]; then
+    echo "--pkgVersion parameter cannot be empty"
+    exit 1
+fi
+
+echo "-- create temp folder"
+tmpdir=$(mktemp -d)
+function cleanup {
+    echo "+++ cleanup -> remove $tmpdir"
+    rm -rf $tmpdir
+}
+trap cleanup EXIT
+
+src_folder="$tmpdir/srcFolder"
+src_root="$src_folder/rustc-$PKG_VERSION-src"
+temp_cache="$tmpdir/cacheFolder"
+mkdir -p $src_folder
+mkdir -p $temp_cache
+
+pushd $src_folder > /dev/null
+echo "Unpacking source tarball..."
+tar -xf $SRC_TARBALL
+popd > /dev/null
+
+pushd $src_root > /dev/null
+echo "Fetching dependencies to a temporary cache"
+# The build environment's rust may not have all the features required to run
+# cargo fetch, so we need to use the bootstrap mode that disables some features.
+export RUSTC_BOOTSTRAP=1
+CARGO_HOME=$src_root/.cargo cargo fetch
+echo "Compressing the cache."
+tar --sort=name --mtime="2021-04-26 00:00Z" \
+    --owner=0 --group=0 --numeric-owner \
+    --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime -cf \
+    "$OUT_FOLDER/rustc-$PKG_VERSION-src-cargo.tar.gz" .cargo
+popd > /dev/null
+
+pushd $OUT_FOLDER > /dev/null
+echo "get additional src tarballs"
+CONFIG_FILE="$src_root/src/stage0.json"
+RUST_RELEASE_DATE=$(cat $CONFIG_FILE | jq -r '.compiler.date')
+RUST_STAGE0_VERSION=$(cat $CONFIG_FILE | jq -r '.compiler.version')
+wget https://static.rust-lang.org/dist/$RUST_RELEASE_DATE/cargo-$RUST_STAGE0_VERSION-x86_64-unknown-linux-gnu.tar.xz
+wget https://static.rust-lang.org/dist/$RUST_RELEASE_DATE/rustc-$RUST_STAGE0_VERSION-x86_64-unknown-linux-gnu.tar.xz
+wget https://static.rust-lang.org/dist/$RUST_RELEASE_DATE/rust-std-$RUST_STAGE0_VERSION-x86_64-unknown-linux-gnu.tar.xz
+wget https://static.rust-lang.org/dist/$RUST_RELEASE_DATE/cargo-$RUST_STAGE0_VERSION-aarch64-unknown-linux-gnu.tar.xz
+wget https://static.rust-lang.org/dist/$RUST_RELEASE_DATE/rustc-$RUST_STAGE0_VERSION-aarch64-unknown-linux-gnu.tar.xz
+wget https://static.rust-lang.org/dist/$RUST_RELEASE_DATE/rust-std-$RUST_STAGE0_VERSION-aarch64-unknown-linux-gnu.tar.xz
+
+
+popd > /dev/null
+echo "=========================="
+echo "release date:   $RUST_RELEASE_DATE"
+echo "stage0 version: $RUST_STAGE0_VERSION"
+echo " "
+echo "Rust additional src tarballs are available at $OUT_FOLDER"
+ls -ls $OUT_FOLDER
diff --git a/SPECS/rust/generate_source_tarball.sh b/SPECS/rust/generate_source_tarball.sh
index 766034aa69e..aa408644660 100755
--- a/SPECS/rust/generate_source_tarball.sh
+++ b/SPECS/rust/generate_source_tarball.sh
@@ -101,9 +101,10 @@ popd > /dev/null
 
 pushd $OUT_FOLDER > /dev/null
 echo "get additional src tarballs"
-CONFIG_FILE="$src_root/src/stage0.json"
-RUST_RELEASE_DATE=$(cat $CONFIG_FILE | jq -r '.compiler.date')
-RUST_STAGE0_VERSION=$(cat $CONFIG_FILE | jq -r '.compiler.version')
+CONFIG_FILE="$src_root/src/stage0"
+RUST_RELEASE_DATE=$(grep "^compiler_date=" $CONFIG_FILE | cut -d '=' -f 2)
+RUST_STAGE0_VERSION=$(grep "^compiler_version=" $CONFIG_FILE | cut -d '=' -f 2)
+
 wget https://static.rust-lang.org/dist/$RUST_RELEASE_DATE/cargo-$RUST_STAGE0_VERSION-x86_64-unknown-linux-gnu.tar.xz
 wget https://static.rust-lang.org/dist/$RUST_RELEASE_DATE/rustc-$RUST_STAGE0_VERSION-x86_64-unknown-linux-gnu.tar.xz
 wget https://static.rust-lang.org/dist/$RUST_RELEASE_DATE/rust-std-$RUST_STAGE0_VERSION-x86_64-unknown-linux-gnu.tar.xz
diff --git a/SPECS/rust/rust-1.75.signatures.json b/SPECS/rust/rust-1.75.signatures.json
new file mode 100644
index 00000000000..b04eb3fd8a0
--- /dev/null
+++ b/SPECS/rust/rust-1.75.signatures.json
@@ -0,0 +1,12 @@
+{
+ "Signatures": {
+  "cargo-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a18dc9132cf76ccba90bcbb53b56a4d37ebfb34845f61e79f7b5d4710a269647",
+  "cargo-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6",
+  "rust-std-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "c5ad01692bc08ce6f4db2ac815be63498b45013380c71f22b3d33bf3be767270",
+  "rust-std-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea",
+  "rustc-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a49bb365481913ead305658e7e9dc621da7895036b840fb57b1bc85c721d07e6",
+  "rustc-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181",
+  "rustc-1.75.0-src-cargo.tar.gz": "8b41ba09a0e998fce6bafa69c93c8c5384b29b38438104db7c98e348b4759979",
+  "rustc-1.75.0-src.tar.xz": "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340"
+ }
+}
\ No newline at end of file
diff --git a/SPECS/rust/rust-1.75.spec b/SPECS/rust/rust-1.75.spec
new file mode 100644
index 00000000000..525a8236bcc
--- /dev/null
+++ b/SPECS/rust/rust-1.75.spec
@@ -0,0 +1,330 @@
+# Prevent librustc_driver from inadvertently being listed as a requirement
+%global __requires_exclude ^librustc_driver-
+
+# Release date and version of stage 0 compiler can be found in "src/stage0.json" inside the extracted "Source0".
+# Look for "date:" and "rustc:".
+%define release_date 2023-11-16
+%define stage0_version 1.74.0
+
+Summary:        Rust Programming Language
+Name:           rust
+Version:        1.75.0
+Release:        13%{?dist}
+License:        (ASL 2.0 OR MIT) AND BSD AND CC-BY-3.0
+Vendor:         Microsoft Corporation
+Distribution:   Azure Linux
+Group:          Applications/System
+URL:            https://www.rust-lang.org/
+# Notes:
+#  - rust source official repo is https://github.com/rust-lang/rust
+#  - cargo source official repo is https://github.com/rust-lang/cargo
+#  - crates.io source official repo is https://github.com/rust-lang/crates.io
+Source0:        https://static.rust-lang.org/dist/rustc-%{version}-src.tar.xz
+# Note: the rust-%%{version}-cargo.tar.gz file contains a cache created by capturing the contents downloaded into $CARGO_HOME.
+# To update the cache, leverage the: generate_source_tarball.sh
+#
+# An example run for rust 1.68.2:
+# - Download Rust Source (1.68.2):
+#   wget https://static.rust-lang.org/dist/rustc-1.68.2-src.tar.xz
+# - Create a directory to store the output from the script:
+#   mkdir rustOutputDir
+# - Get prereqs for the script (for a mariner container):
+#   tdnf -y install rust wget jq tar ca-certificates
+# - Run the script:
+#   ./generate_source_tarball --srcTarball path/to/rustc-1.68.2-src.tar.xz --outFolder path/to/rustOutputDir --pkgVersion 1.68.2
+#
+
+Source1:        rustc-%{version}-src-cargo.tar.gz
+Source2:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-x86_64-unknown-linux-gnu.tar.xz
+Source3:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-x86_64-unknown-linux-gnu.tar.xz
+Source4:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-x86_64-unknown-linux-gnu.tar.xz
+Source5:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
+Source6:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
+Source7:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
+Patch0:         CVE-2023-45853.patch
+Patch1:         CVE-2024-32884.patch
+Patch2:         CVE-2024-31852.patch
+
+BuildRequires:  binutils
+BuildRequires:  cmake
+# make sure rust relies on curl from CBL-Mariner (instead of using its vendored flavor)
+BuildRequires:  curl-devel
+BuildRequires:  git
+BuildRequires:  glibc
+# make sure rust relies on libgit2 from CBL-Mariner (instead of using its vendored flavor)
+BuildRequires:  libgit2-devel
+# make sure rust relies on nghttp2 from CBL-Mariner (instead of using its vendored flavor)
+BuildRequires:  nghttp2-devel
+BuildRequires:  ninja-build
+# make sure rust relies on openssl from CBL-Mariner (instead of using its vendored flavor)
+BuildRequires:  openssl-devel
+BuildRequires:  python3
+# make sure rust depends on system zlib
+BuildRequires:  zlib-devel
+%if 0%{?with_check}
+BuildRequires:  glibc-static >= 2.38-9%{?dist}
+%endif
+# rustc uses a C compiler to invoke the linker, and links to glibc in most cases
+Requires:       binutils
+Requires:       curl
+Requires:       gcc
+Requires:       glibc-devel
+Requires:       libgit2
+Requires:       nghttp2
+Requires:       openssl
+Provides:       cargo = %{version}-%{release}
+
+%description
+Rust Programming Language
+
+%package doc
+Summary:        Rust documentation.
+BuildArch:      noarch
+
+%description doc
+Documentation package for Rust.
+
+%prep
+# Setup .cargo directory
+mkdir -p $HOME
+pushd $HOME
+tar -xf %{SOURCE1} --no-same-owner
+popd
+%autosetup -p1 -n rustc-%{version}-src
+
+# Setup build/cache directory
+BUILD_CACHE_DIR="build/cache/%{release_date}"
+mkdir -pv "$BUILD_CACHE_DIR"
+%ifarch x86_64
+cp %{SOURCE2} "$BUILD_CACHE_DIR"
+cp %{SOURCE3} "$BUILD_CACHE_DIR"
+cp %{SOURCE4} "$BUILD_CACHE_DIR"
+%endif
+%ifarch aarch64
+cp %{SOURCE5} "$BUILD_CACHE_DIR"
+cp %{SOURCE6} "$BUILD_CACHE_DIR"
+cp %{SOURCE7} "$BUILD_CACHE_DIR"
+%endif
+
+%build
+# Disable symbol generation
+export CFLAGS="`echo " %{build_cflags} " | sed 's/ -g//'`"
+export CXXFLAGS="`echo " %{build_cxxflags} " | sed 's/ -g//'`"
+
+sh ./configure \
+    --prefix=%{_prefix} \
+    --enable-extended \
+    --enable-profiler \
+    --tools="cargo,clippy,rustfmt,rust-analyzer-proc-macro-srv,rust-demangler" \
+    --release-channel="stable" \
+    --release-description="Azure Linux %{version}-%{release}"
+
+# SUDO_USER=root bypasses a check in the python bootstrap that
+# makes rust refuse to pull sources from the internet
+USER=root SUDO_USER=root %make_build
+
+%check
+# We expect to generate dynamic CI contents in this folder, but it will fail since the .github folder is not included
+# with the published sources.
+mkdir -p .github/workflows
+./x.py run src/tools/expand-yaml-anchors
+
+ln -s %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage2-tools-bin/rustfmt %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage0/bin/
+ln -s %{_topdir}/BUILD/rustc-%{version}-src/vendor/ /root/vendor
+# remove rustdoc ui flaky test issue-98690.rs (which is tagged with 'unstable-options')
+rm -v ./tests/rustdoc-ui/issue-98690.*
+%make_build check
+
+%install
+USER=root SUDO_USER=root %make_install
+mv %{buildroot}%{_docdir}/%{name}/LICENSE-THIRD-PARTY .
+rm %{buildroot}%{_docdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
+rm %{buildroot}%{_docdir}/%{name}/html/.lock
+rm %{buildroot}%{_docdir}/%{name}/*.old
+rm %{buildroot}%{_bindir}/*.old
+
+%ldconfig_scriptlets
+
+%files
+%license LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY COPYRIGHT
+%{_bindir}/rustc
+%{_bindir}/rustdoc
+%{_bindir}/rust-lldb
+%{_libdir}/lib*.so
+%{_libdir}/rustlib/*
+%{_libexecdir}/rust-analyzer-proc-macro-srv
+%{_bindir}/rust-gdb
+%{_bindir}/rust-gdbgui
+%{_bindir}/rust-demangler
+%{_bindir}/cargo
+%{_bindir}/cargo-clippy
+%{_bindir}/cargo-fmt
+%{_bindir}/clippy-driver
+%{_bindir}/rustfmt
+%{_datadir}/zsh/*
+%{_sysconfdir}/bash_completion.d/cargo
+
+%files doc
+%license LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY COPYRIGHT
+%doc %{_docdir}/%{name}/html/*
+%doc %{_docdir}/%{name}/README.md
+%doc CONTRIBUTING.md README.md RELEASES.md
+%doc src/tools/clippy/CHANGELOG.md
+%doc src/tools/rustfmt/Configurations.md
+%{_mandir}/man1/*
+
+%changelog
+* Sun Apr 20 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 1.75.0-13
+- Support rust 1.75 version
+- Add explicit build dependency on zlib
+
+* Thu Feb 27 2025 Chris Co <chrco@microsoft.com> - 1.75.0-12
+- Bump to rebuild with updated glibc
+
+* Mon Aug 26 2024 Rachel Menge <rachelmenge@microsoft.com> - 1.75.0-11
+- Update to build dep latest glibc-static version
+
+* Wed Aug 21 2024 Chris Co <chrco@microsoft.com> - 1.75.0-10
+- Bump to rebuild with updated glibc
+
+* Fri Aug 09 2024 corvus-callidus <108946721+corvus-callidus@users.noreply.github.com> - 1.75.0-9
+- Patch CVE-2024-32884 and CVE-2024-31852
+
+* Wed May 29 2024 Neha Agarwal <nehaagarwal@microsoft.com> - 1.75.0-8
+- Bump release to build with new llvm to fix CVE-2024-31852
+
+* Wed May 22 2024 Suresh Babu Chalamalasetty <schalam@microsoft.com> - 1.75.0-7
+- update to build dep latest glibc-static version
+
+* Mon May 13 2024 Chris Co <chrco@microsoft.com> - 1.75.0-6
+- Update to build dep latest glibc-static version
+
+* Mon Apr 01 2024 Muhammad Falak <mwani@microsoft.com> - 1.75.0-5
+- Enable profiler support
+
+* Mon Mar 11 2024 Dan Streetman <ddstreet@microsoft.com> - 1.75.0-4
+- update to build dep latest glibc-static version
+
+* Thu Feb 29 2024 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.75.0-3
+- Updating naming for 3.0 version of Azure Linux.
+
+* Tue Feb 27 2024 Dan Streetman <ddstreet@microsoft.com> - 1.75.0-2
+- updated glibc-static buildrequires release
+
+* Mon Jan 29 2024 Muhammad Falak <mwani@microsoft.com> - 1.75.0-1
+- Bump version to 1.75.0
+
+* Tue Nov 07 2023 Andrew Phelps <anphel@microsoft.com> - 1.72.0-6
+- Bump release to rebuild against glibc 2.38-1
+
+* Mon Oct 30 2023 Rohit Rawat <rohitrawat@microsoft.com> - 1.72.0-5
+- Patch CVE-2023-45853 in vendor/libz-sys/src/zlib
+
+* Tue Oct 10 2023 Daniel McIlvaney <damcilva@microsoft.com> - 1.72.2-4
+- Explicitly call './x.py' instead of 'x.py'
+
+* Wed Oct 04 2023 Minghe Ren <mingheren@microsoft.com> - 1.72.2-3
+- Bump release to rebuild against glibc 2.35-6
+
+* Tue Oct 03 2023 Mandeep Plaha <mandeepplaha@microsoft.com> - 1.72.2-2
+- Bump release to rebuild against glibc 2.35-5
+
+* Wed Sep 06 2023 Daniel McIlvaney <damcilva@microsoft.com> - 1.72.2-1
+- Bump to version 1.72.2 to address CVE-2023-38497, CVE-2023-40030
+
+* Tue Aug 22 2023 Rachel Menge <rachelmenge@microsoft.com> - 1.68.2-5
+- Bump release to rebuild against openssl 1.1.1k-26
+
+* Wed Jul 05 2023 Andrew Phelps <anphel@microsoft.com> - 1.68.2-4
+- Bump release to rebuild against glibc 2.35-4
+
+* Wed Jun 21 2023 Jonathan Behrens <jbehrens@microsoft.com> - 1.68.2-3
+- Include "cargo-clippy" tool in the package.
+
+* Wed May 17 2023 Tobias Brick <tobiasb@microsoft.com> - 1.68.2-2
+- Fix CVE-2023-27477 by patching cranelift vulnerability that is exposed in rust
+
+* Tue Mar 28 2023 Muhammad Falak <mwani@microsoft.com> - 1.68.2-1
+- Bump version to 1.68.2 to revoke leaked github keys
+
+* Mon Mar 13 2023 Nicolas Guibourge <nicolasg@microsoft.com> - 1.68.0-1
+- Updating to version 1.68.0
+
+* Thu Nov 24 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.62.1-4
+- Split out separate 'doc' subpackage to reduce default package size.
+- Updated license information.
+
+* Tue Nov 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.62.1-3
+- Adding missing test dependency on "glibc-static".
+
+* Wed Aug 31 2022 Olivia Crain <oliviacrain@microsoft.com> - 1.62.1-2
+- Breaking change: Configure as a stable release, which disables unstable features
+- Add runtime requirements on gcc, binutils, glibc-devel
+- Package ASL 2.0 license, additional copyright information
+- Fix licensing info- dual-licensed, not multiply-licensed
+- License verified
+
+* Thu Aug 18 2022 Chris Co <chrco@microsoft.com> - 1.62.1-1
+- Updating to version 1.62.1
+
+* Mon Mar 07 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.59.0-1
+- Updating to version 1.59.0 to fix CVE-2022-21658.
+- Updating build instructions to fix tests.
+
+* Thu Mar 03 2022 Bala <balakumaran.kannan@microsoft.com> - 1.56.1-2
+- Build rustfmt tool as it is required to run PTest
+- Create softlink for rustfmt in stage0
+
+* Wed Nov 24 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.56.1-1
+- Updating to version 1.56.1.
+- Switching to building with Python 3.
+
+* Mon May 17 2021 Thomas Crain <thcrain@microsoft.com> - 1.47.0-5
+- Add provides for 'cargo' from the base package
+
+* Tue May 04 2021 Thomas Crain <thcrain@microsoft.com> - 1.47.0-4
+- Remove XZ support detection in bootstrap
+
+* Mon Apr 26 2021 Thomas Crain <thcrain@microsoft.com> - 1.47.0-3
+- Patch CVE-2020-36317, CVE-2021-28875, CVE-2021-28876, CVE-2021-28877, CVE-2021-28878
+- Redo patch for CVE-2021-28879 with regards to patches listed above
+
+* Mon Apr 19 2021 Thomas Crain <thcrain@microsoft.com> - 1.47.0-2
+- Patch CVE-2021-28879
+
+* Wed Feb 24 2021 Andrew Phelps <anphel@microsoft.com> - 1.47.0-1
+- Update version to 1.47.0
+
+* Wed Jan 06 2021 Thomas Crain <thcrain@microsoft.com> - 1.39.0-8
+- Add python-xml BR for package test
+- Add ignore-linker-output-non-utf8-test patch to skip faulty test
+
+* Wed Aug 12 2020 Mateusz Malisz <mamalisz@microsoft.com> - 1.39.0-7
+- Add patch for the build to not fail on file not found error.
+
+* Fri Jun 12 2020 Henry Beberman <henry.beberman@microsoft.com> - 1.39.0-6
+- Temporarily disable generation of debug symbols.
+
+* Thu May 28 2020 Chris Co <chrco@microsoft.com> - 1.39.0-5
+- Update source checkout and prep steps
+
+* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 1.39.0-4
+- Added %%license line automatically
+
+* Mon May 4 2020 Nicolas Guibourge <nicolasg@microsoft.com> - 1.39.0-3
+- Fix build issue when building from Docker
+
+* Tue Apr 21 2020 Andrew Phelps <anphel@microsoft.com> - 1.39.0-2
+- Support building offline.
+
+* Thu Mar 19 2020 Henry Beberman <henry.beberman@microsoft.com> - 1.39.0-1
+- Update to 1.39.0. Fix URL. Fix Source0 URL. License verified.
+
+* Thu Feb 27 2020 Henry Beberman <hebeberm@microsoft.com> - 1.34.2-3
+- Set SUDO_USER and USER to allow rust to hydrate as root
+
+* Wed Sep 25 2019 Saravanan Somasundaram <sarsoma@microsoft.com> - 1.34.2-2
+- Initial CBL-Mariner import from Photon (license: Apache2).
+
+* Wed May 15 2019 Ankit Jain <ankitja@vmware.com> - 1.34.2-1
+- Initial build. First version
diff --git a/SPECS/rust/rust.signatures.json b/SPECS/rust/rust.signatures.json
index b04eb3fd8a0..6f1467ab9c5 100644
--- a/SPECS/rust/rust.signatures.json
+++ b/SPECS/rust/rust.signatures.json
@@ -1,12 +1,12 @@
 {
  "Signatures": {
-  "cargo-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a18dc9132cf76ccba90bcbb53b56a4d37ebfb34845f61e79f7b5d4710a269647",
-  "cargo-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6",
-  "rust-std-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "c5ad01692bc08ce6f4db2ac815be63498b45013380c71f22b3d33bf3be767270",
-  "rust-std-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea",
-  "rustc-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a49bb365481913ead305658e7e9dc621da7895036b840fb57b1bc85c721d07e6",
-  "rustc-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181",
-  "rustc-1.75.0-src-cargo.tar.gz": "8b41ba09a0e998fce6bafa69c93c8c5384b29b38438104db7c98e348b4759979",
-  "rustc-1.75.0-src.tar.xz": "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340"
+  "cargo-1.84.0-aarch64-unknown-linux-gnu.tar.xz": "68d4ad239b6d1e810e7b8591636dc408cb2c1e89661329fed906febf9c0a9d98",
+  "cargo-1.84.0-x86_64-unknown-linux-gnu.tar.xz": "6c2371488db92a09cd50a1b4045c022f3cf2c643285b3b21105ab5f9b64fd6b6",
+  "rust-std-1.84.0-aarch64-unknown-linux-gnu.tar.xz": "023f0b6153b23ac0e9686c2ab95bc393ee3e295b166bb36de3b4dfb53e3913e0",
+  "rust-std-1.84.0-x86_64-unknown-linux-gnu.tar.xz": "770237080b9310d126350c3bd70820bd91064c2e96c29ab5f2e002b31b5bd067",
+  "rustc-1.84.0-aarch64-unknown-linux-gnu.tar.xz": "9f5650aece53e083b933a57e5a8e0e2db4479f52ec897d5b6d0f77be6cd50498",
+  "rustc-1.84.0-x86_64-unknown-linux-gnu.tar.xz": "a1737d86f80b31a6d48a6726726275dc068ecb930c9635b13aa59999486de837",
+  "rustc-1.85.0-src-cargo.tar.gz": "aebfabef6090c81fff583d6172fbb4cf1d42d203df7ce6a9bba349abc3fc086c",
+  "rustc-1.85.0-src.tar.xz": "d542c397217b5ba5bac7eb274f5ca62d031f61842c3ba4cc5328c709c38ea1e7"
  }
 }
\ No newline at end of file
diff --git a/SPECS/rust/rust.spec b/SPECS/rust/rust.spec
index 7668ae757f9..497a7b66774 100644
--- a/SPECS/rust/rust.spec
+++ b/SPECS/rust/rust.spec
@@ -1,15 +1,15 @@
 # Prevent librustc_driver from inadvertently being listed as a requirement
 %global __requires_exclude ^librustc_driver-
 
-# Release date and version of stage 0 compiler can be found in "src/stage0.json" inside the extracted "Source0".
+# Release date and version of stage 0 compiler can be found in "src/stage0" inside the extracted "Source0".
 # Look for "date:" and "rustc:".
-%define release_date 2023-11-16
-%define stage0_version 1.74.0
+%define release_date 2025-01-09
+%define stage0_version 1.84.0
 
 Summary:        Rust Programming Language
 Name:           rust
-Version:        1.75.0
-Release:        12%{?dist}
+Version:        1.85.0
+Release:        1%{?dist}
 License:        (ASL 2.0 OR MIT) AND BSD AND CC-BY-3.0
 Vendor:         Microsoft Corporation
 Distribution:   Azure Linux
@@ -41,10 +41,9 @@ Source4:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{sta
 Source5:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source6:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source7:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
-Patch0:         CVE-2023-45853.patch
-Patch1:         CVE-2024-32884.patch
-Patch2:         CVE-2024-31852.patch
-
+# These ci tests are expecting rust source to be git repository, since we are using a tarball
+# we are missing git metadata so these tests are failing, hence ignoring these tests
+Patch0:         Ignore_failing_ci_tests.patch
 BuildRequires:  binutils
 BuildRequires:  cmake
 # make sure rust relies on curl from CBL-Mariner (instead of using its vendored flavor)
@@ -59,8 +58,11 @@ BuildRequires:  ninja-build
 # make sure rust relies on openssl from CBL-Mariner (instead of using its vendored flavor)
 BuildRequires:  openssl-devel
 BuildRequires:  python3
+# make sure rust depends on system zlib
+BuildRequires:  zlib-devel
 %if 0%{?with_check}
 BuildRequires:  glibc-static >= 2.38-9%{?dist}
+BuildRequires:	sudo
 %endif
 # rustc uses a C compiler to invoke the linker, and links to glibc in most cases
 Requires:       binutils
@@ -113,7 +115,7 @@ sh ./configure \
     --prefix=%{_prefix} \
     --enable-extended \
     --enable-profiler \
-    --tools="cargo,clippy,rustfmt,rust-analyzer-proc-macro-srv,rust-demangler" \
+    --tools="cargo,clippy,rustfmt,rust-analyzer-proc-macro-srv" \
     --release-channel="stable" \
     --release-description="Azure Linux %{version}-%{release}"
 
@@ -125,21 +127,25 @@ USER=root SUDO_USER=root %make_build
 # We expect to generate dynamic CI contents in this folder, but it will fail since the .github folder is not included
 # with the published sources.
 mkdir -p .github/workflows
-./x.py run src/tools/expand-yaml-anchors
 
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage2-tools-bin/rustfmt %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage0/bin/
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/vendor/ /root/vendor
+# Since mariner has `aarch64-unknown-linux-gnu-gcc` as native compiler in arm64 and a ptest is expecting `aarch64-linux-gnu-gcc`
+ln -s /usr/bin/aarch64-unknown-linux-gnu-gcc /usr/bin/aarch64-linux-gnu-gcc
 # remove rustdoc ui flaky test issue-98690.rs (which is tagged with 'unstable-options')
-rm -v ./tests/rustdoc-ui/issue-98690.*
-%make_build check
-
+rm -v ./tests/rustdoc-ui/issues/issue-98690.*
+useradd -m -d /home/test test
+chown -R test:test .
+sudo -u test %make_build check
+userdel -r test
 %install
 USER=root SUDO_USER=root %make_install
-mv %{buildroot}%{_docdir}/%{name}/LICENSE-THIRD-PARTY .
-rm %{buildroot}%{_docdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
-rm %{buildroot}%{_docdir}/%{name}/html/.lock
-rm %{buildroot}%{_docdir}/%{name}/*.old
-rm %{buildroot}%{_bindir}/*.old
+mv %{buildroot}%{_docdir}/cargo/LICENSE-THIRD-PARTY .
+rm %{buildroot}%{_docdir}/rustc/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
+rm %{buildroot}%{_docdir}/cargo/{LICENSE-APACHE,LICENSE-MIT}
+rm %{buildroot}%{_docdir}/clippy/{LICENSE-APACHE,LICENSE-MIT}
+rm %{buildroot}%{_docdir}/rustfmt/{LICENSE-APACHE,LICENSE-MIT}
+rm %{buildroot}%{_docdir}/docs/html/.lock
 
 %ldconfig_scriptlets
 
@@ -153,7 +159,6 @@ rm %{buildroot}%{_bindir}/*.old
 %{_libexecdir}/rust-analyzer-proc-macro-srv
 %{_bindir}/rust-gdb
 %{_bindir}/rust-gdbgui
-%{_bindir}/rust-demangler
 %{_bindir}/cargo
 %{_bindir}/cargo-clippy
 %{_bindir}/cargo-fmt
@@ -164,14 +169,26 @@ rm %{buildroot}%{_bindir}/*.old
 
 %files doc
 %license LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY COPYRIGHT
-%doc %{_docdir}/%{name}/html/*
-%doc %{_docdir}/%{name}/README.md
+%doc %{_docdir}/rustc/README.md
+%doc %{_docdir}/cargo/*
+%doc %{_docdir}/rustfmt/*
+%doc %{_docdir}/clippy/*
+%doc %{_docdir}/docs/html/*
 %doc CONTRIBUTING.md README.md RELEASES.md
 %doc src/tools/clippy/CHANGELOG.md
 %doc src/tools/rustfmt/Configurations.md
 %{_mandir}/man1/*
 
 %changelog
+* Sun Apr 20 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 1.85.0-1
+- Upgrade to 1.85.0
+- Drop patches
+- Remove expand-yaml-anchors tool in %check
+- Remove rust-demangler tool 
+- Update generate_source_tarball script
+- Run %check as test user
+- Add explicit build dependency on zlib
+
 * Thu Feb 27 2025 Chris Co <chrco@microsoft.com> - 1.75.0-12
 - Bump to rebuild with updated glibc
 
diff --git a/SPECS/virtiofsd/virtiofsd.spec b/SPECS/virtiofsd/virtiofsd.spec
index 57879404efc..21cf20c1399 100644
--- a/SPECS/virtiofsd/virtiofsd.spec
+++ b/SPECS/virtiofsd/virtiofsd.spec
@@ -22,7 +22,7 @@ Name:           virtiofsd
 # Version to be kept in sync with the `asset.virtiofsd.version` field from
 # https://github.com/microsoft/kata-containers/blob/msft-main/versions.yaml
 Version:        1.8.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        vhost-user virtio-fs device backend written in Rust
 Group:          Development/Libraries/Rust
 License:        Apache-2.0
@@ -39,8 +39,8 @@ Source0:        https://gitlab.com/virtio-fs/virtiofsd/-/archive/v%{version}/%{n
 #
 Source1:        %{name}-%{version}-vendor.tar.gz
 Source2:        cargo_config
-BuildRequires:  cargo
-BuildRequires:  rust
+BuildRequires:  cargo < 1.85.0
+BuildRequires:  rust < 1.85.0
 BuildRequires:  libcap-ng-devel
 BuildRequires:  libseccomp-devel
 Conflicts:      qemu-tools < 8
@@ -73,6 +73,9 @@ cargo test --release
 %{_datadir}/qemu/vhost-user/50-qemu-virtiofsd.json
 
 %changelog
+* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 1.8.0-2
+- Pin rust version
+
 * Wed Feb 07 2024 Kanika Nema <kanikanema@microsoft.com> - 1.8.0-1
 - Initial CBL-Mariner import from openSUSE Tumbleweed (license: same as "License" tag)
 - License verified
diff --git a/cgmanifest.json b/cgmanifest.json
index f734795da5f..03d7ae5a847 100644
--- a/cgmanifest.json
+++ b/cgmanifest.json
@@ -27529,6 +27529,16 @@
         }
       }
     },
+    {
+      "component": {
+	"type": "other",
+	"other": {
+          "name": "rust",
+	  "version": "1.85.0",
+	  "downloadUrl": "https://static.rust-lang.org/dist/rustc-1.85.0-src.tar.xz"
+        }
+      }
+    },
     {
       "component": {
         "type": "other",


Reviews:
user: login: mfrw
body: Can we please skip the failing tests, so that the pipeline is green.
Let's add a link where we skip to the FreeBSD forum to clarify on why are we even skiping :)
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-01-06T05:58:55Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-13T22:59:23Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-13T23:00:09Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-13T23:02:10Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-13T23:04:53Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-13T23:09:56Z
user: login: Camelron
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-13T23:10:06Z
user: login: Camelron
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-13T23:10:46Z
user: login: Camelron
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-13T23:13:04Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-13T23:16:12Z
user: login: corvus-callidus
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-13T23:29:47Z
user: login: Camelron
body: lgtm
state: APPROVED
author_association: CONTRIBUTOR
submitted_at: 2025-03-13T23:39:22Z
user: login: Camelron
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-14T00:11:16Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T05:30:42Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T05:53:10Z
user: login: mfrw
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-03-17T06:25:17Z
user: login: mfrw
body: LGTM :)
🥇 

state: APPROVED
author_association: MEMBER
submitted_at: 2025-03-17T06:25:52Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T08:30:18Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T17:52:15Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T18:00:07Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T18:05:30Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T18:08:27Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T18:08:50Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T18:10:03Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T18:13:28Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T21:02:46Z
user: login: Camelron
body: In retrospect, we should get to the bottom of why these patches removing tests are required before proceeding. 
state: CHANGES_REQUESTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-17T21:06:11Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-31T20:55:35Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-01T07:13:31Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-01T07:15:33Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-01T07:17:12Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-01T07:18:15Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-01T07:19:25Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-01T22:35:25Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-02T04:23:00Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-02T04:27:14Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-02T07:16:53Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-02T15:23:11Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-02T15:59:43Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-02T18:47:24Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-02T23:52:34Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-03T00:16:36Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-03T15:36:36Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-03T15:42:46Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-03T15:56:37Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-03T15:58:30Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-03T16:12:06Z
user: login: Camelron
state: APPROVED
author_association: CONTRIBUTOR
submitted_at: 2025-04-09T16:25:51Z
user: login: manuelh-dev
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-14T22:21:45Z
user: login: tobiasb-ms
state: CHANGES_REQUESTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-14T23:19:43Z
user: login: tobiasb-ms
state: CHANGES_REQUESTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-15T14:45:46Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-15T14:54:12Z
user: login: jslobodzian
state: COMMENTED
author_association: COLLABORATOR
submitted_at: 2025-04-23T22:38:44Z
user: login: KavyaSree2610
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-24T00:36:05Z
user: login: jslobodzian
state: APPROVED
author_association: COLLABORATOR
submitted_at: 2025-04-24T17:06:09Z

Review comments:
diff_hunk: @@ -14,7 +14,7 @@ Source0:        https://github.com/Cisco-Talos/clamav/archive/refs/tags/%{name}-
 
 # Note: Required an updated cargo cache when rust was updated to 1.72.0, added "-rev2" to the filename to indicate the new cache for this
path: SPECS/clamav/clamav.spec
user: login: manuelh-dev
body: This comment seems out of date and now wrong, but it is highly related. We should adapt the comment according to what we have done here.
created_at: 2025-03-13T22:59:23Z
author_association: CONTRIBUTOR
diff_hunk: @@ -136,6 +136,9 @@ fi
 %dir %attr(-,clamav,clamav) %{_sharedstatedir}/clamav
 
 %changelog
+* Fri Mar 07 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> -1.0.7-2
path: SPECS/clamav/clamav.spec
user: login: manuelh-dev
body: empty space. missing. please run SPEC sanitization tooling, if not done, to catch such things
created_at: 2025-03-13T23:00:09Z
author_association: CONTRIBUTOR
diff_hunk: @@ -71,23 +71,11 @@ programs using Influx data language.
 
 %prep
 %setup -q
-%patch 2 -p1
path: SPECS/flux/flux.spec
user: login: manuelh-dev
body: Potential for optimization but fine with me
created_at: 2025-03-13T23:02:09Z
author_association: CONTRIBUTOR
diff_hunk: @@ -27364,8 +27364,8 @@
         "type": "other",
         "other": {
           "name": "rust",
-          "version": "1.75.0",
-          "downloadUrl": "https://static.rust-lang.org/dist/rustc-1.75.0-src.tar.xz"
path: cgmanifest.json
user: login: manuelh-dev
body: do we need to change cgmanifest for clamav as well?
created_at: 2025-03-13T23:04:53Z
author_association: CONTRIBUTOR
diff_hunk: @@ -125,21 +128,20 @@ USER=root SUDO_USER=root %make_build
 # We expect to generate dynamic CI contents in this folder, but it will fail since the .github folder is not included
 # with the published sources.
 mkdir -p .github/workflows
-./x.py run src/tools/expand-yaml-anchors
 
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage2-tools-bin/rustfmt %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage0/bin/
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/vendor/ /root/vendor
 # remove rustdoc ui flaky test issue-98690.rs (which is tagged with 'unstable-options')
-rm -v ./tests/rustdoc-ui/issue-98690.*
+rm -v ./tests/rustdoc-ui/issues/issue-98690.*
 %make_build check
 
 %install
 USER=root SUDO_USER=root %make_install
-mv %{buildroot}%{_docdir}/%{name}/LICENSE-THIRD-PARTY .
-rm %{buildroot}%{_docdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
-rm %{buildroot}%{_docdir}/%{name}/html/.lock
-rm %{buildroot}%{_docdir}/%{name}/*.old
-rm %{buildroot}%{_bindir}/*.old
+mv %{buildroot}%{_docdir}/cargo/LICENSE-THIRD-PARTY .
+rm -f %{buildroot}%{_docdir}/rustc/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: is -f potentially only required when running locally?
created_at: 2025-03-13T23:09:56Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,12 +1,12 @@
 {
  "Signatures": {
-  "cargo-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a18dc9132cf76ccba90bcbb53b56a4d37ebfb34845f61e79f7b5d4710a269647",
-  "cargo-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6",
-  "rust-std-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "c5ad01692bc08ce6f4db2ac815be63498b45013380c71f22b3d33bf3be767270",
-  "rust-std-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea",
-  "rustc-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a49bb365481913ead305658e7e9dc621da7895036b840fb57b1bc85c721d07e6",
-  "rustc-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181",
-  "rustc-1.75.0-src-cargo.tar.gz": "8b41ba09a0e998fce6bafa69c93c8c5384b29b38438104db7c98e348b4759979",
-  "rustc-1.75.0-src.tar.xz": "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340"
+  "cargo-1.84.0-aarch64-unknown-linux-gnu.tar.xz": "68d4ad239b6d1e810e7b8591636dc408cb2c1e89661329fed906febf9c0a9d98",
path: SPECS/rust/rust.signatures.json
user: login: Camelron
body: Why do we have sources from v84 instead of all 85? Is there some bootstrapping going on here?

I realize as well that this same pattern of V-1 being used in the sources for the previous v1.75.0 version of our spec. 
created_at: 2025-03-13T23:10:06Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,12 +1,12 @@
 {
  "Signatures": {
-  "cargo-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a18dc9132cf76ccba90bcbb53b56a4d37ebfb34845f61e79f7b5d4710a269647",
-  "cargo-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6",
-  "rust-std-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "c5ad01692bc08ce6f4db2ac815be63498b45013380c71f22b3d33bf3be767270",
-  "rust-std-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea",
-  "rustc-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a49bb365481913ead305658e7e9dc621da7895036b840fb57b1bc85c721d07e6",
-  "rustc-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181",
-  "rustc-1.75.0-src-cargo.tar.gz": "8b41ba09a0e998fce6bafa69c93c8c5384b29b38438104db7c98e348b4759979",
-  "rustc-1.75.0-src.tar.xz": "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340"
+  "cargo-1.84.0-aarch64-unknown-linux-gnu.tar.xz": "68d4ad239b6d1e810e7b8591636dc408cb2c1e89661329fed906febf9c0a9d98",
path: SPECS/rust/rust.signatures.json
user: login: Camelron
body: Ah, after more reading I see the stage0 stuff in the spec. Seems to indeed be bootstrapping. 
created_at: 2025-03-13T23:10:46Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,35 @@
+From 6d9a8f12e121678c9a50fc8cfaf3b8da517e9a55 Mon Sep 17 00:00:00 2001
+From: kavyasree <kkaitepalli@microsoft.com>
+Date: Wed, 26 Feb 2025 00:03:44 +0530
+Subject: [PATCH] Remove_cannot_write_error_test
+
+---
+ src/tools/rust-installer/test.sh | 13 -------------
+ 1 file changed, 13 deletions(-)
+
+diff --git a/src/tools/rust-installer/test.sh b/src/tools/rust-installer/test.sh
+index 7b3e74560..36fc60dd1 100755
+--- a/src/tools/rust-installer/test.sh
++++ b/src/tools/rust-installer/test.sh
+@@ -983,19 +983,6 @@ runtest combined_remains
+
+ # Smoke tests
+
+-cannot_write_error() {
path: SPECS/rust/Remove_cannot_write_error_test.patch
user: login: Camelron
body: Why are we removing some of these tests? 
created_at: 2025-03-13T23:13:04Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,12 +1,12 @@
 {
  "Signatures": {
-  "cargo-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a18dc9132cf76ccba90bcbb53b56a4d37ebfb34845f61e79f7b5d4710a269647",
-  "cargo-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6",
-  "rust-std-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "c5ad01692bc08ce6f4db2ac815be63498b45013380c71f22b3d33bf3be767270",
-  "rust-std-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea",
-  "rustc-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a49bb365481913ead305658e7e9dc621da7895036b840fb57b1bc85c721d07e6",
-  "rustc-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181",
-  "rustc-1.75.0-src-cargo.tar.gz": "8b41ba09a0e998fce6bafa69c93c8c5384b29b38438104db7c98e348b4759979",
-  "rustc-1.75.0-src.tar.xz": "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340"
+  "cargo-1.84.0-aarch64-unknown-linux-gnu.tar.xz": "68d4ad239b6d1e810e7b8591636dc408cb2c1e89661329fed906febf9c0a9d98",
path: SPECS/rust/rust.signatures.json
user: login: manuelh-dev
body: Interesting that only the rustc-1.84.0-src.tar.xz is present in cmanifest.

By the way, it should be 1.85 in cgmanifest.json
created_at: 2025-03-13T23:16:11Z
author_association: CONTRIBUTOR
diff_hunk: @@ -71,23 +71,11 @@ programs using Influx data language.
 
 %prep
 %setup -q
-%patch 2 -p1
path: SPECS/flux/flux.spec
user: login: corvus-callidus
body: Is there a good reason for continuing to use %setup and %patch here instead of changing to %autosetup?
created_at: 2025-03-13T23:29:11Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,12 +1,12 @@
 {
  "Signatures": {
-  "cargo-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a18dc9132cf76ccba90bcbb53b56a4d37ebfb34845f61e79f7b5d4710a269647",
-  "cargo-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6",
-  "rust-std-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "c5ad01692bc08ce6f4db2ac815be63498b45013380c71f22b3d33bf3be767270",
-  "rust-std-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea",
-  "rustc-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a49bb365481913ead305658e7e9dc621da7895036b840fb57b1bc85c721d07e6",
-  "rustc-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181",
-  "rustc-1.75.0-src-cargo.tar.gz": "8b41ba09a0e998fce6bafa69c93c8c5384b29b38438104db7c98e348b4759979",
-  "rustc-1.75.0-src.tar.xz": "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340"
+  "cargo-1.84.0-aarch64-unknown-linux-gnu.tar.xz": "68d4ad239b6d1e810e7b8591636dc408cb2c1e89661329fed906febf9c0a9d98",
path: SPECS/rust/rust.signatures.json
user: login: Camelron
body: I saw that too; I think it is for bootstrapping the compiler (since you compile rust from rust..) https://github.com/microsoft/azurelinux/pull/11295#discussion_r1994411533
created_at: 2025-03-14T00:11:16Z
author_association: CONTRIBUTOR
diff_hunk: @@ -14,7 +14,7 @@ Source0:        https://github.com/Cisco-Talos/clamav/archive/refs/tags/%{name}-
 
 # Note: Required an updated cargo cache when rust was updated to 1.72.0, added "-rev2" to the filename to indicate the new cache for this
path: SPECS/clamav/clamav.spec
user: login: KavyaSree2610
body: Updated the comment
created_at: 2025-03-17T05:30:42Z
author_association: CONTRIBUTOR
diff_hunk: @@ -27364,8 +27364,8 @@
         "type": "other",
         "other": {
           "name": "rust",
-          "version": "1.75.0",
-          "downloadUrl": "https://static.rust-lang.org/dist/rustc-1.75.0-src.tar.xz"
path: cgmanifest.json
user: login: KavyaSree2610
body: I believe there is no need to modify the cgmanifest for clamav, as we are not updating or changing the sources of any other packages. Vendor soources are not present in cgmanifest and we updated the vendor source tarball only
created_at: 2025-03-17T05:53:10Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,12 +1,12 @@
 {
  "Signatures": {
-  "cargo-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a18dc9132cf76ccba90bcbb53b56a4d37ebfb34845f61e79f7b5d4710a269647",
-  "cargo-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6",
-  "rust-std-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "c5ad01692bc08ce6f4db2ac815be63498b45013380c71f22b3d33bf3be767270",
-  "rust-std-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea",
-  "rustc-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a49bb365481913ead305658e7e9dc621da7895036b840fb57b1bc85c721d07e6",
-  "rustc-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181",
-  "rustc-1.75.0-src-cargo.tar.gz": "8b41ba09a0e998fce6bafa69c93c8c5384b29b38438104db7c98e348b4759979",
-  "rustc-1.75.0-src.tar.xz": "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340"
+  "cargo-1.84.0-aarch64-unknown-linux-gnu.tar.xz": "68d4ad239b6d1e810e7b8591636dc408cb2c1e89661329fed906febf9c0a9d98",
path: SPECS/rust/rust.signatures.json
user: login: mfrw
body: Yes, correct. it is for bootstrapping :)
created_at: 2025-03-17T06:25:16Z
author_association: MEMBER
diff_hunk: @@ -71,23 +71,11 @@ programs using Influx data language.
 
 %prep
 %setup -q
-%patch 2 -p1
path: SPECS/flux/flux.spec
user: login: KavyaSree2610
body: Updated it to %autosetup
created_at: 2025-03-17T08:30:17Z
author_association: CONTRIBUTOR
diff_hunk: @@ -27364,8 +27364,8 @@
         "type": "other",
         "other": {
           "name": "rust",
-          "version": "1.75.0",
-          "downloadUrl": "https://static.rust-lang.org/dist/rustc-1.75.0-src.tar.xz"
path: cgmanifest.json
user: login: manuelh-dev
body: I see, for this package we just re-vendored
created_at: 2025-03-17T17:52:15Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,12 +1,12 @@
 {
  "Signatures": {
-  "cargo-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a18dc9132cf76ccba90bcbb53b56a4d37ebfb34845f61e79f7b5d4710a269647",
-  "cargo-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6",
-  "rust-std-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "c5ad01692bc08ce6f4db2ac815be63498b45013380c71f22b3d33bf3be767270",
-  "rust-std-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea",
-  "rustc-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a49bb365481913ead305658e7e9dc621da7895036b840fb57b1bc85c721d07e6",
-  "rustc-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181",
-  "rustc-1.75.0-src-cargo.tar.gz": "8b41ba09a0e998fce6bafa69c93c8c5384b29b38438104db7c98e348b4759979",
-  "rustc-1.75.0-src.tar.xz": "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340"
+  "cargo-1.84.0-aarch64-unknown-linux-gnu.tar.xz": "68d4ad239b6d1e810e7b8591636dc408cb2c1e89661329fed906febf9c0a9d98",
path: SPECS/rust/rust.signatures.json
user: login: manuelh-dev
body: To get clarity whether some of the reference tar balls should be present in cgmanifest.json. e.g., why does `rust-std-1.84.0-aarch64-unknown-linux-gnu.tar.xz` not need to be mentioned?
created_at: 2025-03-17T18:00:07Z
author_association: CONTRIBUTOR
diff_hunk: @@ -41,10 +41,13 @@ Source4:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{sta
 Source5:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source6:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source7:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
-Patch0:         CVE-2023-45853.patch
-Patch1:         CVE-2024-32884.patch
-Patch2:         CVE-2024-31852.patch
 
+Patch0:		Remove_cannot_write_error_test.patch
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: Patch0, 1: Re-verify if these fail in the pipeline. Both seem to have a similar issue (expect permission issues are revoking permissions with chmod, but the expected-to-fail commands still work)
created_at: 2025-03-17T18:05:30Z
author_association: CONTRIBUTOR
diff_hunk: @@ -41,10 +41,13 @@ Source4:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{sta
 Source5:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source6:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source7:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
-Patch0:         CVE-2023-45853.patch
-Patch1:         CVE-2024-32884.patch
-Patch2:         CVE-2024-31852.patch
 
+Patch0:		Remove_cannot_write_error_test.patch
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: If tests fail, let's make a judgement on who and decide whether we want to fix resp. need to make some changes, or whether we'd want to accept this
created_at: 2025-03-17T18:08:27Z
author_association: CONTRIBUTOR
diff_hunk: @@ -41,10 +41,13 @@ Source4:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{sta
 Source5:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source6:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source7:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
-Patch0:         CVE-2023-45853.patch
-Patch1:         CVE-2024-32884.patch
-Patch2:         CVE-2024-31852.patch
 
+Patch0:		Remove_cannot_write_error_test.patch
+Patch1:		Remove_leave_log_after_failure_test.patch
+Patch2:		Ignore_failing_ci_tests.patch
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: Let's specify which CI tests fail and re-assess
created_at: 2025-03-17T18:08:49Z
author_association: CONTRIBUTOR
diff_hunk: @@ -41,10 +41,13 @@ Source4:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{sta
 Source5:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source6:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source7:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
-Patch0:         CVE-2023-45853.patch
-Patch1:         CVE-2024-32884.patch
-Patch2:         CVE-2024-31852.patch
 
+Patch0:		Remove_cannot_write_error_test.patch
+Patch1:		Remove_leave_log_after_failure_test.patch
+Patch2:		Ignore_failing_ci_tests.patch
+Patch3:		skip-failing-run-make-tests.patch
+Patch4:		Ignore-test-for-aarch64.patch
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: error: linker `aarch64-linux-gnu-gcc` not found. Let's assess whether this is expected to fail for Azure Linux or e.g. whether the linker binary would need to be renamed.

Side note: Let's add some documentation for all the patch files we add. This way it becomes clear why we did this
created_at: 2025-03-17T18:10:03Z
author_association: CONTRIBUTOR
diff_hunk: @@ -41,10 +41,13 @@ Source4:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{sta
 Source5:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source6:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source7:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
-Patch0:         CVE-2023-45853.patch
-Patch1:         CVE-2024-32884.patch
-Patch2:         CVE-2024-31852.patch
 
+Patch0:		Remove_cannot_write_error_test.patch
+Patch1:		Remove_leave_log_after_failure_test.patch
+Patch2:		Ignore_failing_ci_tests.patch
+Patch3:		skip-failing-run-make-tests.patch
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: Let's document which of these are failing (three tests are failing) and re-assess.
created_at: 2025-03-17T18:13:27Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,35 @@
+From 6d9a8f12e121678c9a50fc8cfaf3b8da517e9a55 Mon Sep 17 00:00:00 2001
+From: kavyasree <kkaitepalli@microsoft.com>
+Date: Wed, 26 Feb 2025 00:03:44 +0530
+Subject: [PATCH] Remove_cannot_write_error_test
+
+---
+ src/tools/rust-installer/test.sh | 13 -------------
+ 1 file changed, 13 deletions(-)
+
+diff --git a/src/tools/rust-installer/test.sh b/src/tools/rust-installer/test.sh
+index 7b3e74560..36fc60dd1 100755
+--- a/src/tools/rust-installer/test.sh
++++ b/src/tools/rust-installer/test.sh
+@@ -983,19 +983,6 @@ runtest combined_remains
+
+ # Smoke tests
+
+-cannot_write_error() {
path: SPECS/rust/Remove_cannot_write_error_test.patch
user: login: manuelh-dev
body: Refined comments per patch
created_at: 2025-03-17T21:02:46Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,15 +1,15 @@
 # Prevent librustc_driver from inadvertently being listed as a requirement
 %global __requires_exclude ^librustc_driver-
 
-# Release date and version of stage 0 compiler can be found in "src/stage0.json" inside the extracted "Source0".
+# Release date and version of stage 0 compiler can be found in "src/stage0" inside the extracted "Source0".
 # Look for "date:" and "rustc:".
-%define release_date 2023-11-16
-%define stage0_version 1.74.0
+%define release_date 2025-01-09
+%define stage0_version 1.84.0
 
 Summary:        Rust Programming Language
 Name:           rust
-Version:        1.75.0
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: Note: we will need to ref bump all rust packages we want to upgrade (e.g. clamav.spec has been modified, but others haven't and thus need to be re-ref'd)
created_at: 2025-03-31T20:55:35Z
author_association: CONTRIBUTOR
diff_hunk: @@ -125,21 +128,20 @@ USER=root SUDO_USER=root %make_build
 # We expect to generate dynamic CI contents in this folder, but it will fail since the .github folder is not included
 # with the published sources.
 mkdir -p .github/workflows
-./x.py run src/tools/expand-yaml-anchors
 
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage2-tools-bin/rustfmt %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage0/bin/
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/vendor/ /root/vendor
 # remove rustdoc ui flaky test issue-98690.rs (which is tagged with 'unstable-options')
-rm -v ./tests/rustdoc-ui/issue-98690.*
+rm -v ./tests/rustdoc-ui/issues/issue-98690.*
 %make_build check
 
 %install
 USER=root SUDO_USER=root %make_install
-mv %{buildroot}%{_docdir}/%{name}/LICENSE-THIRD-PARTY .
-rm %{buildroot}%{_docdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
-rm %{buildroot}%{_docdir}/%{name}/html/.lock
-rm %{buildroot}%{_docdir}/%{name}/*.old
-rm %{buildroot}%{_bindir}/*.old
+mv %{buildroot}%{_docdir}/cargo/LICENSE-THIRD-PARTY .
+rm -f %{buildroot}%{_docdir}/rustc/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
path: SPECS/rust/rust.spec
user: login: KavyaSree2610
body: Removed -f
created_at: 2025-04-01T07:13:31Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,15 +1,15 @@
 # Prevent librustc_driver from inadvertently being listed as a requirement
 %global __requires_exclude ^librustc_driver-
 
-# Release date and version of stage 0 compiler can be found in "src/stage0.json" inside the extracted "Source0".
+# Release date and version of stage 0 compiler can be found in "src/stage0" inside the extracted "Source0".
 # Look for "date:" and "rustc:".
-%define release_date 2023-11-16
-%define stage0_version 1.74.0
+%define release_date 2025-01-09
+%define stage0_version 1.84.0
 
 Summary:        Rust Programming Language
 Name:           rust
-Version:        1.75.0
path: SPECS/rust/rust.spec
user: login: KavyaSree2610
body: Bumped all packages
created_at: 2025-04-01T07:15:33Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,12 +1,12 @@
 {
  "Signatures": {
-  "cargo-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a18dc9132cf76ccba90bcbb53b56a4d37ebfb34845f61e79f7b5d4710a269647",
-  "cargo-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6",
-  "rust-std-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "c5ad01692bc08ce6f4db2ac815be63498b45013380c71f22b3d33bf3be767270",
-  "rust-std-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea",
-  "rustc-1.74.0-aarch64-unknown-linux-gnu.tar.xz": "a49bb365481913ead305658e7e9dc621da7895036b840fb57b1bc85c721d07e6",
-  "rustc-1.74.0-x86_64-unknown-linux-gnu.tar.xz": "7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181",
-  "rustc-1.75.0-src-cargo.tar.gz": "8b41ba09a0e998fce6bafa69c93c8c5384b29b38438104db7c98e348b4759979",
-  "rustc-1.75.0-src.tar.xz": "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340"
+  "cargo-1.84.0-aarch64-unknown-linux-gnu.tar.xz": "68d4ad239b6d1e810e7b8591636dc408cb2c1e89661329fed906febf9c0a9d98",
path: SPECS/rust/rust.signatures.json
user: login: KavyaSree2610
body: Only the source0 tarballs needs to be present in cgmanifest and that is why the other sources are not present
created_at: 2025-04-01T07:17:12Z
author_association: CONTRIBUTOR
diff_hunk: @@ -41,10 +41,13 @@ Source4:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{sta
 Source5:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source6:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source7:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
-Patch0:         CVE-2023-45853.patch
-Patch1:         CVE-2024-32884.patch
-Patch2:         CVE-2024-31852.patch
 
+Patch0:		Remove_cannot_write_error_test.patch
path: SPECS/rust/rust.spec
user: login: KavyaSree2610
body: Test passed when run as non-root user
created_at: 2025-04-01T07:18:15Z
author_association: CONTRIBUTOR
diff_hunk: @@ -41,10 +41,13 @@ Source4:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{sta
 Source5:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source6:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source7:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
-Patch0:         CVE-2023-45853.patch
-Patch1:         CVE-2024-32884.patch
-Patch2:         CVE-2024-31852.patch
 
+Patch0:		Remove_cannot_write_error_test.patch
+Patch1:		Remove_leave_log_after_failure_test.patch
+Patch2:		Ignore_failing_ci_tests.patch
+Patch3:		skip-failing-run-make-tests.patch
path: SPECS/rust/rust.spec
user: login: KavyaSree2610
body: run-make tests passed when run as non-root user
created_at: 2025-04-01T07:19:25Z
author_association: CONTRIBUTOR
diff_hunk: @@ -59,6 +59,7 @@ popd
 %autosetup -n clamav-clamav-%{version}
 
 %build
+
path: SPECS/clamav/clamav.spec
user: login: manuelh-dev
body: nit: no need
created_at: 2025-04-01T22:24:07Z
author_association: CONTRIBUTOR
diff_hunk: @@ -61,6 +61,7 @@ BuildRequires:  openssl-devel
 BuildRequires:  python3
 %if 0%{?with_check}
 BuildRequires:  glibc-static >= 2.38-9%{?dist}
+BuildRequires:	sudo
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: Why exactly is this required?
created_at: 2025-04-01T22:31:06Z
author_association: CONTRIBUTOR
diff_hunk: @@ -125,21 +126,20 @@ USER=root SUDO_USER=root %make_build
 # We expect to generate dynamic CI contents in this folder, but it will fail since the .github folder is not included
 # with the published sources.
 mkdir -p .github/workflows
-./x.py run src/tools/expand-yaml-anchors
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: Why do we no longer need this?
created_at: 2025-04-01T22:31:41Z
author_association: CONTRIBUTOR
diff_hunk: @@ -125,21 +126,20 @@ USER=root SUDO_USER=root %make_build
 # We expect to generate dynamic CI contents in this folder, but it will fail since the .github folder is not included
 # with the published sources.
 mkdir -p .github/workflows
-./x.py run src/tools/expand-yaml-anchors
 
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage2-tools-bin/rustfmt %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage0/bin/
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/vendor/ /root/vendor
 # remove rustdoc ui flaky test issue-98690.rs (which is tagged with 'unstable-options')
-rm -v ./tests/rustdoc-ui/issue-98690.*
-%make_build check
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: can we comment on the reason we removed this line and instead use a different pattern? 
created_at: 2025-04-01T22:33:07Z
author_association: CONTRIBUTOR
diff_hunk: @@ -125,21 +126,20 @@ USER=root SUDO_USER=root %make_build
 # We expect to generate dynamic CI contents in this folder, but it will fail since the .github folder is not included
 # with the published sources.
 mkdir -p .github/workflows
-./x.py run src/tools/expand-yaml-anchors
 
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage2-tools-bin/rustfmt %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage0/bin/
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/vendor/ /root/vendor
 # remove rustdoc ui flaky test issue-98690.rs (which is tagged with 'unstable-options')
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: the comment can be removed as well right?
created_at: 2025-04-01T22:33:17Z
author_association: CONTRIBUTOR
diff_hunk: @@ -41,10 +41,10 @@ Source4:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{sta
 Source5:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source6:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source7:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
-Patch0:         CVE-2023-45853.patch
-Patch1:         CVE-2024-32884.patch
-Patch2:         CVE-2024-31852.patch
 
+Patch0:		Ignore_failing_ci_tests.patch
+#Patch1:		Ignore-test-for-aarch64.patch
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: Is this because our investigation on this is pending?
created_at: 2025-04-01T22:33:47Z
author_association: CONTRIBUTOR
diff_hunk: @@ -61,6 +61,7 @@ BuildRequires:  openssl-devel
 BuildRequires:  python3
 %if 0%{?with_check}
 BuildRequires:  glibc-static >= 2.38-9%{?dist}
+BuildRequires:	sudo
path: SPECS/rust/rust.spec
user: login: KavyaSree2610
body: Since we are now running the tests using non root user and we are using sudo -u for this, so this was required
created_at: 2025-04-02T04:23:00Z
author_association: CONTRIBUTOR
diff_hunk: @@ -125,21 +126,20 @@ USER=root SUDO_USER=root %make_build
 # We expect to generate dynamic CI contents in this folder, but it will fail since the .github folder is not included
 # with the published sources.
 mkdir -p .github/workflows
-./x.py run src/tools/expand-yaml-anchors
path: SPECS/rust/rust.spec
user: login: KavyaSree2610
body: expand-yaml-anchors tool was removed from upstream
Reference: https://github.com/rust-lang/rust/commit/0b1ecf1d8d9318eedf68c855ac1112f0063dd495
created_at: 2025-04-02T04:27:13Z
author_association: CONTRIBUTOR
diff_hunk: @@ -125,21 +126,20 @@ USER=root SUDO_USER=root %make_build
 # We expect to generate dynamic CI contents in this folder, but it will fail since the .github folder is not included
 # with the published sources.
 mkdir -p .github/workflows
-./x.py run src/tools/expand-yaml-anchors
 
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage2-tools-bin/rustfmt %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage0/bin/
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/vendor/ /root/vendor
 # remove rustdoc ui flaky test issue-98690.rs (which is tagged with 'unstable-options')
path: SPECS/rust/rust.spec
user: login: KavyaSree2610
body: We are not removing the rm test issue-98690.rs , it is still flaky
created_at: 2025-04-02T07:16:53Z
author_association: CONTRIBUTOR
diff_hunk: @@ -41,10 +41,10 @@ Source4:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{sta
 Source5:        https://static.rust-lang.org/dist/%{release_date}/cargo-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source6:        https://static.rust-lang.org/dist/%{release_date}/rustc-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
 Source7:        https://static.rust-lang.org/dist/%{release_date}/rust-std-%{stage0_version}-aarch64-unknown-linux-gnu.tar.xz
-Patch0:         CVE-2023-45853.patch
-Patch1:         CVE-2024-32884.patch
-Patch2:         CVE-2024-31852.patch
 
+Patch0:		Ignore_failing_ci_tests.patch
+#Patch1:		Ignore-test-for-aarch64.patch
path: SPECS/rust/rust.spec
user: login: KavyaSree2610
body: yes, now this ptest is passing after adding a symlink between `aarch64-unknown-linux-gnu-gcc` and `aarch64-linux-gnu-gcc`
created_at: 2025-04-02T15:23:11Z
author_association: CONTRIBUTOR
diff_hunk: @@ -12,9 +12,9 @@ Source0:        https://github.com/Cisco-Talos/clamav/archive/refs/tags/%{name}-
 # To update the cache run:
path: SPECS/clamav/clamav.spec
user: login: manuelh-dev
body: Need to revisit this comment. How were the vendor sources re-created for this update?
created_at: 2025-04-02T15:59:42Z
author_association: CONTRIBUTOR
diff_hunk: @@ -732,6 +732,9 @@ exit 0
 %endif
 
 %changelog
+* Tue Apr 01 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> 3.1.0-3
path: SPECS-EXTENDED/389-ds-base/389-ds-base.spec
user: login: manuelh-dev
body: We should also bump cloud-hypervisor-cvm.

For kata-containers, kata-containers-cc we need to upgrade our sources. Hence, we need to not upgrade the minor version to avoid a re-build. but likely we should version-pin those two packages to the prior version
created_at: 2025-04-02T18:47:24Z
author_association: CONTRIBUTOR
diff_hunk: @@ -164,14 +165,25 @@ rm %{buildroot}%{_bindir}/*.old
 
 %files doc
 %license LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY COPYRIGHT
-%doc %{_docdir}/%{name}/html/*
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: I am seeing this when building, at least in my environment: WARN: (rust-doc-1.85.0-1.azl3.noarch.rpm) has license warning
created_at: 2025-04-02T23:52:34Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,15 +1,15 @@
 # Prevent librustc_driver from inadvertently being listed as a requirement
 %global __requires_exclude ^librustc_driver-
 
-# Release date and version of stage 0 compiler can be found in "src/stage0.json" inside the extracted "Source0".
+# Release date and version of stage 0 compiler can be found in "src/stage0" inside the extracted "Source0".
 # Look for "date:" and "rustc:".
-%define release_date 2023-11-16
-%define stage0_version 1.74.0
+%define release_date 2025-01-09
+%define stage0_version 1.84.0
 
 Summary:        Rust Programming Language
 Name:           rust
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: Going through package build logs, I am seeing various errors/warnings that we should at least confirm to be benign. Seeing things like:

```
time="2025-04-02T23:23:59Z" level=debug msg="[2025-04-02T23:23:38Z WARN  mdbook::preprocess::cmd] The command wasn't found, is the \"spec\" preprocessor installed?"
time="2025-04-02T23:23:59Z" level=debug msg="[2025-04-02T23:23:38Z WARN  mdbook::preprocess::cmd] \tCommand: cargo run --release --manifest-path mdbook-spec/Cargo.toml"
...
time="2025-04-02T23:23:59Z" level=debug msg="[2025-04-02T23:23:40Z WARN  mdbook::preprocess::cmd] The command wasn't found, is the \"gettext\" preprocessor installed?"
time="2025-04-02T23:23:59Z" level=debug msg="[2025-04-02T23:23:40Z WARN  mdbook::preprocess::cmd] \tCommand: mdbook-gettext"
time="2025-04-02T23:23:59Z" level=debug msg="   0.485361953s  INFO prepare_target{force=false package_id=lint-docs v0.1.0 (/usr/src/azl/BUILD/rustc-1.85.0-src/src/tools/lint-docs) target=\"lint_docs\"}: cargo::core::compiler::fingerprint: fingerprint error for lint-docs v0.1.0 (/usr/src/azl/BUILD/rustc-1.85.0-src/src/tools/lint-docs)/Build/TargetInner { name_inferred: true, ..: lib_target(\"lint_docs\", [\"lib\"], \"/usr/src/azl/BUILD/rustc-1.85.0-src/src/tools/lint-docs/src/lib.rs\", Edition2021) }"
time="2025-04-02T23:23:59Z" level=debug msg="   0.485384278s  INFO prepare_target{force=false package_id=lint-docs v0.1.0 (/usr/src/azl/BUILD/rustc-1.85.0-src/src/tools/lint-docs) target=\"lint_docs\"}: cargo::core::compiler::fingerprint:     err: failed to read `/usr/src/azl/BUILD/rustc-1.85.0-src/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/.fingerprint/lint-docs-ea2c53b2da5f5e99/lib-lint_docs`"
time="2025-04-02T23:23:59Z" level=debug
time="2025-04-02T23:23:59Z" level=debug msg="Caused by:"
time="2025-04-02T23:23:59Z" level=debug msg="    No such file or directory (os error 2)"
time="2025-04-02T23:23:59Z" level=debug msg="   0.485483381s  INFO prepare_target{force=false package_id=serde_json v1.0.134 target=\"serde_json\"}: cargo::core::compiler::fingerprint: fingerprint error for serde_json v1.0.134/Build/TargetInner { doc_scrape_examples: Disabled, ..: lib_target(\"serde_json\", [\"lib\"], \"/usr/src/azl/BUILD/rustc-1.85.0-src/vendor/serde_json-1.0.134/src/lib.rs\", Edition2021) }"
time="2025-04-02T23:23:59Z" level=debug msg="   0.485489824s  INFO prepare_target{force=false package_id=serde_json v1.0.134 target=\"serde_json\"}: cargo::core::compiler::fingerprint:     err: failed to read `/usr/src/azl/BUILD/rustc-1.85.0-src/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/.fingerprint/serde_json-79f638edf9421942/lib-serde_json`"
time="2025-04-02T23:23:59Z" level=debug
```

We should iterate over the logs 
created_at: 2025-04-03T00:16:36Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,15 +1,15 @@
 Summary:        Commit RPMs to an OSTree repository
 Name:           rpm-ostree
 Version:        2024.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        LGPLv2+
 Vendor:         Microsoft Corporation
 Distribution:   Azure Linux
 URL:            https://github.com/coreos/rpm-ostree
 Source0:        %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
 Patch0:         0001-Revert-compose-Inject-our-static-tmpfiles.d-dropins-.patch
 Patch1:         rpm-ostree-libdnf-build.patch
-
+Patch2:		0001-patch-for-failing-test-with-rust-1.85.patch
path: SPECS/rpm-ostree/rpm-ostree.spec
user: login: manuelh-dev
body: Please add a comment like: "Re-ordering println commands so that relevant symbols can be referenced, see https://github.com/rust-lang/rust/issues/132023"
created_at: 2025-04-03T15:36:36Z
author_association: CONTRIBUTOR
diff_hunk: @@ -732,6 +732,9 @@ exit 0
 %endif
 
 %changelog
+* Tue Apr 01 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> 3.1.0-3
path: SPECS-EXTENDED/389-ds-base/389-ds-base.spec
user: login: manuelh-dev
body: For kata-containers, kata-containers-cc: "BuildRequires:  rust <= 1.75.0"
created_at: 2025-04-03T15:42:46Z
author_association: CONTRIBUTOR
diff_hunk: @@ -164,14 +165,25 @@ rm %{buildroot}%{_bindir}/*.old
 
 %files doc
 %license LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY COPYRIGHT
-%doc %{_docdir}/%{name}/html/*
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: Discussed to revisit internally. The rust-doc package has a lot of file that are being flagged as bad doc files ....
created_at: 2025-04-03T15:56:37Z
author_association: CONTRIBUTOR
diff_hunk: @@ -125,21 +126,25 @@ USER=root SUDO_USER=root %make_build
 # We expect to generate dynamic CI contents in this folder, but it will fail since the .github folder is not included
 # with the published sources.
 mkdir -p .github/workflows
-./x.py run src/tools/expand-yaml-anchors
 
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage2-tools-bin/rustfmt %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage0/bin/
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/vendor/ /root/vendor
+# Since mariner has `aarch64-unknown-linux-gnu-gcc` as native compiler in arm64 and a ptest is expecting `aarch64-linux-gnu-gcc`
+ln -s /usr/bin/aarch64-unknown-linux-gnu-gcc /usr/bin/aarch64-linux-gnu-gcc
 # remove rustdoc ui flaky test issue-98690.rs (which is tagged with 'unstable-options')
-rm -v ./tests/rustdoc-ui/issue-98690.*
-%make_build check
-
+rm -v ./tests/rustdoc-ui/issues/issue-98690.*
+useradd -m -d /home/test test
+chown -R test:test .
+sudo -u test %make_build check
+userdel -r test
 %install
 USER=root SUDO_USER=root %make_install
-mv %{buildroot}%{_docdir}/%{name}/LICENSE-THIRD-PARTY .
-rm %{buildroot}%{_docdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
-rm %{buildroot}%{_docdir}/%{name}/html/.lock
-rm %{buildroot}%{_docdir}/%{name}/*.old
-rm %{buildroot}%{_bindir}/*.old
+mv %{buildroot}%{_docdir}/cargo/LICENSE-THIRD-PARTY .
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: This looks a bit odd. But without removals, this results in:
duplicated license files:
		/usr/share/doc/cargo/LICENSE-APACHE
		/usr/share/doc/cargo/LICENSE-MIT
		/usr/share/doc/clippy/LICENSE-APACHE
		/usr/share/doc/clippy/LICENSE-MIT
		/usr/share/doc/rustfmt/LICENSE-APACHE
		/usr/share/doc/rustfmt/LICENSE-MIT
created_at: 2025-04-03T15:58:30Z
author_association: CONTRIBUTOR
diff_hunk: @@ -125,21 +126,25 @@ USER=root SUDO_USER=root %make_build
 # We expect to generate dynamic CI contents in this folder, but it will fail since the .github folder is not included
 # with the published sources.
 mkdir -p .github/workflows
-./x.py run src/tools/expand-yaml-anchors
 
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage2-tools-bin/rustfmt %{_topdir}/BUILD/rustc-%{version}-src/build/x86_64-unknown-linux-gnu/stage0/bin/
 ln -s %{_topdir}/BUILD/rustc-%{version}-src/vendor/ /root/vendor
+# Since mariner has `aarch64-unknown-linux-gnu-gcc` as native compiler in arm64 and a ptest is expecting `aarch64-linux-gnu-gcc`
+ln -s /usr/bin/aarch64-unknown-linux-gnu-gcc /usr/bin/aarch64-linux-gnu-gcc
 # remove rustdoc ui flaky test issue-98690.rs (which is tagged with 'unstable-options')
-rm -v ./tests/rustdoc-ui/issue-98690.*
-%make_build check
-
+rm -v ./tests/rustdoc-ui/issues/issue-98690.*
+useradd -m -d /home/test test
+chown -R test:test .
+sudo -u test %make_build check
+userdel -r test
 %install
 USER=root SUDO_USER=root %make_install
-mv %{buildroot}%{_docdir}/%{name}/LICENSE-THIRD-PARTY .
-rm %{buildroot}%{_docdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
-rm %{buildroot}%{_docdir}/%{name}/html/.lock
-rm %{buildroot}%{_docdir}/%{name}/*.old
-rm %{buildroot}%{_bindir}/*.old
+mv %{buildroot}%{_docdir}/cargo/LICENSE-THIRD-PARTY .
path: SPECS/rust/rust.spec
user: login: manuelh-dev
body: Related: https://github.com/microsoft/azurelinux/pull/13059/files
created_at: 2025-04-03T16:12:06Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,35 @@
+From 0100fbb3789ab43b865df099094156ad120b6bca Mon Sep 17 00:00:00 2001
path: SPECS/flux/test-with-rust.1.85.0.patch
user: login: tobiasb-ms
body: Once you merge https://github.com/microsoft/azurelinux/pull/13385, you'll need to get rid of this patch. It patches the same issue but in a different way, based on an upstream change.
created_at: 2025-04-14T21:37:44Z
author_association: CONTRIBUTOR
diff_hunk: @@ -22,7 +22,7 @@
 Summary:        Influx data language
path: SPECS/flux/flux.spec
user: login: manuelh-dev
body: Please see: https://github.com/microsoft/azurelinux/pull/13385/files
created_at: 2025-04-14T22:21:45Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,52 @@
+From 4f5642051784a226f504b5fa5fae2d86b4660328 Mon Sep 17 00:00:00 2001
+From: Muhammad Falak R Wani <falakreyaz@gmail.com>
+Date: Wed, 5 Mar 2025 13:10:58 +0530
+Subject: [PATCH] flux: enable build with rust 1.85.0
+
+Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
+---
+ libflux/flux-core/src/ast/walk/mod.rs   | 2 +-
path: SPECS/flux/0001-flux-enable-build-with-rust-1.85.0.patch
user: login: tobiasb-ms
body: The changes for `ast/walk/mod.rs` and `parser/mod.rs` are both identical to the changes from this upstream PR: https://github.com/influxdata/flux/pull/5516.

You should probably call that PR out in the comments in this patch and/or where you apply it so we know where it comes from and when we can remove it.
created_at: 2025-04-14T23:09:45Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,52 @@
+From 4f5642051784a226f504b5fa5fae2d86b4660328 Mon Sep 17 00:00:00 2001
+From: Muhammad Falak R Wani <falakreyaz@gmail.com>
+Date: Wed, 5 Mar 2025 13:10:58 +0530
+Subject: [PATCH] flux: enable build with rust 1.85.0
+
+Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
+---
+ libflux/flux-core/src/ast/walk/mod.rs   | 2 +-
+ libflux/flux-core/src/parser/mod.rs     | 2 +-
+ libflux/flux-core/src/semantic/types.rs | 1 +
+ 3 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/libflux/flux-core/src/ast/walk/mod.rs b/libflux/flux-core/src/ast/walk/mod.rs
+index 90f70ba..a696682 100644
+--- a/libflux/flux-core/src/ast/walk/mod.rs
++++ b/libflux/flux-core/src/ast/walk/mod.rs
+@@ -180,7 +180,7 @@ impl<'a> Node<'a> {
+ 
+ impl<'a> Node<'a> {
+     #[allow(missing_docs)]
+-    pub fn from_expr(expr: &'a Expression) -> Node {
++    pub fn from_expr(expr: &'a Expression) -> Node<'a> {
+         match expr {
+             Expression::Identifier(e) => Node::Identifier(e),
+             Expression::Array(e) => Node::ArrayExpr(e),
+diff --git a/libflux/flux-core/src/parser/mod.rs b/libflux/flux-core/src/parser/mod.rs
+index ac7d4b9..561c3a0 100644
+--- a/libflux/flux-core/src/parser/mod.rs
++++ b/libflux/flux-core/src/parser/mod.rs
+@@ -41,7 +41,7 @@ pub struct Parser<'input> {
+ 
+ impl<'input> Parser<'input> {
+     /// Instantiates a new parser with the given string as input.
+-    pub fn new(src: &'input str) -> Parser {
++    pub fn new(src: &'input str) -> Parser<'input> {
+         let s = Scanner::new(src);
+         Parser {
+             s,
+diff --git a/libflux/flux-core/src/semantic/types.rs b/libflux/flux-core/src/semantic/types.rs
+index 8c5efb7..402d046 100644
+--- a/libflux/flux-core/src/semantic/types.rs
++++ b/libflux/flux-core/src/semantic/types.rs
+@@ -2186,6 +2186,7 @@ impl Function {
+     }
+ }
+ 
++#[allow(dead_code)]
path: SPECS/flux/0001-flux-enable-build-with-rust-1.85.0.patch
user: login: tobiasb-ms
body: Take a look at upstream https://github.com/influxdata/flux/pull/5484, which fixes a number of issues required for rust 1.78. They do a more focused application of `allow(dead_code)`. If that works, I'd prefer to keep it closer to what upstream does (and mention the PR in the patch comments and/or spec file).
created_at: 2025-04-14T23:19:35Z
author_association: CONTRIBUTOR
diff_hunk: @@ -43,6 +43,7 @@ Patch1:         disable-static-library.patch
 # Fixed upstream in 1.195.0, https://github.com/influxdata/flux/pull/5484.
 Patch2:         fix-build-warnings.patch
 Patch3:         fix-unsigned-char.patch
+Patch4:		0001-Fix-with-latest-rust.patch
path: SPECS/flux/flux.spec
user: login: tobiasb-ms
body: nit: Please fix spacing.
created_at: 2025-04-15T14:39:14Z
author_association: CONTRIBUTOR
diff_hunk: @@ -71,23 +71,11 @@ programs using Influx data language.
 
 %prep
 %setup -q
-%patch 2 -p1
path: SPECS/flux/flux.spec
user: login: tobiasb-ms
body: I notice that you switched back away from `%autosetup`.

I don't mind this, because it keeps us closer to the [OpenSUSE upstream](https://build.opensuse.org/projects/openSUSE:Factory/packages/flux/files/flux.spec?expand=1), but I wanted to make sure that's intentional.
created_at: 2025-04-15T14:42:54Z
author_association: CONTRIBUTOR
diff_hunk: @@ -75,11 +76,11 @@ programs using Influx data language.
 %setup -q
 %patch 2 -p1
 %patch 3 -p1
+%patch 4 -p1
 pushd libflux
 tar -xf %{SOURCE1}
 install -D %{SOURCE2} .cargo/config
 
-patch -p2 < %{PATCH1}
path: SPECS/flux/flux.spec
user: login: tobiasb-ms
body: Looks like we're no longer applying `PATCH1`.
created_at: 2025-04-15T14:43:58Z
author_association: CONTRIBUTOR
diff_hunk: @@ -93,6 +94,7 @@ patch -p2 <<EOF
  }
 EOF
 
+
path: SPECS/flux/flux.spec
user: login: tobiasb-ms
body: nit: remove extra blank line.
created_at: 2025-04-15T14:44:14Z
author_association: CONTRIBUTOR
diff_hunk: @@ -75,11 +76,11 @@ programs using Influx data language.
 %setup -q
 %patch 2 -p1
 %patch 3 -p1
+%patch 4 -p1
 pushd libflux
 tar -xf %{SOURCE1}
 install -D %{SOURCE2} .cargo/config
 
-patch -p2 < %{PATCH1}
path: SPECS/flux/flux.spec
user: login: KavyaSree2610
body: Removed it mistakenly, adding it again
created_at: 2025-04-15T14:54:12Z
author_association: CONTRIBUTOR
diff_hunk: @@ -1,15 +1,15 @@
 # Prevent librustc_driver from inadvertently being listed as a requirement
 %global __requires_exclude ^librustc_driver-
 
-# Release date and version of stage 0 compiler can be found in "src/stage0.json" inside the extracted "Source0".
+# Release date and version of stage 0 compiler can be found in "src/stage0" inside the extracted "Source0".
 # Look for "date:" and "rustc:".
-%define release_date 2023-11-16
-%define stage0_version 1.74.0
+%define release_date 2025-01-09
+%define stage0_version 1.84.0
path: SPECS/rust/rust.spec
user: login: jslobodzian
body: Is the 1.74.0 version capable of building the 1.85 version?

created_at: 2025-04-23T22:38:44Z
author_association: COLLABORATOR
diff_hunk: @@ -1,15 +1,15 @@
 # Prevent librustc_driver from inadvertently being listed as a requirement
 %global __requires_exclude ^librustc_driver-
 
-# Release date and version of stage 0 compiler can be found in "src/stage0.json" inside the extracted "Source0".
+# Release date and version of stage 0 compiler can be found in "src/stage0" inside the extracted "Source0".
 # Look for "date:" and "rustc:".
-%define release_date 2023-11-16
-%define stage0_version 1.74.0
+%define release_date 2025-01-09
+%define stage0_version 1.84.0
path: SPECS/rust/rust.spec
user: login: KavyaSree2610
body: > Is the 1.74.0 version capable of building the 1.85 version?

No, it should be build with 1.84 
created_at: 2025-04-24T00:36:05Z
author_association: CONTRIBUTOR

PR comments:
user: login: manuelh-dev
created_at: 2025-04-01T22:39:17Z
body: As the PR progresses, can we please post up to date pipeline links for all affected packages, showing build and package tests to behave according to our findings?
author_association: CONTRIBUTOR
user: login: KavyaSree2610
created_at: 2025-04-09T08:40:35Z
body: > In retrospect, we should get to the bottom of why these patches removing tests are required before proceeding.

done with the investigation of the tests
author_association: CONTRIBUTOR