Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-device_tree.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1679520833.468769/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i89706zo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i89706zo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cace4e17baaf4284b59bf35c5484b06f', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1679520833.468769/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i89706zo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-device_tree.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1679443200 Wrote: /builddir/build/SRPMS/rust-device_tree-1.1.0-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-device_tree.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1679520833.468769/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i89706zo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i89706zo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '87eea1f90cb248549c602679ef4ccf57', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1679520833.468769/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i89706zo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-device_tree.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1679443200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JpkNGj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf device_tree-1.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/device_tree-1.1.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd device_tree-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + 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.pP866A + umask 022 + cd /builddir/build/BUILD + cd device_tree-1.1.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-device_tree-1.1.0-1.fc39.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 --target x86_64 --nodeps /builddir/build/SPECS/rust-device_tree.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1679520833.468769/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i89706zo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i89706zo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c25d8fa78e62452a9da02a22631e24ea', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1679520833.468769/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i89706zo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/rust-device_tree.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1679443200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.q9zzrD + umask 022 + cd /builddir/build/BUILD + cd device_tree-1.1.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.LWkPkl + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd device_tree-1.1.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j2 -Z avoid-dev-deps --release Compiling device_tree v1.1.0 (/builddir/build/BUILD/device_tree-1.1.0) Running `/usr/bin/rustc --crate-name device_tree 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 metadata=5f84a636fc612f51 -C extra-filename=-5f84a636fc612f51 --out-dir /builddir/build/BUILD/device_tree-1.1.0/target/release/deps -L dependency=/builddir/build/BUILD/device_tree-1.1.0/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:143:12 | 143 | if try!(buffer.read_be_u32(0)) != MAGIC_NUMBER { | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:148:12 | 148 | if try!(buffer.read_be_u32(4)) as usize != buffer.len() { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:153:23 | 153 | let version = try!(buffer.read_be_u32(20)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:158:29 | 158 | let off_dt_struct = try!(buffer.read_be_u32(8)) as usize; | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:159:30 | 159 | let off_dt_strings = try!(buffer.read_be_u32(12)) as usize; | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:160:30 | 160 | let off_mem_rsvmap = try!(buffer.read_be_u32(16)) as usize; | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:161:31 | 161 | let boot_cpuid_phys = try!(buffer.read_be_u32(28)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:168:26 | 168 | let offset = try!(buffer.read_be_u64(pos)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:170:24 | 170 | let size = try!(buffer.read_be_u64(pos)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:180:25 | 180 | let (_, root) = try!(Node::load(buffer, off_dt_struct, off_dt_strings)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:205:12 | 205 | if try!(buffer.read_be_u32(start)) != OF_DT_BEGIN_NODE { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:209:24 | 209 | let raw_name = try!(buffer.read_bstring0(start+4)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:216:15 | 216 | while try!(buffer.read_be_u32(pos)) == OF_DT_PROP { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:217:28 | 217 | let val_size = try!(buffer.read_be_u32(pos+4)) as usize; | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:218:31 | 218 | let name_offset = try!(buffer.read_be_u32(pos+8)) as usize; | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:223:23 | 223 | let val = try!(buffer.subslice(val_start, val_end)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:226:29 | 226 | let prop_name = try!( | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:231:17 | 231 | try!(str::from_utf8(prop_name)).to_owned(), | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:241:15 | 241 | while try!(buffer.read_be_u32(pos)) == OF_DT_BEGIN_NODE { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:242:41 | 242 | let (new_pos, child_node) = try!(Node::load(buffer, pos, | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:249:12 | 249 | if try!(buffer.read_be_u32(pos)) != OF_DT_END_NODE { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:256:19 | 256 | name: try!(str::from_utf8(raw_name)).to_owned(), | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:298:19 | 298 | let raw = try!(self.prop_raw(name).ok_or(PropError::NotFound)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:305:12 | 305 | Ok(try!(str::from_utf8(&raw[..(l-1)]))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:318:19 | 318 | let raw = try!(self.prop_raw(name).ok_or(PropError::NotFound)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:320:12 | 320 | Ok(try!(raw.as_slice().read_be_u64(0))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:324:19 | 324 | let raw = try!(self.prop_raw(name).ok_or(PropError::NotFound)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:326:12 | 326 | Ok(try!(raw.as_slice().read_be_u32(0))) | ^^^ warning: `device_tree` (lib) generated 28 warnings Finished release [optimized] target(s) in 0.45s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5PT9Tf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-device_tree-1.1.0-1.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-device_tree-1.1.0-1.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-device_tree-1.1.0-1.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-device_tree-1.1.0-1.fc39.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd device_tree-1.1.0 + set -eu ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=device_tree ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.1.0 + REG_DIR=/builddir/build/BUILDROOT/rust-device_tree-1.1.0-1.fc39.x86_64/usr/share/cargo/registry/device_tree-1.1.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-device_tree-1.1.0-1.fc39.x86_64/usr/share/cargo/registry/device_tree-1.1.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 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-device_tree-1.1.0-1.fc39.x86_64/usr/share/cargo/registry/device_tree-1.1.0 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: No (git) VCS found for `/builddir/build/BUILD/device_tree-1.1.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-device_tree-1.1.0-1.fc39.x86_64/usr/share/cargo/registry/device_tree-1.1.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-device_tree-1.1.0-1.fc39.x86_64/usr/share/cargo/registry/device_tree-1.1.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/redhat/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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/cargo/registry/device_tree-1.1.0/update-docs.sh from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TbW6Py + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd device_tree-1.1.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j2 -Z avoid-dev-deps --release --no-fail-fast warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:143:12 | 143 | if try!(buffer.read_be_u32(0)) != MAGIC_NUMBER { | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:148:12 | 148 | if try!(buffer.read_be_u32(4)) as usize != buffer.len() { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:153:23 | 153 | let version = try!(buffer.read_be_u32(20)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:158:29 | 158 | let off_dt_struct = try!(buffer.read_be_u32(8)) as usize; | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:159:30 | 159 | let off_dt_strings = try!(buffer.read_be_u32(12)) as usize; | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:160:30 | 160 | let off_mem_rsvmap = try!(buffer.read_be_u32(16)) as usize; | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:161:31 | 161 | let boot_cpuid_phys = try!(buffer.read_be_u32(28)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:168:26 | 168 | let offset = try!(buffer.read_be_u64(pos)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:170:24 | 170 | let size = try!(buffer.read_be_u64(pos)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:180:25 | 180 | let (_, root) = try!(Node::load(buffer, off_dt_struct, off_dt_strings)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:205:12 | 205 | if try!(buffer.read_be_u32(start)) != OF_DT_BEGIN_NODE { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:209:24 | 209 | let raw_name = try!(buffer.read_bstring0(start+4)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:216:15 | 216 | while try!(buffer.read_be_u32(pos)) == OF_DT_PROP { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:217:28 | 217 | let val_size = try!(buffer.read_be_u32(pos+4)) as usize; | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:218:31 | 218 | let name_offset = try!(buffer.read_be_u32(pos+8)) as usize; | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:223:23 | 223 | let val = try!(buffer.subslice(val_start, val_end)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:226:29 | 226 | let prop_name = try!( | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:231:17 | 231 | try!(str::from_utf8(prop_name)).to_owned(), | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:241:15 | 241 | while try!(buffer.read_be_u32(pos)) == OF_DT_BEGIN_NODE { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:242:41 | 242 | let (new_pos, child_node) = try!(Node::load(buffer, pos, | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:249:12 | 249 | if try!(buffer.read_be_u32(pos)) != OF_DT_END_NODE { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:256:19 | 256 | name: try!(str::from_utf8(raw_name)).to_owned(), | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:298:19 | 298 | let raw = try!(self.prop_raw(name).ok_or(PropError::NotFound)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:305:12 | 305 | Ok(try!(str::from_utf8(&raw[..(l-1)]))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:318:19 | 318 | let raw = try!(self.prop_raw(name).ok_or(PropError::NotFound)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:320:12 | 320 | Ok(try!(raw.as_slice().read_be_u64(0))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:324:19 | 324 | let raw = try!(self.prop_raw(name).ok_or(PropError::NotFound)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:326:12 | 326 | Ok(try!(raw.as_slice().read_be_u32(0))) | ^^^ warning: `device_tree` (lib) generated 28 warnings Compiling device_tree v1.1.0 (/builddir/build/BUILD/device_tree-1.1.0) Running `/usr/bin/rustc --crate-name device_tree 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 --test -C metadata=58f25a5e375f28ae -C extra-filename=-58f25a5e375f28ae --out-dir /builddir/build/BUILD/device_tree-1.1.0/target/release/deps -L dependency=/builddir/build/BUILD/device_tree-1.1.0/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: `device_tree` (lib test) generated 28 warnings (28 duplicates) Finished release [optimized] target(s) in 0.16s Running `/builddir/build/BUILD/device_tree-1.1.0/target/release/deps/device_tree-58f25a5e375f28ae` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests device_tree Running `/usr/bin/rustdoc --crate-type lib --crate-name device_tree --test /builddir/build/BUILD/device_tree-1.1.0/src/lib.rs -L dependency=/builddir/build/BUILD/device_tree-1.1.0/target/release/deps -L dependency=/builddir/build/BUILD/device_tree-1.1.0/target/release/deps --extern device_tree=/builddir/build/BUILD/device_tree-1.1.0/target/release/deps/libdevice_tree-5f84a636fc612f51.rlib -C embed-bitcode=no --error-format human` running 1 test test src/lib.rs - (line 21) ... ignored test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-device_tree-devel-1.1.0-1.fc39.noarch Provides: crate(device_tree) = 1.1.0 rust-device_tree-devel = 1.1.0-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh cargo Processing files: rust-device_tree+default-devel-1.1.0-1.fc39.noarch Provides: crate(device_tree/default) = 1.1.0 rust-device_tree+default-devel = 1.1.0-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(device_tree) = 1.1.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-device_tree-1.1.0-1.fc39.x86_64 Wrote: /builddir/build/SRPMS/rust-device_tree-1.1.0-1.fc39.src.rpm Wrote: /builddir/build/RPMS/rust-device_tree+default-devel-1.1.0-1.fc39.noarch.rpm Wrote: /builddir/build/RPMS/rust-device_tree-devel-1.1.0-1.fc39.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2I1LMV + umask 022 + cd /builddir/build/BUILD + cd device_tree-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-device_tree-1.1.0-1.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.2Rs0hw + umask 022 + cd /builddir/build/BUILD + rm -rf device_tree-1.1.0 device_tree-1.1.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0