Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rust-syntex_pos.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1655809460.005606/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.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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', '577faed625544e689dcf3368d840672b', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1655809460.005606/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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 aarch64 --nodeps /builddir/build/SPECS/rust-syntex_pos.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-syntex_pos-0.58.1-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target aarch64 --nodeps /builddir/build/SPECS/rust-syntex_pos.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1655809460.005606/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.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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', '277ccad8e6924f2095caf4e18530278d', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1655809460.005606/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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 aarch64 --nodeps /builddir/build/SPECS/rust-syntex_pos.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jox5Al + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf syntex_pos-0.58.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/syntex_pos-0.58.1.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd syntex_pos-0.58.1 + /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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.okah7u + umask 022 + cd /builddir/build/BUILD + cd syntex_pos-0.58.1 + /usr/bin/cargo-inspector -BR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-syntex_pos-0.58.1-1.el9.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 --target aarch64 --nodeps /builddir/build/SPECS/rust-syntex_pos.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1655809460.005606/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.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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', '059b02b0b0844359b49f4075e408cb5c', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1655809460.005606/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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 aarch64 --nodeps /builddir/build/SPECS/rust-syntex_pos.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Nb1nUS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf syntex_pos-0.58.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/syntex_pos-0.58.1.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd syntex_pos-0.58.1 + /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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.I3jcAi + umask 022 + cd /builddir/build/BUILD + cd syntex_pos-0.58.1 + /usr/bin/cargo-inspector -BR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-syntex_pos-0.58.1-1.el9.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 aarch64 --nodeps /builddir/build/SPECS/rust-syntex_pos.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1655809460.005606/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.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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', '9824cefdbf0e4793907063fcb0048f84', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1655809460.005606/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bvwlnxq:/etc/resolv.conf', '--bind=/dev/btrfs-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 aarch64 --nodeps /builddir/build/SPECS/rust-syntex_pos.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: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.XX6n1T + umask 022 + cd /builddir/build/BUILD + cd syntex_pos-0.58.1 + /usr/bin/cargo-inspector -BR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UFZ9qa + umask 022 + cd /builddir/build/BUILD + cd syntex_pos-0.58.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo build -j4 -Z avoid-dev-deps --release Compiling rustc-serialize v0.3.24 Running `/usr/bin/rustc --crate-name rustc_serialize /usr/share/cargo/registry/rustc-serialize-0.3.24/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=428adfde7a933df0 -C extra-filename=-428adfde7a933df0 --out-dir /builddir/build/BUILD/syntex_pos-0.58.1/target/release/deps -L dependency=/builddir/build/BUILD/syntex_pos-0.58.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling syntex_pos v0.58.1 (/builddir/build/BUILD/syntex_pos-0.58.1) Running `/usr/bin/rustc --crate-name syntex_pos src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=55fb57d94dbeae7f -C extra-filename=-55fb57d94dbeae7f --out-dir /builddir/build/BUILD/syntex_pos-0.58.1/target/release/deps -L dependency=/builddir/build/BUILD/syntex_pos-0.58.1/target/release/deps --extern rustc_serialize=/builddir/build/BUILD/syntex_pos-0.58.1/target/release/deps/librustc_serialize-428adfde7a933df0.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported --> src/lib.rs:248:45 | 248 | #[derive(PartialEq, Eq, Clone, Debug, Hash, RustcEncodable, RustcDecodable, Copy, Ord, PartialOrd)] | ^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:22:9 | 22 | #![deny(warnings)] | ^^^^^^^^ = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]` warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported --> src/lib.rs:248:61 | 248 | #[derive(PartialEq, Eq, Clone, Debug, Hash, RustcEncodable, RustcDecodable, Copy, Ord, PartialOrd)] | ^^^^^^^^^^^^^^ warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported --> src/lib.rs:270:23 | 270 | #[derive(Copy, Clone, RustcEncodable, RustcDecodable, Eq, PartialEq)] | ^^^^^^^^^^^^^^ warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported --> src/lib.rs:270:39 | 270 | #[derive(Copy, Clone, RustcEncodable, RustcDecodable, Eq, PartialEq)] | ^^^^^^^^^^^^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:117:13 | 117 | try!(s.emit_struct_field("lo", 0, |s| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:131:22 | 131 | let lo = try!(d.read_struct_field("lo", 0, Decodable::decode)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:132:22 | 132 | let hi = try!(d.read_struct_field("hi", 1, Decodable::decode)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:301:13 | 301 | try!(s.emit_struct_field("name", 0, |s| self.name.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:302:13 | 302 | try!(s.emit_struct_field("abs_path", 1, |s| self.abs_path.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:303:13 | 303 | try!(s.emit_struct_field("start_pos", 2, |s| self.start_pos.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:304:13 | 304 | try!(s.emit_struct_field("end_pos", 3, |s| self.end_pos.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:305:13 | 305 | try!(s.emit_struct_field("lines", 4, |s| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:308:17 | 308 | try!(s.emit_u32(lines.len() as u32)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:333:21 | 333 | try!(bytes_per_diff.encode(s)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:336:21 | 336 | try!(lines[0].encode(s)); | ^^^ warning: `...` range patterns are deprecated --> src/lib.rs:327:27 | 327 | 0 ... 0xFF => 1, | ^^^ help: use `..=` for an inclusive range | note: the lint level is defined here --> src/lib.rs:22:9 | 22 | #![deny(warnings)] | ^^^^^^^^ = note: `#[warn(ellipsis_inclusive_range_patterns)]` implied by `#[warn(warnings)]` = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:328:31 | 328 | 0x100 ... 0xFFFF => 2, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:342:54 | 342 | 1 => for diff in diff_iter { try!((diff.0 as u8).encode(s)) }, | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:343:54 | 343 | 2 => for diff in diff_iter { try!((diff.0 as u16).encode(s)) }, | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:344:54 | 344 | 4 => for diff in diff_iter { try!(diff.0.encode(s)) }, | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:362:32 | 362 | let name: String = try!(d.read_struct_field("name", 0, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:364:17 | 364 | try!(d.read_struct_field("abs_path", 1, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:365:38 | 365 | let start_pos: BytePos = try!(d.read_struct_field("start_pos", 2, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:366:36 | 366 | let end_pos: BytePos = try!(d.read_struct_field("end_pos", 3, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:367:39 | 367 | let lines: Vec = try!(d.read_struct_field("lines", 4, |d| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:368:38 | 368 | let num_lines: u32 = try!(Decodable::decode(d)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:373:46 | 373 | let bytes_per_diff: u8 = try!(Decodable::decode(d)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:376:51 | 376 | let mut line_start: BytePos = try!(Decodable::decode(d)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:34 | 381 | ... 1 => try!(d.read_u8()) as u32, | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:382:34 | 382 | ... 2 => try!(d.read_u16()) as u32, | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:383:34 | 383 | ... 4 => try!(d.read_u32()), | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:396:17 | 396 | try!(d.read_struct_field("multibyte_chars", 5, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:568:20 | 568 | Ok(BytePos(try!(d.read_u32()))) | ^^^ warning: unused attribute --> src/lib.rs:18:1 | 18 | #![crate_type = "rlib"] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | note: the lint level is defined here --> src/lib.rs:22:9 | 22 | #![deny(warnings)] | ^^^^^^^^ = note: `#[warn(unused_attributes)]` implied by `#[warn(warnings)]` note: attribute also specified here --> src/lib.rs:17:1 | 17 | #![crate_type = "dylib"] | ^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! warning: `syntex_pos` (lib) generated 34 warnings Finished release [optimized] target(s) in 12.88s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PvH0Dw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-syntex_pos-0.58.1-1.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-syntex_pos-0.58.1-1.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-syntex_pos-0.58.1-1.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-syntex_pos-0.58.1-1.el9.aarch64 + cd syntex_pos-0.58.1 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib rlib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=syntex_pos ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.58.1 + REG_DIR=/builddir/build/BUILDROOT/rust-syntex_pos-0.58.1-1.el9.aarch64/usr/share/cargo/registry/syntex_pos-0.58.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-syntex_pos-0.58.1-1.el9.aarch64/usr/share/cargo/registry/syntex_pos-0.58.1 + 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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-syntex_pos-0.58.1-1.el9.aarch64/usr/share/cargo/registry/syntex_pos-0.58.1 warning: No (git) VCS found for `/builddir/build/BUILD/syntex_pos-0.58.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-syntex_pos-0.58.1-1.el9.aarch64/usr/share/cargo/registry/syntex_pos-0.58.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-syntex_pos-0.58.1-1.el9.aarch64/usr/share/cargo/registry/syntex_pos-0.58.1/Cargo.toml.deps + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F -x bin + /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rust-syntex_pos-devel-0.58.1-1.el9.noarch warning: File listed twice: /usr/share/cargo/registry/syntex_pos-0.58.1/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/syntex_pos-0.58.1/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/syntex_pos-0.58.1/README.md Provides: crate(syntex_pos) = 0.58.1 rust-syntex_pos-devel = 0.58.1-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(rustc-serialize/default) >= 0.3.16 with crate(rustc-serialize/default) < 0.4.0~) cargo Processing files: rust-syntex_pos+default-devel-0.58.1-1.el9.noarch Provides: crate(syntex_pos/default) = 0.58.1 rust-syntex_pos+default-devel = 0.58.1-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(syntex_pos) = 0.58.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-syntex_pos-0.58.1-1.el9.aarch64 Wrote: /builddir/build/SRPMS/rust-syntex_pos-0.58.1-1.el9.src.rpm Wrote: /builddir/build/RPMS/rust-syntex_pos+default-devel-0.58.1-1.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-syntex_pos-devel-0.58.1-1.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5IxiFx + umask 022 + cd /builddir/build/BUILD + cd syntex_pos-0.58.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-syntex_pos-0.58.1-1.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0