[INFO] crate pe 0.1.1 is already in cache [INFO] testing pe-0.1.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate pe 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate pe 0.1.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pe 0.1.1 [INFO] finished tweaking crates.io crate pe 0.1.1 [INFO] tweaked toml for crates.io crate pe 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f12653072d5f1d6620c7a0d714e9dd5f6c9dfd6516fda9a2a9a44bb5fdf8e6b7 [INFO] running `Command { std: "docker" "start" "-a" "f12653072d5f1d6620c7a0d714e9dd5f6c9dfd6516fda9a2a9a44bb5fdf8e6b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f12653072d5f1d6620c7a0d714e9dd5f6c9dfd6516fda9a2a9a44bb5fdf8e6b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f12653072d5f1d6620c7a0d714e9dd5f6c9dfd6516fda9a2a9a44bb5fdf8e6b7", kill_on_drop: false }` [INFO] [stdout] f12653072d5f1d6620c7a0d714e9dd5f6c9dfd6516fda9a2a9a44bb5fdf8e6b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88a346b7aafe12c5b5032f60c2c63576b069db234088362537fe1322cbeebc29 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "88a346b7aafe12c5b5032f60c2c63576b069db234088362537fe1322cbeebc29", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling pe v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / bitflags! { [INFO] [stdout] 87 | | #[repr(packed)] [INFO] [stdout] 88 | | flags Characteristics: u16 { [INFO] [stdout] 89 | | const RELOCS_STRIPPED = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / bitflags! { [INFO] [stdout] 87 | | #[repr(packed)] [INFO] [stdout] 88 | | flags Characteristics: u16 { [INFO] [stdout] 89 | | const RELOCS_STRIPPED = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / bitflags! { [INFO] [stdout] 111 | | #[repr(packed)] [INFO] [stdout] 112 | | flags Characteristics: u16 { [INFO] [stdout] 113 | | const RESERVED1 = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / bitflags! { [INFO] [stdout] 111 | | #[repr(packed)] [INFO] [stdout] 112 | | flags Characteristics: u16 { [INFO] [stdout] 113 | | const RESERVED1 = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / bitflags! { [INFO] [stdout] 135 | | #[repr(packed)] [INFO] [stdout] 136 | | flags Characteristics: u32 { [INFO] [stdout] 137 | | const RESERVED2 = 0x00000001, [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / bitflags! { [INFO] [stdout] 135 | | #[repr(packed)] [INFO] [stdout] 136 | | flags Characteristics: u32 { [INFO] [stdout] 137 | | const RESERVED2 = 0x00000001, [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:104:6 [INFO] [stdout] | [INFO] [stdout] 104 | Ok(try!(self.resolve_rva_raw(rva+0u32,length,None)).offset(0)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 109 | Ok(try!(self.resolve_rva_raw(rva+0u32,length,None)).offset(0)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | let sig=*try!(data.ref_at(FP::::new(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | try!(data.ref_at(FP::::new(0))).new [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let pe_header=try!(data.ref_at(pe_header_fp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let sig: u16=*try!(data.ref_at(pe_oh_fp.offset(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | PeOptionalHeader::Pe32(try!(data.ref_at(pe_oh_fp.offset(0)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | PeOptionalHeader::Pe32Plus(try!(data.ref_at(pe_oh_fp.offset(0)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let pe_dd=try!(data.ref_slice_at(pe_dd_fp,n)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | let pe_sec=try!(data.ref_slice_at(pe_sec_fp,pe_header.number_of_sections as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | let fp=try!(self.resolve_rva(rva)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | let fp=try!(self.resolve_rva_slice(rva,count)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | let fp=try!(self.resolve_rva_raw(rva+0u32,0,Some(&mut max_len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:212:50 [INFO] [stdout] | [INFO] [stdout] 212 | let ddir: &DataDirectory>=try!(self.get_directory(DirectoryEntry::ExportTable)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | Ok(Exports{pe:self,ddir:ddir,edir:try!(self.ref_at(ddir.virtual_address))}) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:220:50 [INFO] [stdout] | [INFO] [stdout] 220 | let ddir: &DataDirectory>=try!(self.get_directory(DirectoryEntry::BaseRelocationTable)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | let pos=try!(try!(self.get_names()).iter().position(|&name_rva|{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | let pos=try!(try!(self.get_names()).iter().position(|&name_rva|{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | let ordinal_offset=try!(self.get_ordinal_offsets())[pos]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | let export=try!(try!(self.get_export_addresses()).get(ordinal_offset as usize).ok_or(Error::ExportNotFound)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | let export=try!(try!(self.get_export_addresses()).get(ordinal_offset as usize).ok_or(Error::ExportNotFound)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | let rblock=try!(self.pe.ref_at(self.next_rblock)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | let relocs: &[Relocation]=try!(self.pe.ref_slice_at(self.next_rblock.offset(size_of::() as u32),rblock.block_size/2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:224:37 [INFO] [stdout] | [INFO] [stdout] 224 | pub address_of_entry_point: RVA, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | pub address_of_entry_point: RVA, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | Export(&'data RVA), [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | &PeOptionalHeader::Pe32Plus(h) => &h.number_of_rva_and_sizes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | &PeOptionalHeader::Pe32(h) => &h.number_of_rva_and_sizes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | &PeOptionalHeader::Pe32Plus(h) => &h.size_of_headers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | &PeOptionalHeader::Pe32(h) => &h.size_of_headers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | &PeOptionalHeader::Pe32Plus(h) => &h.check_sum, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | &PeOptionalHeader::Pe32(h) => &h.check_sum, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | builder.field(&self.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | builder.field(&self.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "88a346b7aafe12c5b5032f60c2c63576b069db234088362537fe1322cbeebc29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a346b7aafe12c5b5032f60c2c63576b069db234088362537fe1322cbeebc29", kill_on_drop: false }` [INFO] [stdout] 88a346b7aafe12c5b5032f60c2c63576b069db234088362537fe1322cbeebc29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af756eb0c85b7d11a39ffe2d16ce2e42f6cce161f0c3390f3018803083a565e0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "af756eb0c85b7d11a39ffe2d16ce2e42f6cce161f0c3390f3018803083a565e0", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / bitflags! { [INFO] [stdout] 87 | | #[repr(packed)] [INFO] [stdout] 88 | | flags Characteristics: u16 { [INFO] [stdout] 89 | | const RELOCS_STRIPPED = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / bitflags! { [INFO] [stdout] 87 | | #[repr(packed)] [INFO] [stdout] 88 | | flags Characteristics: u16 { [INFO] [stdout] 89 | | const RELOCS_STRIPPED = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / bitflags! { [INFO] [stdout] 111 | | #[repr(packed)] [INFO] [stdout] 112 | | flags Characteristics: u16 { [INFO] [stdout] 113 | | const RESERVED1 = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / bitflags! { [INFO] [stdout] 111 | | #[repr(packed)] [INFO] [stdout] 112 | | flags Characteristics: u16 { [INFO] [stdout] 113 | | const RESERVED1 = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / bitflags! { [INFO] [stdout] 135 | | #[repr(packed)] [INFO] [stdout] 136 | | flags Characteristics: u32 { [INFO] [stdout] 137 | | const RESERVED2 = 0x00000001, [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / bitflags! { [INFO] [stdout] 135 | | #[repr(packed)] [INFO] [stdout] 136 | | flags Characteristics: u32 { [INFO] [stdout] 137 | | const RESERVED2 = 0x00000001, [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:104:6 [INFO] [stdout] | [INFO] [stdout] 104 | Ok(try!(self.resolve_rva_raw(rva+0u32,length,None)).offset(0)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 109 | Ok(try!(self.resolve_rva_raw(rva+0u32,length,None)).offset(0)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | let sig=*try!(data.ref_at(FP::::new(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | try!(data.ref_at(FP::::new(0))).new [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let pe_header=try!(data.ref_at(pe_header_fp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let sig: u16=*try!(data.ref_at(pe_oh_fp.offset(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | PeOptionalHeader::Pe32(try!(data.ref_at(pe_oh_fp.offset(0)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | PeOptionalHeader::Pe32Plus(try!(data.ref_at(pe_oh_fp.offset(0)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let pe_dd=try!(data.ref_slice_at(pe_dd_fp,n)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | let pe_sec=try!(data.ref_slice_at(pe_sec_fp,pe_header.number_of_sections as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | let fp=try!(self.resolve_rva(rva)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | let fp=try!(self.resolve_rva_slice(rva,count)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | let fp=try!(self.resolve_rva_raw(rva+0u32,0,Some(&mut max_len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:212:50 [INFO] [stdout] | [INFO] [stdout] 212 | let ddir: &DataDirectory>=try!(self.get_directory(DirectoryEntry::ExportTable)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | Ok(Exports{pe:self,ddir:ddir,edir:try!(self.ref_at(ddir.virtual_address))}) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:220:50 [INFO] [stdout] | [INFO] [stdout] 220 | let ddir: &DataDirectory>=try!(self.get_directory(DirectoryEntry::BaseRelocationTable)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | let pos=try!(try!(self.get_names()).iter().position(|&name_rva|{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | let pos=try!(try!(self.get_names()).iter().position(|&name_rva|{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | let ordinal_offset=try!(self.get_ordinal_offsets())[pos]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | let export=try!(try!(self.get_export_addresses()).get(ordinal_offset as usize).ok_or(Error::ExportNotFound)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | let export=try!(try!(self.get_export_addresses()).get(ordinal_offset as usize).ok_or(Error::ExportNotFound)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | let rblock=try!(self.pe.ref_at(self.next_rblock)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | let relocs: &[Relocation]=try!(self.pe.ref_slice_at(self.next_rblock.offset(size_of::() as u32),rblock.block_size/2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:224:37 [INFO] [stdout] | [INFO] [stdout] 224 | pub address_of_entry_point: RVA, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | pub address_of_entry_point: RVA, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | Export(&'data RVA), [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | &PeOptionalHeader::Pe32Plus(h) => &h.number_of_rva_and_sizes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | &PeOptionalHeader::Pe32(h) => &h.number_of_rva_and_sizes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | &PeOptionalHeader::Pe32Plus(h) => &h.size_of_headers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | &PeOptionalHeader::Pe32(h) => &h.size_of_headers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | &PeOptionalHeader::Pe32Plus(h) => &h.check_sum, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | &PeOptionalHeader::Pe32(h) => &h.check_sum, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | builder.field(&self.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | builder.field(&self.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pe v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / bitflags! { [INFO] [stdout] 87 | | #[repr(packed)] [INFO] [stdout] 88 | | flags Characteristics: u16 { [INFO] [stdout] 89 | | const RELOCS_STRIPPED = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / bitflags! { [INFO] [stdout] 87 | | #[repr(packed)] [INFO] [stdout] 88 | | flags Characteristics: u16 { [INFO] [stdout] 89 | | const RELOCS_STRIPPED = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / bitflags! { [INFO] [stdout] 111 | | #[repr(packed)] [INFO] [stdout] 112 | | flags Characteristics: u16 { [INFO] [stdout] 113 | | const RESERVED1 = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / bitflags! { [INFO] [stdout] 111 | | #[repr(packed)] [INFO] [stdout] 112 | | flags Characteristics: u16 { [INFO] [stdout] 113 | | const RESERVED1 = 0x0001, [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / bitflags! { [INFO] [stdout] 135 | | #[repr(packed)] [INFO] [stdout] 136 | | flags Characteristics: u32 { [INFO] [stdout] 137 | | const RESERVED2 = 0x00000001, [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/types.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / bitflags! { [INFO] [stdout] 135 | | #[repr(packed)] [INFO] [stdout] 136 | | flags Characteristics: u32 { [INFO] [stdout] 137 | | const RESERVED2 = 0x00000001, [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:104:6 [INFO] [stdout] | [INFO] [stdout] 104 | Ok(try!(self.resolve_rva_raw(rva+0u32,length,None)).offset(0)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 109 | Ok(try!(self.resolve_rva_raw(rva+0u32,length,None)).offset(0)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | let sig=*try!(data.ref_at(FP::::new(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | try!(data.ref_at(FP::::new(0))).new [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let pe_header=try!(data.ref_at(pe_header_fp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let sig: u16=*try!(data.ref_at(pe_oh_fp.offset(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | PeOptionalHeader::Pe32(try!(data.ref_at(pe_oh_fp.offset(0)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | PeOptionalHeader::Pe32Plus(try!(data.ref_at(pe_oh_fp.offset(0)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let pe_dd=try!(data.ref_slice_at(pe_dd_fp,n)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | let pe_sec=try!(data.ref_slice_at(pe_sec_fp,pe_header.number_of_sections as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | let fp=try!(self.resolve_rva(rva)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | let fp=try!(self.resolve_rva_slice(rva,count)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | let fp=try!(self.resolve_rva_raw(rva+0u32,0,Some(&mut max_len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:212:50 [INFO] [stdout] | [INFO] [stdout] 212 | let ddir: &DataDirectory>=try!(self.get_directory(DirectoryEntry::ExportTable)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | Ok(Exports{pe:self,ddir:ddir,edir:try!(self.ref_at(ddir.virtual_address))}) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:220:50 [INFO] [stdout] | [INFO] [stdout] 220 | let ddir: &DataDirectory>=try!(self.get_directory(DirectoryEntry::BaseRelocationTable)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | let pos=try!(try!(self.get_names()).iter().position(|&name_rva|{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | let pos=try!(try!(self.get_names()).iter().position(|&name_rva|{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | let ordinal_offset=try!(self.get_ordinal_offsets())[pos]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | let export=try!(try!(self.get_export_addresses()).get(ordinal_offset as usize).ok_or(Error::ExportNotFound)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | let export=try!(try!(self.get_export_addresses()).get(ordinal_offset as usize).ok_or(Error::ExportNotFound)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | let rblock=try!(self.pe.ref_at(self.next_rblock)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | let relocs: &[Relocation]=try!(self.pe.ref_slice_at(self.next_rblock.offset(size_of::() as u32),rblock.block_size/2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:224:37 [INFO] [stdout] | [INFO] [stdout] 224 | pub address_of_entry_point: RVA, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | pub address_of_entry_point: RVA, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | Export(&'data RVA), [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/tests.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stdout] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stdout] 22 | | let mut buf=vec![]; [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/tests.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stdout] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stdout] 22 | | let mut buf=vec![]; [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/tests.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stdout] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stdout] 22 | | let mut buf=vec![]; [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/tests.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stdout] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stdout] 22 | | let mut buf=vec![]; [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/tests.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stdout] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stdout] 22 | | let mut buf=vec![]; [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/tests.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stdout] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stdout] 22 | | let mut buf=vec![]; [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/tests.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stdout] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stdout] 22 | | let mut buf=vec![]; [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/tests.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stdout] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stdout] 22 | | let mut buf=vec![]; [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | &PeOptionalHeader::Pe32Plus(h) => &h.number_of_rva_and_sizes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | &PeOptionalHeader::Pe32(h) => &h.number_of_rva_and_sizes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | &PeOptionalHeader::Pe32Plus(h) => &h.size_of_headers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | &PeOptionalHeader::Pe32(h) => &h.size_of_headers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | &PeOptionalHeader::Pe32Plus(h) => &h.check_sum, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/lib.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | &PeOptionalHeader::Pe32(h) => &h.check_sum, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | self.0.partial_cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | self.0.cmp(&other.0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | builder.field(&self.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | define_urp!{pub struct FP;} [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/utility.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | builder.field(&self.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | define_urp!{pub struct RVA;} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/tests.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | ].into_iter().map(|&i|ExportAddressTestValue::Export(i)).collect(); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/tests.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | ].into_iter().map(|&i|ExportAddressTestValue::Export(i)).collect(); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.51s [INFO] running `Command { std: "docker" "inspect" "af756eb0c85b7d11a39ffe2d16ce2e42f6cce161f0c3390f3018803083a565e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af756eb0c85b7d11a39ffe2d16ce2e42f6cce161f0c3390f3018803083a565e0", kill_on_drop: false }` [INFO] [stdout] af756eb0c85b7d11a39ffe2d16ce2e42f6cce161f0c3390f3018803083a565e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 883e0fe85e4539ec98bb238b2073f3d089331e9dbeb2ac6b1dc29199419477b3 [INFO] running `Command { std: "docker" "start" "-a" "883e0fe85e4539ec98bb238b2073f3d089331e9dbeb2ac6b1dc29199419477b3", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | / bitflags! { [INFO] [stderr] 87 | | #[repr(packed)] [INFO] [stderr] 88 | | flags Characteristics: u16 { [INFO] [stderr] 89 | | const RELOCS_STRIPPED = 0x0001, [INFO] [stderr] ... | [INFO] [stderr] 105 | | } [INFO] [stderr] 106 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | / bitflags! { [INFO] [stderr] 87 | | #[repr(packed)] [INFO] [stderr] 88 | | flags Characteristics: u16 { [INFO] [stderr] 89 | | const RELOCS_STRIPPED = 0x0001, [INFO] [stderr] ... | [INFO] [stderr] 105 | | } [INFO] [stderr] 106 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | / bitflags! { [INFO] [stderr] 111 | | #[repr(packed)] [INFO] [stderr] 112 | | flags Characteristics: u16 { [INFO] [stderr] 113 | | const RESERVED1 = 0x0001, [INFO] [stderr] ... | [INFO] [stderr] 129 | | } [INFO] [stderr] 130 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | / bitflags! { [INFO] [stderr] 111 | | #[repr(packed)] [INFO] [stderr] 112 | | flags Characteristics: u16 { [INFO] [stderr] 113 | | const RESERVED1 = 0x0001, [INFO] [stderr] ... | [INFO] [stderr] 129 | | } [INFO] [stderr] 130 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | / bitflags! { [INFO] [stderr] 135 | | #[repr(packed)] [INFO] [stderr] 136 | | flags Characteristics: u32 { [INFO] [stderr] 137 | | const RESERVED2 = 0x00000001, [INFO] [stderr] ... | [INFO] [stderr] 169 | | } [INFO] [stderr] 170 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | / bitflags! { [INFO] [stderr] 135 | | #[repr(packed)] [INFO] [stderr] 136 | | flags Characteristics: u32 { [INFO] [stderr] 137 | | const RESERVED2 = 0x00000001, [INFO] [stderr] ... | [INFO] [stderr] 169 | | } [INFO] [stderr] 170 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:104:6 [INFO] [stderr] | [INFO] [stderr] 104 | Ok(try!(self.resolve_rva_raw(rva+0u32,length,None)).offset(0)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:109:6 [INFO] [stderr] | [INFO] [stderr] 109 | Ok(try!(self.resolve_rva_raw(rva+0u32,length,None)).offset(0)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:114:12 [INFO] [stderr] | [INFO] [stderr] 114 | let sig=*try!(data.ref_at(FP::::new(0))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:116:4 [INFO] [stderr] | [INFO] [stderr] 116 | try!(data.ref_at(FP::::new(0))).new [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | let pe_header=try!(data.ref_at(pe_header_fp)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:128:17 [INFO] [stderr] | [INFO] [stderr] 128 | let sig: u16=*try!(data.ref_at(pe_oh_fp.offset(0))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:138:28 [INFO] [stderr] | [INFO] [stderr] 138 | PeOptionalHeader::Pe32(try!(data.ref_at(pe_oh_fp.offset(0)))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:145:32 [INFO] [stderr] | [INFO] [stderr] 145 | PeOptionalHeader::Pe32Plus(try!(data.ref_at(pe_oh_fp.offset(0)))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:154:13 [INFO] [stderr] | [INFO] [stderr] 154 | let pe_dd=try!(data.ref_slice_at(pe_dd_fp,n)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:157:14 [INFO] [stderr] | [INFO] [stderr] 157 | let pe_sec=try!(data.ref_slice_at(pe_sec_fp,pe_header.number_of_sections as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:163:10 [INFO] [stderr] | [INFO] [stderr] 163 | let fp=try!(self.resolve_rva(rva)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:168:10 [INFO] [stderr] | [INFO] [stderr] 168 | let fp=try!(self.resolve_rva_slice(rva,count)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:174:10 [INFO] [stderr] | [INFO] [stderr] 174 | let fp=try!(self.resolve_rva_raw(rva+0u32,0,Some(&mut max_len))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:212:50 [INFO] [stderr] | [INFO] [stderr] 212 | let ddir: &DataDirectory>=try!(self.get_directory(DirectoryEntry::ExportTable)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:216:37 [INFO] [stderr] | [INFO] [stderr] 216 | Ok(Exports{pe:self,ddir:ddir,edir:try!(self.ref_at(ddir.virtual_address))}) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:220:50 [INFO] [stderr] | [INFO] [stderr] 220 | let ddir: &DataDirectory>=try!(self.get_directory(DirectoryEntry::BaseRelocationTable)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:256:11 [INFO] [stderr] | [INFO] [stderr] 256 | let pos=try!(try!(self.get_names()).iter().position(|&name_rva|{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:256:16 [INFO] [stderr] | [INFO] [stderr] 256 | let pos=try!(try!(self.get_names()).iter().position(|&name_rva|{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:259:22 [INFO] [stderr] | [INFO] [stderr] 259 | let ordinal_offset=try!(self.get_ordinal_offsets())[pos]; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:260:14 [INFO] [stderr] | [INFO] [stderr] 260 | let export=try!(try!(self.get_export_addresses()).get(ordinal_offset as usize).ok_or(Error::ExportNotFound)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:260:19 [INFO] [stderr] | [INFO] [stderr] 260 | let export=try!(try!(self.get_export_addresses()).get(ordinal_offset as usize).ok_or(Error::ExportNotFound)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:267:14 [INFO] [stderr] | [INFO] [stderr] 267 | let rblock=try!(self.pe.ref_at(self.next_rblock)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:268:29 [INFO] [stderr] | [INFO] [stderr] 268 | let relocs: &[Relocation]=try!(self.pe.ref_slice_at(self.next_rblock.offset(size_of::() as u32),rblock.block_size/2)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:224:37 [INFO] [stderr] | [INFO] [stderr] 224 | pub address_of_entry_point: RVA, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:259:37 [INFO] [stderr] | [INFO] [stderr] 259 | pub address_of_entry_point: RVA, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | Export(&'data RVA), [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:48:38 [INFO] [stderr] | [INFO] [stderr] 48 | &PeOptionalHeader::Pe32Plus(h) => &h.number_of_rva_and_sizes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:47:34 [INFO] [stderr] | [INFO] [stderr] 47 | &PeOptionalHeader::Pe32(h) => &h.number_of_rva_and_sizes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:55:38 [INFO] [stderr] | [INFO] [stderr] 55 | &PeOptionalHeader::Pe32Plus(h) => &h.size_of_headers, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:54:34 [INFO] [stderr] | [INFO] [stderr] 54 | &PeOptionalHeader::Pe32(h) => &h.size_of_headers, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:62:38 [INFO] [stderr] | [INFO] [stderr] 62 | &PeOptionalHeader::Pe32Plus(h) => &h.check_sum, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:61:34 [INFO] [stderr] | [INFO] [stderr] 61 | &PeOptionalHeader::Pe32(h) => &h.check_sum, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | self.0.eq(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | self.0.eq(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | self.0.eq(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | self.0.eq(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | self.0.partial_cmp(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:51:24 [INFO] [stderr] | [INFO] [stderr] 51 | self.0.partial_cmp(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | self.0.partial_cmp(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:51:24 [INFO] [stderr] | [INFO] [stderr] 51 | self.0.partial_cmp(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | self.0.cmp(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 58 | self.0.cmp(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | self.0.cmp(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 58 | self.0.cmp(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:65:19 [INFO] [stderr] | [INFO] [stderr] 65 | builder.field(&self.0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:65:19 [INFO] [stderr] | [INFO] [stderr] 65 | builder.field(&self.0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 52 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | / bitflags! { [INFO] [stderr] 87 | | #[repr(packed)] [INFO] [stderr] 88 | | flags Characteristics: u16 { [INFO] [stderr] 89 | | const RELOCS_STRIPPED = 0x0001, [INFO] [stderr] ... | [INFO] [stderr] 105 | | } [INFO] [stderr] 106 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | / bitflags! { [INFO] [stderr] 87 | | #[repr(packed)] [INFO] [stderr] 88 | | flags Characteristics: u16 { [INFO] [stderr] 89 | | const RELOCS_STRIPPED = 0x0001, [INFO] [stderr] ... | [INFO] [stderr] 105 | | } [INFO] [stderr] 106 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | / bitflags! { [INFO] [stderr] 111 | | #[repr(packed)] [INFO] [stderr] 112 | | flags Characteristics: u16 { [INFO] [stderr] 113 | | const RESERVED1 = 0x0001, [INFO] [stderr] ... | [INFO] [stderr] 129 | | } [INFO] [stderr] 130 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | / bitflags! { [INFO] [stderr] 111 | | #[repr(packed)] [INFO] [stderr] 112 | | flags Characteristics: u16 { [INFO] [stderr] 113 | | const RESERVED1 = 0x0001, [INFO] [stderr] ... | [INFO] [stderr] 129 | | } [INFO] [stderr] 130 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | / bitflags! { [INFO] [stderr] 135 | | #[repr(packed)] [INFO] [stderr] 136 | | flags Characteristics: u32 { [INFO] [stderr] 137 | | const RESERVED2 = 0x00000001, [INFO] [stderr] ... | [INFO] [stderr] 169 | | } [INFO] [stderr] 170 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | / bitflags! { [INFO] [stderr] 135 | | #[repr(packed)] [INFO] [stderr] 136 | | flags Characteristics: u32 { [INFO] [stderr] 137 | | const RESERVED2 = 0x00000001, [INFO] [stderr] ... | [INFO] [stderr] 169 | | } [INFO] [stderr] 170 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:104:6 [INFO] [stderr] | [INFO] [stderr] 104 | Ok(try!(self.resolve_rva_raw(rva+0u32,length,None)).offset(0)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:109:6 [INFO] [stderr] | [INFO] [stderr] 109 | Ok(try!(self.resolve_rva_raw(rva+0u32,length,None)).offset(0)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:114:12 [INFO] [stderr] | [INFO] [stderr] 114 | let sig=*try!(data.ref_at(FP::::new(0))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:116:4 [INFO] [stderr] | [INFO] [stderr] 116 | try!(data.ref_at(FP::::new(0))).new [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | let pe_header=try!(data.ref_at(pe_header_fp)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:128:17 [INFO] [stderr] | [INFO] [stderr] 128 | let sig: u16=*try!(data.ref_at(pe_oh_fp.offset(0))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:138:28 [INFO] [stderr] | [INFO] [stderr] 138 | PeOptionalHeader::Pe32(try!(data.ref_at(pe_oh_fp.offset(0)))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:145:32 [INFO] [stderr] | [INFO] [stderr] 145 | PeOptionalHeader::Pe32Plus(try!(data.ref_at(pe_oh_fp.offset(0)))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:154:13 [INFO] [stderr] | [INFO] [stderr] 154 | let pe_dd=try!(data.ref_slice_at(pe_dd_fp,n)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:157:14 [INFO] [stderr] | [INFO] [stderr] 157 | let pe_sec=try!(data.ref_slice_at(pe_sec_fp,pe_header.number_of_sections as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:163:10 [INFO] [stderr] | [INFO] [stderr] 163 | let fp=try!(self.resolve_rva(rva)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:168:10 [INFO] [stderr] | [INFO] [stderr] 168 | let fp=try!(self.resolve_rva_slice(rva,count)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:174:10 [INFO] [stderr] | [INFO] [stderr] 174 | let fp=try!(self.resolve_rva_raw(rva+0u32,0,Some(&mut max_len))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:212:50 [INFO] [stderr] | [INFO] [stderr] 212 | let ddir: &DataDirectory>=try!(self.get_directory(DirectoryEntry::ExportTable)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:216:37 [INFO] [stderr] | [INFO] [stderr] 216 | Ok(Exports{pe:self,ddir:ddir,edir:try!(self.ref_at(ddir.virtual_address))}) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:220:50 [INFO] [stderr] | [INFO] [stderr] 220 | let ddir: &DataDirectory>=try!(self.get_directory(DirectoryEntry::BaseRelocationTable)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:256:11 [INFO] [stderr] | [INFO] [stderr] 256 | let pos=try!(try!(self.get_names()).iter().position(|&name_rva|{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:256:16 [INFO] [stderr] | [INFO] [stderr] 256 | let pos=try!(try!(self.get_names()).iter().position(|&name_rva|{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:259:22 [INFO] [stderr] | [INFO] [stderr] 259 | let ordinal_offset=try!(self.get_ordinal_offsets())[pos]; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:260:14 [INFO] [stderr] | [INFO] [stderr] 260 | let export=try!(try!(self.get_export_addresses()).get(ordinal_offset as usize).ok_or(Error::ExportNotFound)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:260:19 [INFO] [stderr] | [INFO] [stderr] 260 | let export=try!(try!(self.get_export_addresses()).get(ordinal_offset as usize).ok_or(Error::ExportNotFound)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:267:14 [INFO] [stderr] | [INFO] [stderr] 267 | let rblock=try!(self.pe.ref_at(self.next_rblock)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:268:29 [INFO] [stderr] | [INFO] [stderr] 268 | let relocs: &[Relocation]=try!(self.pe.ref_slice_at(self.next_rblock.offset(size_of::() as u32),rblock.block_size/2)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:224:37 [INFO] [stderr] | [INFO] [stderr] 224 | pub address_of_entry_point: RVA, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:259:37 [INFO] [stderr] | [INFO] [stderr] 259 | pub address_of_entry_point: RVA, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | Export(&'data RVA), [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/tests.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stderr] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stderr] 22 | | let mut buf=vec![]; [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/tests.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stderr] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stderr] 22 | | let mut buf=vec![]; [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/tests.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stderr] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stderr] 22 | | let mut buf=vec![]; [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/tests.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stderr] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stderr] 22 | | let mut buf=vec![]; [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/tests.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stderr] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stderr] 22 | | let mut buf=vec![]; [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/tests.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stderr] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stderr] 22 | | let mut buf=vec![]; [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/tests.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stderr] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stderr] 22 | | let mut buf=vec![]; [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/tests.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref SQLITE_X64_BUF: Vec = { [INFO] [stderr] 21 | | let mut file=File::open("test/sqlite3_x64.dll").unwrap(); [INFO] [stderr] 22 | | let mut buf=vec![]; [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref SQLITE_X86_PE: Pe<'static> = Pe::new(&SQLITE_X86_BUF).unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:48:38 [INFO] [stderr] | [INFO] [stderr] 48 | &PeOptionalHeader::Pe32Plus(h) => &h.number_of_rva_and_sizes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:47:34 [INFO] [stderr] | [INFO] [stderr] 47 | &PeOptionalHeader::Pe32(h) => &h.number_of_rva_and_sizes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:55:38 [INFO] [stderr] | [INFO] [stderr] 55 | &PeOptionalHeader::Pe32Plus(h) => &h.size_of_headers, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:54:34 [INFO] [stderr] | [INFO] [stderr] 54 | &PeOptionalHeader::Pe32(h) => &h.size_of_headers, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:62:38 [INFO] [stderr] | [INFO] [stderr] 62 | &PeOptionalHeader::Pe32Plus(h) => &h.check_sum, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/lib.rs:61:34 [INFO] [stderr] | [INFO] [stderr] 61 | &PeOptionalHeader::Pe32(h) => &h.check_sum, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | self.0.eq(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | self.0.eq(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | self.0.eq(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | self.0.eq(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | self.0.partial_cmp(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:51:24 [INFO] [stderr] | [INFO] [stderr] 51 | self.0.partial_cmp(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | self.0.partial_cmp(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:51:24 [INFO] [stderr] | [INFO] [stderr] 51 | self.0.partial_cmp(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | self.0.cmp(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 58 | self.0.cmp(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | self.0.cmp(&other.0) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 58 | self.0.cmp(&other.0) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:65:19 [INFO] [stderr] | [INFO] [stderr] 65 | builder.field(&self.0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | define_urp!{pub struct FP;} [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/utility.rs:65:19 [INFO] [stderr] | [INFO] [stderr] 65 | builder.field(&self.0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | define_urp!{pub struct RVA;} [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/tests.rs:194:4 [INFO] [stderr] | [INFO] [stderr] 194 | ].into_iter().map(|&i|ExportAddressTestValue::Export(i)).collect(); [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/tests.rs:220:4 [INFO] [stderr] | [INFO] [stderr] 220 | ].into_iter().map(|&i|ExportAddressTestValue::Export(i)).collect(); [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: 62 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pe-f600f5193e85629e [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::list_exports ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] test tests::list_export_table ... FAILED [INFO] [stdout] test tests::export_name ... FAILED [INFO] [stdout] test tests::list_sections ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::list_exports stdout ---- [INFO] [stdout] thread 'tests::list_exports' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/tests.rs:28:57 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5608e20935d5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5608e20935d5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5608e20935d5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5608e20935d5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5608e20bb24c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5608e2048145 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5608e208dca1 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5608e2095d30 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5608e2095d30 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5608e2095d30 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5608e2095a2a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5608e2096373 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5608e2095f6b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x5608e20b9be1 - core::panicking::panic_fmt::h78830ea6a34e7206 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 14: 0x5608e20b9a03 - core::option::expect_none_failed::hf79bbb5ca7e09e08 [INFO] [stdout] at src/libcore/option.rs:1269 [INFO] [stdout] 15: 0x5608e203623b - core::result::Result::unwrap::h79ac4b9b9ef38874 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x5608e2029ec6 - ::deref::__static_ref_initialize::h4e4705e777dc8610 [INFO] [stdout] at src/tests.rs:28 [INFO] [stdout] 17: 0x5608e2029ec6 - ::deref::__stability::{{closure}}::h8554c1817758b5b1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:125 [INFO] [stdout] 18: 0x5608e203938b - std::sync::once::Once::call_once::{{closure}}::h0628c6796a8610d7 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sync/once.rs:264 [INFO] [stdout] 19: 0x5608e2092e4a - std::sync::once::Once::call_inner::hfee175ed07eef8ad [INFO] [stdout] at src/libstd/sync/once.rs:416 [INFO] [stdout] 20: 0x5608e2039309 - std::sync::once::Once::call_once::h9970f54d70b7c1d1 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sync/once.rs:264 [INFO] [stdout] 21: 0x5608e2029e68 - ::deref::__stability::hee7c28f7a37498f3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:123 [INFO] [stdout] 22: 0x5608e2029e68 - ::deref::hddea324756cdd09a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:130 [INFO] [stdout] 23: 0x5608e2029ff6 - ::deref::__static_ref_initialize::h275e3e54752622ee [INFO] [stdout] at src/tests.rs:33 [INFO] [stdout] 24: 0x5608e2029ff6 - ::deref::__stability::{{closure}}::h4ef2b40ad509e347 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:125 [INFO] [stdout] 25: 0x5608e203940b - std::sync::once::Once::call_once::{{closure}}::h26020ed98d4b2f75 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sync/once.rs:264 [INFO] [stdout] 26: 0x5608e2092e4a - std::sync::once::Once::call_inner::hfee175ed07eef8ad [INFO] [stdout] at src/libstd/sync/once.rs:416 [INFO] [stdout] 27: 0x5608e20391a9 - std::sync::once::Once::call_once::h833547bd222b19e1 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sync/once.rs:264 [INFO] [stdout] 28: 0x5608e2029fb8 - ::deref::__stability::h641a406e7d2b7116 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:123 [INFO] [stdout] 29: 0x5608e2029fb8 - ::deref::h98fce6b2f915d990 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:130 [INFO] [stdout] 30: 0x5608e2030475 - pe::tests::list_exports::hfa149462f417089a [INFO] [stdout] at src/tests.rs:222 [INFO] [stdout] 31: 0x5608e203035a - pe::tests::list_exports::{{closure}}::h10a1d8908b7eeb62 [INFO] [stdout] at src/tests.rs:168 [INFO] [stdout] 32: 0x5608e2036eae - core::ops::function::FnOnce::call_once::h3c9fa41a322f88a7 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 33: 0x5608e206f6bc - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x5608e206f6bc - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 35: 0x5608e206f6bc - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 36: 0x5608e206f6bc - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 37: 0x5608e206f6bc - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 38: 0x5608e206f6bc - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 39: 0x5608e206f6bc - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 40: 0x5608e2047636 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 41: 0x5608e204c625 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 42: 0x5608e204c625 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 43: 0x5608e204c625 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 44: 0x5608e204c625 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 45: 0x5608e204c625 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 46: 0x5608e204c625 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 47: 0x5608e204c625 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 48: 0x5608e209c54a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 49: 0x5608e209c54a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 50: 0x5608e209c54a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 51: 0x7f995d3d9609 - start_thread [INFO] [stdout] 52: 0x7f995d2e5103 - __clone [INFO] [stdout] 53: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::list_export_table stdout ---- [INFO] [stdout] thread 'tests::list_export_table' panicked at 'Once instance has previously been poisoned', src/libstd/sync/once.rs:395:21 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5608e20935d5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5608e20935d5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5608e20935d5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5608e20935d5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5608e20bb24c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5608e2048145 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5608e208dca1 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5608e2095d30 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5608e2095d30 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5608e2095d30 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5608e2095a2a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5608e2096373 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5608e20961be - std::panicking::begin_panic::hd7c0bcfd817fe2e0 [INFO] [stdout] at src/libstd/panicking.rs:456 [INFO] [stdout] 13: 0x5608e2092eb8 - std::sync::once::Once::call_inner::hfee175ed07eef8ad [INFO] [stdout] at src/libstd/sync/once.rs:395 [INFO] [stdout] 14: 0x5608e2039259 - std::sync::once::Once::call_once::h8dc3de6003a1551c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sync/once.rs:264 [INFO] [stdout] 15: 0x5608e2029d88 - ::deref::__stability::h6a009ad2b8da2a7f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:123 [INFO] [stdout] 16: 0x5608e2029d88 - ::deref::hc7bfddd2573d7f42 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:130 [INFO] [stdout] 17: 0x5608e2030161 - pe::tests::list_export_table::h4d2bb2ae0c0ffef1 [INFO] [stdout] at src/tests.rs:144 [INFO] [stdout] 18: 0x5608e202a9aa - pe::tests::list_export_table::{{closure}}::h5f7a20db8a4aac86 [INFO] [stdout] at src/tests.rs:63 [INFO] [stdout] 19: 0x5608e2036fae - core::ops::function::FnOnce::call_once::hba55e04ba0816d77 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 20: 0x5608e206f6bc - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 21: 0x5608e206f6bc - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 22: 0x5608e206f6bc - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 23: 0x5608e206f6bc - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 24: 0x5608e206f6bc - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 25: 0x5608e206f6bc - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 26: 0x5608e206f6bc - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 27: 0x5608e2047636 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 28: 0x5608e204c625 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 29: 0x5608e204c625 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 30: 0x5608e204c625 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 31: 0x5608e204c625 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 32: 0x5608e204c625 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 33: 0x5608e204c625 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 34: 0x5608e204c625 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 35: 0x5608e209c54a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 36: 0x5608e209c54a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 37: 0x5608e209c54a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 38: 0x7f995d3d9609 - start_thread [INFO] [stdout] 39: 0x7f995d2e5103 - __clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::export_name stdout ---- [INFO] [stdout] thread 'tests::export_name' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/tests.rs:21:57 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5608e20935d5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5608e20935d5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5608e20935d5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5608e20935d5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5608e20bb24c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5608e2048145 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5608e208dca1 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5608e2095d30 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5608e2095d30 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5608e2095d30 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5608e2095a2a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5608e2096373 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5608e2095f6b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x5608e20b9be1 - core::panicking::panic_fmt::h78830ea6a34e7206 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 14: 0x5608e20b9a03 - core::option::expect_none_failed::hf79bbb5ca7e09e08 [INFO] [stdout] at src/libcore/option.rs:1269 [INFO] [stdout] 15: 0x5608e203623b - core::result::Result::unwrap::h79ac4b9b9ef38874 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x5608e2029c96 - ::deref::__static_ref_initialize::hb72e19c3a4669387 [INFO] [stdout] at src/tests.rs:21 [INFO] [stdout] 17: 0x5608e2029c96 - ::deref::__stability::{{closure}}::h487b8022acdecaf5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:125 [INFO] [stdout] 18: 0x5608e20393cb - std::sync::once::Once::call_once::{{closure}}::h1d699a94b07e07e4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sync/once.rs:264 [INFO] [stdout] 19: 0x5608e2092e4a - std::sync::once::Once::call_inner::hfee175ed07eef8ad [INFO] [stdout] at src/libstd/sync/once.rs:416 [INFO] [stdout] 20: 0x5608e20390f9 - std::sync::once::Once::call_once::h5b7de87a0d6e455f [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sync/once.rs:264 [INFO] [stdout] 21: 0x5608e2029c38 - ::deref::__stability::h04d4366a106495f0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:123 [INFO] [stdout] 22: 0x5608e2029c38 - ::deref::h78f10970fb3c6c99 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:130 [INFO] [stdout] 23: 0x5608e2029dc6 - ::deref::__static_ref_initialize::hb52dc9d4a024a473 [INFO] [stdout] at src/tests.rs:26 [INFO] [stdout] 24: 0x5608e2029dc6 - ::deref::__stability::{{closure}}::hd040634313477d9d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:125 [INFO] [stdout] 25: 0x5608e203944b - std::sync::once::Once::call_once::{{closure}}::hbba3116789755676 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sync/once.rs:264 [INFO] [stdout] 26: 0x5608e2092e4a - std::sync::once::Once::call_inner::hfee175ed07eef8ad [INFO] [stdout] at src/libstd/sync/once.rs:416 [INFO] [stdout] 27: 0x5608e2039259 - std::sync::once::Once::call_once::h8dc3de6003a1551c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sync/once.rs:264 [INFO] [stdout] 28: 0x5608e2029d88 - ::deref::__stability::h6a009ad2b8da2a7f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:123 [INFO] [stdout] 29: 0x5608e2029d88 - ::deref::hc7bfddd2573d7f42 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:130 [INFO] [stdout] 30: 0x5608e202a491 - pe::tests::export_name::h9779bb37a360d272 [INFO] [stdout] at src/tests.rs:48 [INFO] [stdout] 31: 0x5608e202a44a - pe::tests::export_name::{{closure}}::h9d467f3336b45efc [INFO] [stdout] at src/tests.rs:46 [INFO] [stdout] 32: 0x5608e203704e - core::ops::function::FnOnce::call_once::hf8e1a60bb4846715 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 33: 0x5608e206f6bc - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x5608e206f6bc - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 35: 0x5608e206f6bc - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 36: 0x5608e206f6bc - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 37: 0x5608e206f6bc - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 38: 0x5608e206f6bc - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 39: 0x5608e206f6bc - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 40: 0x5608e2047636 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 41: 0x5608e204c625 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 42: 0x5608e204c625 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 43: 0x5608e204c625 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 44: 0x5608e204c625 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 45: 0x5608e204c625 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 46: 0x5608e204c625 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 47: 0x5608e204c625 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 48: 0x5608e209c54a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 49: 0x5608e209c54a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 50: 0x5608e209c54a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 51: 0x7f995d3d9609 - start_thread [INFO] [stdout] 52: 0x7f995d2e5103 - __clone [INFO] [stdout] 53: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::list_sections stdout ---- [INFO] [stdout] thread 'tests::list_sections' panicked at 'Once instance has previously been poisoned', src/libstd/sync/once.rs:395:21 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5608e20935d5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5608e20935d5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5608e20935d5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5608e20935d5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5608e20bb24c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5608e2048145 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5608e208dca1 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5608e2095d30 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5608e2095d30 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5608e2095d30 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5608e2095a2a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5608e2096373 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5608e20961be - std::panicking::begin_panic::hd7c0bcfd817fe2e0 [INFO] [stdout] at src/libstd/panicking.rs:456 [INFO] [stdout] 13: 0x5608e2092eb8 - std::sync::once::Once::call_inner::hfee175ed07eef8ad [INFO] [stdout] at src/libstd/sync/once.rs:395 [INFO] [stdout] 14: 0x5608e2039259 - std::sync::once::Once::call_once::h8dc3de6003a1551c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sync/once.rs:264 [INFO] [stdout] 15: 0x5608e2029d88 - ::deref::__stability::h6a009ad2b8da2a7f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:123 [INFO] [stdout] 16: 0x5608e2029d88 - ::deref::hc7bfddd2573d7f42 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.1.16/src/lib.rs:130 [INFO] [stdout] 17: 0x5608e202a24a - pe::tests::list_sections::h30bcf8634deb271a [INFO] [stdout] at src/tests.rs:41 [INFO] [stdout] 18: 0x5608e202a08a - pe::tests::list_sections::{{closure}}::h1def5668aaff21a7 [INFO] [stdout] at src/tests.rs:37 [INFO] [stdout] 19: 0x5608e2036f2e - core::ops::function::FnOnce::call_once::h9d94f793f195e608 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 20: 0x5608e206f6bc - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 21: 0x5608e206f6bc - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 22: 0x5608e206f6bc - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 23: 0x5608e206f6bc - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 24: 0x5608e206f6bc - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 25: 0x5608e206f6bc - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 26: 0x5608e206f6bc - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 27: 0x5608e2047636 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 28: 0x5608e204c625 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 29: 0x5608e204c625 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 30: 0x5608e204c625 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 31: 0x5608e204c625 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 32: 0x5608e204c625 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 33: 0x5608e204c625 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 34: 0x5608e204c625 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 35: 0x5608e209c54a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 36: 0x5608e209c54a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 37: 0x5608e209c54a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 38: 0x7f995d3d9609 - start_thread [INFO] [stdout] 39: 0x7f995d2e5103 - __clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::export_name [INFO] [stdout] tests::list_export_table [INFO] [stdout] tests::list_exports [INFO] [stdout] tests::list_sections [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "883e0fe85e4539ec98bb238b2073f3d089331e9dbeb2ac6b1dc29199419477b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "883e0fe85e4539ec98bb238b2073f3d089331e9dbeb2ac6b1dc29199419477b3", kill_on_drop: false }` [INFO] [stdout] 883e0fe85e4539ec98bb238b2073f3d089331e9dbeb2ac6b1dc29199419477b3