Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-onig.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98027-60155/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-onig.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-onig-6.4.0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-onig.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98027-60155/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-onig.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N9nZwv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf onig-6.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/onig-6.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd onig-6.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/onig-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.loHDii + umask 022 + cd /builddir/build/BUILD + cd onig-6.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-onig-6.4.0-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-onig.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98027-60155/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-onig.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.r1VgqM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf onig-6.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/onig-6.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd onig-6.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/onig-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4S7nY2 + umask 022 + cd /builddir/build/BUILD + cd onig-6.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-onig-6.4.0-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-onig.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98027-60155/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-onig.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.u7aWV4 + umask 022 + cd /builddir/build/BUILD + cd onig-6.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zvL02W + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd onig-6.4.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling glob v0.3.1 Compiling proc-macro2 v1.0.85 Compiling rustix v0.38.34 Compiling libc v0.2.155 Compiling unicode-ident v1.0.12 Compiling syn v1.0.109 Compiling memchr v2.7.4 Compiling linux-raw-sys v0.4.12 Running `/usr/bin/rustc --crate-name glob --edition=2015 /usr/share/cargo/registry/glob-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=fcbc9234a669351e -C extra-filename=-fcbc9234a669351e --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.85/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="proc-macro"' -C metadata=a8b88cd234f83606 -C extra-filename=-a8b88cd234f83606 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/proc-macro2-a8b88cd234f83606 -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rustix-0.38.34/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' -C metadata=8b5e1bf59af24ad8 -C extra-filename=-8b5e1bf59af24ad8 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/rustix-8b5e1bf59af24ad8 -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.155/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=c45d0e41ae344f22 -C extra-filename=-c45d0e41ae344f22 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/libc-c45d0e41ae344f22 -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=a310461fb6fa22fa -C extra-filename=-a310461fb6fa22fa --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.4.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' -C metadata=acace4ae24a7e57d -C extra-filename=-acace4ae24a7e57d --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=2ff43bcb5c05d141 -C extra-filename=-2ff43bcb5c05d141 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/syn-1.0.109/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit-mut"' -C metadata=7967996ab7d5c312 -C extra-filename=-7967996ab7d5c312 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/syn-7967996ab7d5c312 -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling bitflags v2.5.0 Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=f2ac9ddddeed2afa -C extra-filename=-f2ac9ddddeed2afa --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=425456140b959222 -C extra-filename=-425456140b959222 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling minimal-lexical v0.2.1 Running `/usr/bin/rustc --crate-name minimal_lexical --edition=2018 /usr/share/cargo/registry/minimal-lexical-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=63f9eb5381295a9d -C extra-filename=-63f9eb5381295a9d --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/build/proc-macro2-a8b88cd234f83606/build-script-build` Compiling regex-syntax v0.8.4 Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=a442e42b058f40b6 -C extra-filename=-a442e42b058f40b6 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/build/syn-7967996ab7d5c312/build-script-build` Compiling libloading v0.8.3 Running `/usr/bin/rustc --crate-name libloading --edition=2015 /usr/share/cargo/registry/libloading-0.8.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=a2ff7ff8392e2bde -C extra-filename=-a2ff7ff8392e2bde --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libcfg_if-425456140b959222.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.85/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="proc-macro"' -C metadata=851186a9b511c025 -C extra-filename=-851186a9b511c025 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern unicode_ident=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libunicode_ident-a310461fb6fa22fa.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span` Compiling nom v7.1.3 Running `/usr/bin/rustc --crate-name nom --edition=2018 /usr/share/cargo/registry/nom-7.1.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=17e4e20115fb1004 -C extra-filename=-17e4e20115fb1004 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern memchr=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libmemchr-2ff43bcb5c05d141.rmeta --extern minimal_lexical=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libminimal_lexical-63f9eb5381295a9d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/build/libc-c45d0e41ae344f22/build-script-build` Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/build/rustix-8b5e1bf59af24ad8/build-script-build` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-0.38.34/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' -C metadata=1224716a90d15993 -C extra-filename=-1224716a90d15993 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-f2ac9ddddeed2afa.rmeta --extern linux_raw_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblinux_raw_sys-acace4ae24a7e57d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg static_assertions --cfg linux_raw --cfg linux_like --cfg linux_kernel` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=a9c52928d3c403bd -C extra-filename=-a9c52928d3c403bd --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling bindgen v0.63.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/bindgen-0.63.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="runtime"' --cfg 'feature="which"' --cfg 'feature="which-rustfmt"' -C metadata=4106abea1b49c027 -C extra-filename=-4106abea1b49c027 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/bindgen-4106abea1b49c027 -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling quote v1.0.36 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.36/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="proc-macro"' -C metadata=e07868f25b2e69b4 -C extra-filename=-e07868f25b2e69b4 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libproc_macro2-851186a9b511c025.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling either v1.12.0 Running `/usr/bin/rustc --crate-name either --edition=2018 /usr/share/cargo/registry/either-1.12.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=9295cd064cfd0a07 -C extra-filename=-9295cd064cfd0a07 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling home v0.5.9 Running `/usr/bin/rustc --crate-name home --edition=2021 /usr/share/cargo/registry/home-0.5.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no '--allow=clippy::all' '--warn=clippy::self_named_module_files' --warn=rust_2018_idioms '--allow=rustdoc::private_intra_doc_links' '--warn=clippy::print_stdout' '--warn=clippy::print_stderr' '--warn=clippy::disallowed_methods' '--warn=clippy::dbg_macro' -C debug-assertions=off -C metadata=600ab43879f2fff1 -C extra-filename=-600ab43879f2fff1 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling clang-sys v1.8.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/clang-sys-1.8.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' -C metadata=d81ebb407143ce77 -C extra-filename=-d81ebb407143ce77 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/clang-sys-d81ebb407143ce77 -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern glob=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libglob-fcbc9234a669351e.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name syn --edition=2018 /usr/share/cargo/registry/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit-mut"' -C metadata=084ae1086a3a888a -C extra-filename=-084ae1086a3a888a --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libproc_macro2-851186a9b511c025.rmeta --extern quote=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libquote-e07868f25b2e69b4.rmeta --extern unicode_ident=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libunicode_ident-a310461fb6fa22fa.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg syn_disable_nightly_tests` Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/build/clang-sys-d81ebb407143ce77/build-script-build` Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/build/bindgen-4106abea1b49c027/build-script-build` Compiling lazycell v1.3.0 Running `/usr/bin/rustc --crate-name lazycell --edition=2015 /usr/share/cargo/registry/lazycell-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=39794e43a02b0a90 -C extra-filename=-39794e43a02b0a90 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rustc-hash v1.1.0 Running `/usr/bin/rustc --crate-name rustc_hash --edition=2015 /usr/share/cargo/registry/rustc-hash-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=3470e9a9eeac536d -C extra-filename=-3470e9a9eeac536d --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling log v0.4.21 Running `/usr/bin/rustc --crate-name log --edition=2021 /usr/share/cargo/registry/log-0.4.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=8b9486783c44e858 -C extra-filename=-8b9486783c44e858 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling lazy_static v1.4.0 Running `/usr/bin/rustc --crate-name lazy_static --edition=2015 /usr/share/cargo/registry/lazy_static-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=5ebd4485ca0349c0 -C extra-filename=-5ebd4485ca0349c0 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling shlex v1.3.0 Running `/usr/bin/rustc --crate-name shlex --edition=2015 /usr/share/cargo/registry/shlex-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=6d0dfecfb7df0c11 -C extra-filename=-6d0dfecfb7df0c11 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling bitflags v1.3.2 Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=baec6451d5ced901 -C extra-filename=-baec6451d5ced901 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling peeking_take_while v0.1.2 Running `/usr/bin/rustc --crate-name peeking_take_while --edition=2015 /usr/share/cargo/registry/peeking_take_while-0.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=a0fa221e1a322baa -C extra-filename=-a0fa221e1a322baa --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name clang_sys --edition=2021 /usr/share/cargo/registry/clang-sys-1.8.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' -C metadata=f7d87214ce346d95 -C extra-filename=-f7d87214ce346d95 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern glob=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libglob-fcbc9234a669351e.rmeta --extern libc=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblibc-a9c52928d3c403bd.rmeta --extern libloading=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblibloading-a2ff7ff8392e2bde.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling pkg-config v0.3.30 Running `/usr/bin/rustc --crate-name pkg_config --edition=2015 /usr/share/cargo/registry/pkg-config-0.3.30/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=29360bdaab222a1b -C extra-filename=-29360bdaab222a1b --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling regex-automata v0.4.7 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="meta"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' -C metadata=3a819ea15164cebf -C extra-filename=-3a819ea15164cebf --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern regex_syntax=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libregex_syntax-a442e42b058f40b6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling which v4.4.2 Running `/usr/bin/rustc --crate-name which --edition=2021 /usr/share/cargo/registry/which-4.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=656730dd7f0731c4 -C extra-filename=-656730dd7f0731c4 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern either=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libeither-9295cd064cfd0a07.rmeta --extern home=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libhome-600ab43879f2fff1.rmeta --extern rustix=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/librustix-1224716a90d15993.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cexpr v0.6.0 Running `/usr/bin/rustc --crate-name cexpr --edition=2018 /usr/share/cargo/registry/cexpr-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=7ce157529b2c093a -C extra-filename=-7ce157529b2c093a --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern nom=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libnom-17e4e20115fb1004.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cc v1.0.99 Running `/usr/bin/rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.0.99/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=110b67f27fc57c41 -C extra-filename=-110b67f27fc57c41 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling regex v1.10.5 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.10.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=7676802dabf18b56 -C extra-filename=-7676802dabf18b56 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern regex_automata=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libregex_automata-3a819ea15164cebf.rmeta --extern regex_syntax=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libregex_syntax-a442e42b058f40b6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling once_cell v1.19.0 Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.19.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=563a19a387470e0c -C extra-filename=-563a19a387470e0c --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name bindgen --edition=2018 /usr/share/cargo/registry/bindgen-0.63.0/./lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="runtime"' --cfg 'feature="which"' --cfg 'feature="which-rustfmt"' -C metadata=ab167411a2a73ccd -C extra-filename=-ab167411a2a73ccd --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-baec6451d5ced901.rmeta --extern cexpr=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libcexpr-7ce157529b2c093a.rmeta --extern clang_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libclang_sys-f7d87214ce346d95.rmeta --extern lazy_static=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblazy_static-5ebd4485ca0349c0.rmeta --extern lazycell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblazycell-39794e43a02b0a90.rmeta --extern log=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblog-8b9486783c44e858.rmeta --extern peeking_take_while=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libpeeking_take_while-a0fa221e1a322baa.rmeta --extern proc_macro2=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libproc_macro2-851186a9b511c025.rmeta --extern quote=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libquote-e07868f25b2e69b4.rmeta --extern regex=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libregex-7676802dabf18b56.rmeta --extern rustc_hash=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/librustc_hash-3470e9a9eeac536d.rmeta --extern shlex=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libshlex-6d0dfecfb7df0c11.rmeta --extern syn=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libsyn-084ae1086a3a888a.rmeta --extern which=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libwhich-656730dd7f0731c4.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=cd0de3c4c40e8f8f -C extra-filename=-cd0de3c4c40e8f8f --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling onig_sys v69.8.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/onig_sys-69.8.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="bindgen"' --cfg 'feature="generate"' -C metadata=0ac6ba4a0e13a62d -C extra-filename=-0ac6ba4a0e13a62d --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/onig_sys-0ac6ba4a0e13a62d -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bindgen=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbindgen-ab167411a2a73ccd.rlib --extern cc=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libcc-110b67f27fc57c41.rlib --extern pkg_config=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libpkg_config-29360bdaab222a1b.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/build/onig_sys-0ac6ba4a0e13a62d/build-script-build` Running `/usr/bin/rustc --crate-name onig_sys --edition=2018 /usr/share/cargo/registry/onig_sys-69.8.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="bindgen"' --cfg 'feature="generate"' -C metadata=39da1963e2297c03 -C extra-filename=-39da1963e2297c03 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64 -l onig` Compiling onig v6.4.0 (/builddir/build/BUILD/onig-6.4.0) Running `/usr/bin/rustc --crate-name onig --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=1f42558544515e54 -C extra-filename=-1f42558544515e54 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rmeta --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rmeta --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` warning: creating a mutable reference to mutable static is discouraged --> src/buffers.rs:26:18 | 26 | unsafe { &mut onig_sys::OnigEncodingUTF8 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior = note: `#[warn(static_mut_refs)]` on by default help: use `addr_of_mut!` instead to create a raw pointer | 26 | unsafe { addr_of_mut!(onig_sys::OnigEncodingUTF8) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/buffers.rs:92:27 | 92 | enc: unsafe { &mut onig_sys::OnigEncodingASCII }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 92 | enc: unsafe { addr_of_mut!(onig_sys::OnigEncodingASCII) }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:38:28 | 38 | unsafe { transmute(&onig_sys::OnigSyntaxPython) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 38 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxPython)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:42:28 | 42 | unsafe { transmute(&onig_sys::OnigSyntaxASIS) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 42 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxASIS)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:47:28 | 47 | unsafe { transmute(&onig_sys::OnigSyntaxPosixBasic) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 47 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxPosixBasic)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:52:28 | 52 | unsafe { transmute(&onig_sys::OnigSyntaxPosixExtended) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 52 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxPosixExtended)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:57:28 | 57 | unsafe { transmute(&onig_sys::OnigSyntaxEmacs) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 57 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxEmacs)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:62:28 | 62 | unsafe { transmute(&onig_sys::OnigSyntaxGrep) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 62 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxGrep)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:67:28 | 67 | unsafe { transmute(&onig_sys::OnigSyntaxGnuRegex) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 67 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxGnuRegex)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:72:28 | 72 | unsafe { transmute(&onig_sys::OnigSyntaxJava) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 72 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxJava)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:77:28 | 77 | unsafe { transmute(&onig_sys::OnigSyntaxPerl) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 77 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxPerl)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:82:28 | 82 | unsafe { transmute(&onig_sys::OnigSyntaxPerl_NG) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 82 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxPerl_NG)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:87:28 | 87 | unsafe { transmute(&onig_sys::OnigSyntaxRuby) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 87 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxRuby)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:92:28 | 92 | unsafe { transmute(&onig_sys::OnigSyntaxOniguruma) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 92 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxOniguruma)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: `onig` (lib) generated 14 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 1m 03s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hczdLz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-onig-6.4.0-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-onig-6.4.0-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-onig-6.4.0-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-onig-6.4.0-1.oc9.aarch64 + cd onig-6.4.0 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=onig ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=6.4.0 + REG_DIR=/builddir/build/BUILDROOT/rust-onig-6.4.0-1.oc9.aarch64/usr/share/cargo/registry/onig-6.4.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-onig-6.4.0-1.oc9.aarch64/usr/share/cargo/registry/onig-6.4.0 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-onig-6.4.0-1.oc9.aarch64/usr/share/cargo/registry/onig-6.4.0 warning: no (git) VCS found for `/builddir/build/BUILD/onig-6.4.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-onig-6.4.0-1.oc9.aarch64/usr/share/cargo/registry/onig-6.4.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-onig-6.4.0-1.oc9.aarch64/usr/share/cargo/registry/onig-6.4.0/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.l2VI4r + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd onig-6.4.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh glob v0.3.1 Fresh unicode-ident v1.0.12 Fresh bitflags v2.5.0 Fresh linux-raw-sys v0.4.12 Fresh minimal-lexical v0.2.1 Fresh proc-macro2 v1.0.85 Fresh regex-syntax v0.8.4 Fresh cfg-if v1.0.0 Fresh memchr v2.7.4 Fresh libloading v0.8.3 Fresh libc v0.2.155 Fresh rustix v0.38.34 Fresh nom v7.1.3 Fresh quote v1.0.36 Fresh regex-automata v0.4.7 Fresh either v1.12.0 Fresh home v0.5.9 Fresh regex v1.10.5 Fresh clang-sys v1.8.1 Fresh cexpr v0.6.0 Fresh syn v1.0.109 Fresh which v4.4.2 Fresh lazy_static v1.4.0 Fresh lazycell v1.3.0 Fresh peeking_take_while v0.1.2 Fresh rustc-hash v1.1.0 Fresh log v0.4.21 Fresh shlex v1.3.0 Fresh pkg-config v0.3.30 Fresh cc v1.0.99 Fresh bindgen v0.63.0 Fresh once_cell v1.19.0 Fresh bitflags v1.3.2 Fresh onig_sys v69.8.1 warning: creating a mutable reference to mutable static is discouraged --> src/buffers.rs:26:18 | 26 | unsafe { &mut onig_sys::OnigEncodingUTF8 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior = note: `#[warn(static_mut_refs)]` on by default help: use `addr_of_mut!` instead to create a raw pointer | 26 | unsafe { addr_of_mut!(onig_sys::OnigEncodingUTF8) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/buffers.rs:92:27 | 92 | enc: unsafe { &mut onig_sys::OnigEncodingASCII }, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 92 | enc: unsafe { addr_of_mut!(onig_sys::OnigEncodingASCII) }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:38:28 | 38 | unsafe { transmute(&onig_sys::OnigSyntaxPython) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 38 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxPython)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:42:28 | 42 | unsafe { transmute(&onig_sys::OnigSyntaxASIS) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 42 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxASIS)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:47:28 | 47 | unsafe { transmute(&onig_sys::OnigSyntaxPosixBasic) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 47 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxPosixBasic)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:52:28 | 52 | unsafe { transmute(&onig_sys::OnigSyntaxPosixExtended) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 52 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxPosixExtended)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:57:28 | 57 | unsafe { transmute(&onig_sys::OnigSyntaxEmacs) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 57 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxEmacs)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:62:28 | 62 | unsafe { transmute(&onig_sys::OnigSyntaxGrep) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 62 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxGrep)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:67:28 | 67 | unsafe { transmute(&onig_sys::OnigSyntaxGnuRegex) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 67 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxGnuRegex)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:72:28 | 72 | unsafe { transmute(&onig_sys::OnigSyntaxJava) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 72 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxJava)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:77:28 | 77 | unsafe { transmute(&onig_sys::OnigSyntaxPerl) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 77 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxPerl)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:82:28 | 82 | unsafe { transmute(&onig_sys::OnigSyntaxPerl_NG) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 82 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxPerl_NG)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:87:28 | 87 | unsafe { transmute(&onig_sys::OnigSyntaxRuby) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 87 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxRuby)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a shared reference to mutable static is discouraged --> src/syntax.rs:92:28 | 92 | unsafe { transmute(&onig_sys::OnigSyntaxOniguruma) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | 92 | unsafe { transmute(addr_of!(onig_sys::OnigSyntaxOniguruma)) } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling onig v6.4.0 (/builddir/build/BUILD/onig-6.4.0) warning: `onig` (lib) generated 14 warnings Running `/usr/bin/rustc --crate-name onig --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=7fabee1aa04001c5 -C extra-filename=-7fabee1aa04001c5 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name simple --edition=2018 examples/simple.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=91bd3e09bbaef65a -C extra-filename=-91bd3e09bbaef65a --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/examples -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-1f42558544515e54.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name simple_grep --edition=2018 examples/simple_grep.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=b59107077d6a092c -C extra-filename=-b59107077d6a092c --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/examples -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-1f42558544515e54.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name capturedump --edition=2018 examples/capturedump.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=29eda3cd692284a4 -C extra-filename=-29eda3cd692284a4 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/examples -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-1f42558544515e54.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name dollar --edition=2018 examples/dollar.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=70c58e639902232a -C extra-filename=-70c58e639902232a --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/examples -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-1f42558544515e54.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name sql --edition=2018 examples/sql.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=5c69d593d2b553d5 -C extra-filename=-5c69d593d2b553d5 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/examples -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-1f42558544515e54.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name scan --edition=2018 examples/scan.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=d3a52a228f6bb9e1 -C extra-filename=-d3a52a228f6bb9e1 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/examples -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-1f42558544515e54.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name user_property --edition=2018 examples/user_property.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=ecaca99ab8c0affb -C extra-filename=-ecaca99ab8c0affb --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/examples -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-1f42558544515e54.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` warning: creating a mutable reference to mutable static is discouraged --> src/buffers.rs:123:22 | 123 | unsafe { &mut onig_sys::OnigEncodingUTF8 } as onig_sys::OnigEncoding, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 123 | unsafe { addr_of_mut!(onig_sys::OnigEncodingUTF8) } as onig_sys::OnigEncoding, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/buffers.rs:129:22 | 129 | unsafe { &mut onig_sys::OnigEncodingUTF8 } as onig_sys::OnigEncoding, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 129 | unsafe { addr_of_mut!(onig_sys::OnigEncodingUTF8) } as onig_sys::OnigEncoding, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/buffers.rs:139:22 | 139 | unsafe { &mut onig_sys::OnigEncodingASCII } as onig_sys::OnigEncoding, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 139 | unsafe { addr_of_mut!(onig_sys::OnigEncodingASCII) } as onig_sys::OnigEncoding, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/buffers.rs:167:53 | 167 | EncodedBytes::from_parts(buff, unsafe { &mut onig_sys::OnigEncodingASCII }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 167 | EncodedBytes::from_parts(buff, unsafe { addr_of_mut!(onig_sys::OnigEncodingASCII) }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: creating a mutable reference to mutable static is discouraged --> src/buffers.rs:169:22 | 169 | unsafe { &mut onig_sys::OnigEncodingASCII } as onig_sys::OnigEncoding, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior help: use `addr_of_mut!` instead to create a raw pointer | 169 | unsafe { addr_of_mut!(onig_sys::OnigEncodingASCII) } as onig_sys::OnigEncoding, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Running `/usr/bin/rustc --crate-name syntax --edition=2018 examples/syntax.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=73f91e6c479a85b5 -C extra-filename=-73f91e6c479a85b5 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/examples -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-1f42558544515e54.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name listcap --edition=2018 examples/listcap.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=e5a431cda39a3060 -C extra-filename=-e5a431cda39a3060 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/examples -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-1f42558544515e54.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name names --edition=2018 examples/names.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="generate"' -C metadata=d86a648fd8c93949 -C extra-filename=-d86a648fd8c93949 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/examples -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-1f42558544515e54.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` warning: `onig` (lib test) generated 19 warnings (14 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.12s Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/onig-7fabee1aa04001c5` running 47 tests test buffers::tests::byte_buffer_create ... ok test buffers::tests::rust_bytes_encoding_is_ascii ... ok test buffers::tests::rust_bytes_ptr_offsets_are_valid ... ok test buffers::tests::rust_string_encoding_is_utf8 ... ok test buffers::tests::rust_string_ptr_offsets_are_valid ... ok test find::tests::test_captures_stores_match_offset ... ok test find::tests::test_captures_iter ... ok test find::tests::test_regex_subcaptures ... ok test find::tests::test_find_iter_one_zero_length ... ok test match_param::test::create_default_match_param ... ok test find::tests::test_find_iter_many_zero_length ... ok test find::tests::test_find_iter ... ok test find::tests::test_regex_captures ... ok test find::tests::test_zero_length_matches_jumps_past_match_location ... ok test match_param::test::set_retry_limit_in_match ... ok test names::tests::test_regex_names ... ok test region::tests::test_region_all_iteration_options ... ok test names::tests::test_regex_names_len ... ok test region::tests::test_region_copy ... ok test region::tests::test_region_create ... ok test region::tests::test_region_clear ... ok test region::tests::test_region_empty_iterate ... ok test region::tests::test_region_iter_returns_iterator ... ok test region::tests::test_region_resize ... ok test region::tests::test_region_iterate_with_captures ... ok test syntax::test::round_trip_bits ... ok test tests::test_failed_match ... ok test tests::test_match_with_invalid_range ... ok test tests::test_match_with_invalid_range_panic ... ok test tests::test_regex_create ... ok test tests::test_regex_captures_len ... ok test tests::test_regex_is_match ... ok test tests::test_regex_invalid ... ok test tests::test_regex_match_with_options ... ok test find::tests::test_find_iter_empty_after_match ... ok test find::tests::test_regex_subcapturespos ... ok test match_param::test::set_max_stack_size_limit ... ok test tests::test_search_with_invalid_range ... ok test tests::test_regex_find ... ok test tests::test_regex_search_with_options ... ok test utils::tests::utils_get_copyright_is_not_emtpy ... ok test tests::test_search_with_invalid_range_panic ... ok test tree::tests::test_regex_search_with_region_tree ... ok test tests::test_regex_panic_is_match ... ok test tests::test_regex_error_find ... ok test tests::test_regex_error_is_match ... ok test tests::test_regex_panic_find ... ok test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s Doc-tests onig Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name onig --test src/lib.rs --test-run-directory /builddir/build/BUILD/onig-6.4.0 -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps -L native=/usr/lib64 --extern bitflags=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libbitflags-cd0de3c4c40e8f8f.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-563a19a387470e0c.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-1f42558544515e54.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-39da1963e2297c03.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="generate"' --error-format human` running 18 tests test src/find.rs - find::Regex::splitn (line 129) ... ok test src/lib.rs - (line 6) ... ok test src/lib.rs - Regex::match_with_options (line 388) ... ok test src/lib.rs - (line 30) ... ok test src/find.rs - find::Regex::find_iter (line 32) ... ok test src/find.rs - find::Regex::captures_iter (line 65) ... ok test src/find.rs - find::Regex::split (line 100) ... ok test src/lib.rs - Regex::match_with_encoding (line 434) ... ok test src/lib.rs - Regex::new (line 226) ... ok test src/lib.rs - Regex::match_with_param (line 492) ... ok test src/lib.rs - Regex::search_with_options (line 574) ... ok test src/lib.rs - Regex::search_with_encoding (line 623) ... ok test src/lib.rs - Regex::with_options (line 280) ... ok test src/lib.rs - Regex::search_with_param (line 684) ... ok test src/lib.rs - Regex::with_encoding (line 247) ... ok test src/lib.rs - Regex::with_options_and_encoding (line 314) ... ok test src/replace.rs - replace::Regex::replace (line 46) ... ok test src/replace.rs - replace::Regex::replace (line 59) ... ok test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-onig-devel-6.4.0-1.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/onig-6.4.0/LICENSE.md warning: File listed twice: /usr/share/cargo/registry/onig-6.4.0/README.md Provides: crate(onig) = 6.4.0 rust-onig-devel = 6.4.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(bitflags/default) >= 1.3.0 with crate(bitflags/default) < 2.0.0~) (crate(once_cell/default) >= 1.12.0 with crate(once_cell/default) < 2.0.0~) (crate(onig_sys) >= 69.8.1 with crate(onig_sys) < 70.0.0~) cargo Processing files: rust-onig+default-devel-6.4.0-1.oc9.noarch Provides: crate(onig/default) = 6.4.0 rust-onig+default-devel = 6.4.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(onig) = 6.4.0 crate(onig/generate) = 6.4.0 Processing files: rust-onig+generate-devel-6.4.0-1.oc9.noarch Provides: crate(onig/generate) = 6.4.0 rust-onig+generate-devel = 6.4.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(onig_sys/generate) >= 69.8.1 with crate(onig_sys/generate) < 70.0.0~) cargo crate(onig) = 6.4.0 Processing files: rust-onig+posix-api-devel-6.4.0-1.oc9.noarch Provides: crate(onig/posix-api) = 6.4.0 rust-onig+posix-api-devel = 6.4.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(onig_sys/posix-api) >= 69.8.1 with crate(onig_sys/posix-api) < 70.0.0~) cargo crate(onig) = 6.4.0 Processing files: rust-onig+print-debug-devel-6.4.0-1.oc9.noarch Provides: crate(onig/print-debug) = 6.4.0 rust-onig+print-debug-devel = 6.4.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(onig_sys/print-debug) >= 69.8.1 with crate(onig_sys/print-debug) < 70.0.0~) cargo crate(onig) = 6.4.0 Processing files: rust-onig+std-pattern-devel-6.4.0-1.oc9.noarch Provides: crate(onig/std-pattern) = 6.4.0 rust-onig+std-pattern-devel = 6.4.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(onig) = 6.4.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-onig-6.4.0-1.oc9.aarch64 Wrote: /builddir/build/SRPMS/rust-onig-6.4.0-1.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-onig+generate-devel-6.4.0-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-onig+std-pattern-devel-6.4.0-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-onig+default-devel-6.4.0-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-onig+print-debug-devel-6.4.0-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-onig+posix-api-devel-6.4.0-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-onig-devel-6.4.0-1.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/onig-6.4.0/LICENSE.md File listed twice: /usr/share/cargo/registry/onig-6.4.0/README.md Child return code was: 0