[INFO] fetching crate xhook-rs 0.2.0... [INFO] checking xhook-rs-0.2.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate xhook-rs 0.2.0 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate xhook-rs 0.2.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 xhook-rs 0.2.0 [INFO] finished tweaking crates.io crate xhook-rs 0.2.0 [INFO] tweaked toml for crates.io crate xhook-rs 0.2.0 written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate crates.io crate xhook-rs 0.2.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] Downloading crates ... [INFO] [stderr] Downloaded xhook-sys v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] a089299b8a0018d713a07ef4429b9d8469f6797daa5b0c83f0895d43c0646c60 [INFO] running `Command { std: "docker" "start" "-a" "a089299b8a0018d713a07ef4429b9d8469f6797daa5b0c83f0895d43c0646c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a089299b8a0018d713a07ef4429b9d8469f6797daa5b0c83f0895d43c0646c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a089299b8a0018d713a07ef4429b9d8469f6797daa5b0c83f0895d43c0646c60", kill_on_drop: false }` [INFO] [stdout] a089299b8a0018d713a07ef4429b9d8469f6797daa5b0c83f0895d43c0646c60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] 4010bb15586052f68f7d59d4c448584232de076cc9f14f9b3141d7f6e5c2be64 [INFO] running `Command { std: "docker" "start" "-a" "4010bb15586052f68f7d59d4c448584232de076cc9f14f9b3141d7f6e5c2be64", 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.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling xhook-sys v0.2.0 [INFO] [stderr] Checking xhook-rs v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed examples/main.rs (2 fixes) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> examples/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe extern "C" fn my_open(path: *const c_char, oflag: c_int, args: ...) -> c_int { [INFO] [stdout] | --------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] 17 | let c_str = unsafe { CStr::from_ptr(path) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.43s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking xhook-rs v0.2.0 (/tmp/fixit) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> examples/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe extern "C" fn my_open(path: *const c_char, oflag: c_int, args: ...) -> c_int { [INFO] [stdout] | --------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] 17 | let c_str = unsafe { CStr::from_ptr(path) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "4010bb15586052f68f7d59d4c448584232de076cc9f14f9b3141d7f6e5c2be64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4010bb15586052f68f7d59d4c448584232de076cc9f14f9b3141d7f6e5c2be64", kill_on_drop: false }` [INFO] [stdout] 4010bb15586052f68f7d59d4c448584232de076cc9f14f9b3141d7f6e5c2be64