[INFO] fetching crate pelite 0.9.0... [INFO] checking pelite-0.9.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate pelite 0.9.0 into /workspace/builds/worker-34/source [INFO] validating manifest of crates.io crate pelite 0.9.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pelite 0.9.0 [INFO] finished tweaking crates.io crate pelite 0.9.0 [INFO] tweaked toml for crates.io crate pelite 0.9.0 written to /workspace/builds/worker-34/source/Cargo.toml [INFO] crate crates.io crate pelite 0.9.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded no-std-compat v0.4.1 [INFO] [stderr] Downloaded pelite-macros v0.1.1 [INFO] [stderr] Downloaded data-encoding v2.3.0 [INFO] [stderr] Downloaded lde v0.3.0 [INFO] [stderr] Downloaded derive_pod v0.1.0 [INFO] [stderr] Downloaded dataview v0.1.1 [INFO] [stderr] Downloaded format_xml v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 838f9ba8a220d7e9f5856c1e27a8fa58afdf091cc84ec2059a225f5997783cd8 [INFO] running `Command { std: "docker" "start" "-a" "838f9ba8a220d7e9f5856c1e27a8fa58afdf091cc84ec2059a225f5997783cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "838f9ba8a220d7e9f5856c1e27a8fa58afdf091cc84ec2059a225f5997783cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "838f9ba8a220d7e9f5856c1e27a8fa58afdf091cc84ec2059a225f5997783cd8", kill_on_drop: false }` [INFO] [stdout] 838f9ba8a220d7e9f5856c1e27a8fa58afdf091cc84ec2059a225f5997783cd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7a3e3d0f8cc5f274ff6fde37bf3cd6e1ec10e34aa3441b9771c036aacf45cbe [INFO] running `Command { std: "docker" "start" "-a" "b7a3e3d0f8cc5f274ff6fde37bf3cd6e1ec10e34aa3441b9771c036aacf45cbe", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling derive_pod v0.1.0 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Compiling pelite-macros v0.1.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking lde v0.3.0 [INFO] [stderr] Checking format_xml v0.1.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking dataview v0.1.1 [INFO] [stderr] Checking pelite v0.9.0 (/tmp/fixit) [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/pattern.rs (5 fixes) [INFO] [stderr] Fixed src/util/c_str.rs (1 fix) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mmap/unix.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let mut stat = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mmap/unix.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let mut stat = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/util/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &(*(0 as *const $ty)).$($field_bits)* as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/pe64/headers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | offset_of!(IMAGE_NT_HEADERS, OptionalHeader.CheckSum)) / 4; [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/util/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &(*(0 as *const $ty)).$($field_bits)* as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/pe32/../pe64/headers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | offset_of!(IMAGE_NT_HEADERS, OptionalHeader.CheckSum)) / 4; [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/tf2/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/msrtti.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/findsig.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/apex/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/extract-icons.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/module-def.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/strings.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/pedump.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/edges.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/csgo/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/tiny.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/readme.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/markovbin.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/imphash.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/demo64.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/patterns.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/version_info.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/apisetschema/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/util/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &(*(0 as *const $ty)).$($field_bits)* as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/pe64/headers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | offset_of!(IMAGE_NT_HEADERS, OptionalHeader.CheckSum)) / 4; [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/util/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &(*(0 as *const $ty)).$($field_bits)* as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/pe32/../pe64/headers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | offset_of!(IMAGE_NT_HEADERS, OptionalHeader.CheckSum)) / 4; [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.50s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking pelite v0.9.0 (/tmp/fixit) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mmap/unix.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let mut stat = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mmap/unix.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let mut stat = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/util/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &(*(0 as *const $ty)).$($field_bits)* as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/pe64/headers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | offset_of!(IMAGE_NT_HEADERS, OptionalHeader.CheckSum)) / 4; [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/util/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &(*(0 as *const $ty)).$($field_bits)* as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/pe32/../pe64/headers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | offset_of!(IMAGE_NT_HEADERS, OptionalHeader.CheckSum)) / 4; [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/util/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &(*(0 as *const $ty)).$($field_bits)* as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/pe64/headers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | offset_of!(IMAGE_NT_HEADERS, OptionalHeader.CheckSum)) / 4; [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/util/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &(*(0 as *const $ty)).$($field_bits)* as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/pe32/../pe64/headers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | offset_of!(IMAGE_NT_HEADERS, OptionalHeader.CheckSum)) / 4; [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.18s [INFO] running `Command { std: "docker" "inspect" "b7a3e3d0f8cc5f274ff6fde37bf3cd6e1ec10e34aa3441b9771c036aacf45cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a3e3d0f8cc5f274ff6fde37bf3cd6e1ec10e34aa3441b9771c036aacf45cbe", kill_on_drop: false }` [INFO] [stdout] b7a3e3d0f8cc5f274ff6fde37bf3cd6e1ec10e34aa3441b9771c036aacf45cbe