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-ocs23-epol9-build-205131-14692/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=981gid=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.ocs23.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-ocs23-epol9-build-205131-14692/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=981gid=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.VLzI6l + 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.0mbryU + 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.ocs23.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-ocs23-epol9-build-205131-14692/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=981gid=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.F3C9FN + 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.yKSVBw + 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.ocs23.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-ocs23-epol9-build-205131-14692/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=981gid=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.JjWvlW + 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.KiTE1d + 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 Running `/usr/bin/rustc --crate-name glob /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=353aac478ce85f14 -C extra-filename=-353aac478ce85f14 --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 unicode-ident v1.0.12 Compiling libc v0.2.155 Compiling rustix v0.38.34 Compiling cfg-if v1.0.0 Compiling bitflags v2.5.0 Compiling linux-raw-sys v0.4.12 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=dfe90c18b5ef57ee -C extra-filename=-dfe90c18b5ef57ee --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/proc-macro2-dfe90c18b5ef57ee -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=a6669395862b4222 -C extra-filename=-a6669395862b4222 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/rustix-a6669395862b4222 -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 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=799c932bc9e09a45 -C extra-filename=-799c932bc9e09a45 --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 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=ade339fe45a6060c -C extra-filename=-ade339fe45a6060c --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=eb77d737f2589bd4 -C extra-filename=-eb77d737f2589bd4 --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 /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=dedd311da20b005f -C extra-filename=-dedd311da20b005f --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/libc-dedd311da20b005f -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 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=8ece33850270d857 -C extra-filename=-8ece33850270d857 --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-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=73d102adf549f8c4 -C extra-filename=-73d102adf549f8c4 --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 memchr v2.7.4 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=556a539e6bf3db5e -C extra-filename=-556a539e6bf3db5e --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=fb0147c18b73a186 -C extra-filename=-fb0147c18b73a186 --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 syn v1.0.109 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=18cc3625b5a3f0d2 -C extra-filename=-18cc3625b5a3f0d2 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/syn-18cc3625b5a3f0d2 -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-dfe90c18b5ef57ee/build-script-build` Compiling libloading v0.8.3 Running `/usr/bin/rustc --crate-name libloading /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=bc54fa4df42da4f8 -C extra-filename=-bc54fa4df42da4f8 --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-799c932bc9e09a45.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=28f37b7b6b4adb6d -C extra-filename=-28f37b7b6b4adb6d --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-ade339fe45a6060c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg no_literal_byte_character --cfg no_literal_c_string --cfg wrap_proc_macro --cfg proc_macro_span` Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/build/rustix-a6669395862b4222/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=72768c58361cd606 -C extra-filename=-72768c58361cd606 --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-8ece33850270d857.rmeta --extern linux_raw_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblinux_raw_sys-eb77d737f2589bd4.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` 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=c4cc12c96e7e442e -C extra-filename=-c4cc12c96e7e442e --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-556a539e6bf3db5e.rmeta --extern minimal_lexical=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libminimal_lexical-fb0147c18b73a186.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-dedd311da20b005f/build-script-build` Running `/usr/bin/rustc --crate-name libc /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=50939d9f658a6217 -C extra-filename=-50939d9f658a6217 --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` Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/build/syn-18cc3625b5a3f0d2/build-script-build` 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=c4c6170574381248 -C extra-filename=-c4c6170574381248 --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 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=d498919b345d4dfe -C extra-filename=-d498919b345d4dfe --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-28f37b7b6b4adb6d.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=157e968008572778 -C extra-filename=-157e968008572778 --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 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=4112efe78f09fa91 -C extra-filename=-4112efe78f09fa91 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/bindgen-4112efe78f09fa91 -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=7b723bc825bc30a4 -C extra-filename=-7b723bc825bc30a4 --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/clang-sys-7b723bc825bc30a4 -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-353aac478ce85f14.rlib --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=b74380c543412662 -C extra-filename=-b74380c543412662 --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-73d102adf549f8c4.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/clang-sys-7b723bc825bc30a4/build-script-build` Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/build/bindgen-4112efe78f09fa91/build-script-build` 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=228eecfa9ad1d056 -C extra-filename=-228eecfa9ad1d056 --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-28f37b7b6b4adb6d.rmeta --extern quote=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libquote-d498919b345d4dfe.rmeta --extern unicode_ident=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libunicode_ident-ade339fe45a6060c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg syn_disable_nightly_tests` 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=d6efe007c0e50250 -C extra-filename=-d6efe007c0e50250 --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-353aac478ce85f14.rmeta --extern libc=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblibc-50939d9f658a6217.rmeta --extern libloading=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblibloading-bc54fa4df42da4f8.rmeta --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 /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=3e33e6c84a381e78 -C extra-filename=-3e33e6c84a381e78 --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 lazycell v1.3.0 Running `/usr/bin/rustc --crate-name lazycell /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=1b4016a5ce201e91 -C extra-filename=-1b4016a5ce201e91 --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 /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=915d01f3839f78a5 -C extra-filename=-915d01f3839f78a5 --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 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=796b49cd7eef8b04 -C extra-filename=-796b49cd7eef8b04 --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-157e968008572778.rmeta --extern home=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libhome-c4c6170574381248.rmeta --extern rustix=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/librustix-72768c58361cd606.rmeta --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=b4a7b99cf218844b -C extra-filename=-b4a7b99cf218844b --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-b74380c543412662.rmeta --extern regex_syntax=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libregex_syntax-73d102adf549f8c4.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=787b59bb65f108e0 -C extra-filename=-787b59bb65f108e0 --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-c4cc12c96e7e442e.rmeta --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 /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=b0eb8024eaf85b29 -C extra-filename=-b0eb8024eaf85b29 --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=796aaa613126746b -C extra-filename=-796aaa613126746b --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=6abe3a53ad73eb36 -C extra-filename=-6abe3a53ad73eb36 --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 /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=93092d9e1199822b -C extra-filename=-93092d9e1199822b --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 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=b92eb23f8881a650 -C extra-filename=-b92eb23f8881a650 --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 pkg-config v0.3.30 Running `/usr/bin/rustc --crate-name pkg_config /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=fff45a6d0e3e08dc -C extra-filename=-fff45a6d0e3e08dc --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 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=68a2d1c497b00c6b -C extra-filename=-68a2d1c497b00c6b --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 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=1530bcd08e1d0c6e -C extra-filename=-1530bcd08e1d0c6e --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=e08a97229bee2d65 -C extra-filename=-e08a97229bee2d65 --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-796aaa613126746b.rmeta --extern cexpr=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libcexpr-787b59bb65f108e0.rmeta --extern clang_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libclang_sys-d6efe007c0e50250.rmeta --extern lazy_static=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblazy_static-b0eb8024eaf85b29.rmeta --extern lazycell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblazycell-1b4016a5ce201e91.rmeta --extern log=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/liblog-6abe3a53ad73eb36.rmeta --extern peeking_take_while=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libpeeking_take_while-3e33e6c84a381e78.rmeta --extern proc_macro2=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libproc_macro2-28f37b7b6b4adb6d.rmeta --extern quote=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libquote-d498919b345d4dfe.rmeta --extern regex=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libregex-b4a7b99cf218844b.rmeta --extern rustc_hash=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/librustc_hash-93092d9e1199822b.rmeta --extern shlex=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libshlex-915d01f3839f78a5.rmeta --extern syn=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libsyn-228eecfa9ad1d056.rmeta --extern which=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libwhich-796b49cd7eef8b04.rmeta --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=af03e0cfcfe3a94d -C extra-filename=-af03e0cfcfe3a94d --out-dir /builddir/build/BUILD/onig-6.4.0/target/rpm/build/onig_sys-af03e0cfcfe3a94d -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-e08a97229bee2d65.rlib --extern cc=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libcc-b92eb23f8881a650.rlib --extern pkg_config=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libpkg_config-fff45a6d0e3e08dc.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-af03e0cfcfe3a94d/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=267d7d2c62907ebc -C extra-filename=-267d7d2c62907ebc --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=b6d3ac8ae4016aac -C extra-filename=-b6d3ac8ae4016aac --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-1530bcd08e1d0c6e.rmeta --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rmeta --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.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 [optimized + debuginfo] target(s) in 2m 26s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QobVdf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-onig-6.4.0-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-onig-6.4.0-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-onig-6.4.0-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-onig-6.4.0-1.ocs23.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.ocs23.aarch64/usr/share/cargo/registry/onig-6.4.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-onig-6.4.0-1.ocs23.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 + grep -w -E -v 'Cargo.(lock|toml.orig)' + /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 + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-onig-6.4.0-1.ocs23.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.ocs23.aarch64/usr/share/cargo/registry/onig-6.4.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-onig-6.4.0-1.ocs23.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.Bx3WgJ + 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 linux-raw-sys v0.4.12 Fresh memchr v2.7.4 Fresh cfg-if v1.0.0 Fresh proc-macro2 v1.0.85 Fresh minimal-lexical v0.2.1 Fresh bitflags v2.5.0 Fresh regex-syntax v0.8.4 Fresh libloading v0.8.3 Fresh regex-automata v0.4.7 Fresh nom v7.1.3 Fresh libc v0.2.155 Fresh rustix v0.38.34 Fresh quote v1.0.36 Fresh home v0.5.9 Fresh either v1.12.0 Fresh which v4.4.2 Fresh clang-sys v1.8.1 Fresh syn v1.0.109 Fresh regex v1.10.5 Fresh cexpr v0.6.0 Fresh rustc-hash v1.1.0 Fresh shlex v1.3.0 Fresh lazy_static v1.4.0 Fresh log v0.4.21 Fresh lazycell v1.3.0 Fresh peeking_take_while v0.1.2 Fresh cc v1.0.99 Fresh pkg-config v0.3.30 Fresh bitflags v1.3.2 Fresh once_cell v1.19.0 Fresh bindgen v0.63.0 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=4c5cac3db7de8d57 -C extra-filename=-4c5cac3db7de8d57 --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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.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=2b60079ea37b0ce3 -C extra-filename=-2b60079ea37b0ce3 --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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-b6d3ac8ae4016aac.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.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=4f64b635e2dd879f -C extra-filename=-4f64b635e2dd879f --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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-b6d3ac8ae4016aac.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.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=79a06ff096b7b086 -C extra-filename=-79a06ff096b7b086 --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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-b6d3ac8ae4016aac.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.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=5be0f1251aaf6928 -C extra-filename=-5be0f1251aaf6928 --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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-b6d3ac8ae4016aac.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.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=b3851e698c4e3f7a -C extra-filename=-b3851e698c4e3f7a --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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-b6d3ac8ae4016aac.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.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=5ed43242a793c36d -C extra-filename=-5ed43242a793c36d --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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-b6d3ac8ae4016aac.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` 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=f9ab4616d00c77d8 -C extra-filename=-f9ab4616d00c77d8 --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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-b6d3ac8ae4016aac.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.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 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=780a2184361e96fd -C extra-filename=-780a2184361e96fd --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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-b6d3ac8ae4016aac.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.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=b40f0c7959b24e9b -C extra-filename=-b40f0c7959b24e9b --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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-b6d3ac8ae4016aac.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.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=d7b88551988c6443 -C extra-filename=-d7b88551988c6443 --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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-b6d3ac8ae4016aac.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.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 [optimized + debuginfo] target(s) in 4.55s Running `/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/onig-4c5cac3db7de8d57` running 47 tests test buffers::tests::rust_bytes_encoding_is_ascii ... ok test buffers::tests::byte_buffer_create ... ok test buffers::tests::rust_string_encoding_is_utf8 ... ok test buffers::tests::rust_bytes_ptr_offsets_are_valid ... ok test find::tests::test_find_iter_empty_after_match ... ok test find::tests::test_captures_stores_match_offset ... ok test buffers::tests::rust_string_ptr_offsets_are_valid ... ok test find::tests::test_captures_iter ... ok test find::tests::test_find_iter ... ok test find::tests::test_find_iter_many_zero_length ... ok test find::tests::test_regex_subcapturespos ... ok test find::tests::test_find_iter_one_zero_length ... 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 names::tests::test_regex_names_len ... ok test region::tests::test_region_clear ... ok test region::tests::test_region_copy ... ok test region::tests::test_region_create ... ok test region::tests::test_region_empty_iterate ... ok test region::tests::test_region_iter_returns_iterator ... ok test region::tests::test_region_iterate_with_captures ... ok test region::tests::test_region_resize ... 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_captures_len ... ok test tests::test_regex_create ... ok test find::tests::test_regex_captures ... ok test find::tests::test_regex_subcaptures ... ok test match_param::test::create_default_match_param ... ok test match_param::test::set_max_stack_size_limit ... ok test region::tests::test_region_all_iteration_options ... ok test tests::test_regex_find ... ok test tests::test_regex_invalid ... ok test tests::test_regex_is_match ... ok test tests::test_search_with_invalid_range_panic ... ok test tree::tests::test_regex_search_with_region_tree ... ok test utils::tests::utils_get_copyright_is_not_emtpy ... ok test tests::test_regex_match_with_options ... ok test tests::test_regex_search_with_options ... ok test tests::test_search_with_invalid_range ... ok test tests::test_regex_panic_find ... 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 result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s 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-1530bcd08e1d0c6e.rlib --extern once_cell=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonce_cell-68a2d1c497b00c6b.rlib --extern onig=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig-b6d3ac8ae4016aac.rlib --extern onig_sys=/builddir/build/BUILD/onig-6.4.0/target/rpm/deps/libonig_sys-267d7d2c62907ebc.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="generate"' --error-format human` running 18 tests test src/lib.rs - Regex::match_with_options (line 388) ... ok test src/lib.rs - (line 6) ... ok test src/find.rs - find::Regex::captures_iter (line 65) ... ok test src/find.rs - find::Regex::find_iter (line 32) ... ok test src/lib.rs - (line 30) ... ok test src/find.rs - find::Regex::splitn (line 129) ... 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::search_with_options (line 574) ... 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::with_options (line 280) ... ok test src/lib.rs - Regex::search_with_encoding (line 623) ... 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 1.34s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-onig-devel-6.4.0-1.ocs23.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.ocs23 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.ocs23.noarch Provides: crate(onig/default) = 6.4.0 rust-onig+default-devel = 6.4.0-1.ocs23 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.ocs23.noarch Provides: crate(onig/generate) = 6.4.0 rust-onig+generate-devel = 6.4.0-1.ocs23 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.ocs23.noarch Provides: crate(onig/posix-api) = 6.4.0 rust-onig+posix-api-devel = 6.4.0-1.ocs23 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.ocs23.noarch Provides: crate(onig/print-debug) = 6.4.0 rust-onig+print-debug-devel = 6.4.0-1.ocs23 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.ocs23.noarch Provides: crate(onig/std-pattern) = 6.4.0 rust-onig+std-pattern-devel = 6.4.0-1.ocs23 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.ocs23.aarch64 Wrote: /builddir/build/SRPMS/rust-onig-6.4.0-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/rust-onig+generate-devel-6.4.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-onig+default-devel-6.4.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-onig+print-debug-devel-6.4.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-onig+posix-api-devel-6.4.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-onig+std-pattern-devel-6.4.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-onig-devel-6.4.0-1.ocs23.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