[INFO] fetching crate zsplg 0.0.0-alpha2... [INFO] checking zsplg-0.0.0-alpha2 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate zsplg 0.0.0-alpha2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate zsplg 0.0.0-alpha2 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zsplg 0.0.0-alpha2 [INFO] finished tweaking crates.io crate zsplg 0.0.0-alpha2 [INFO] tweaked toml for crates.io crate zsplg 0.0.0-alpha2 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d63a67fafcd37fb5a76812a4e8f5a03baf61178fdb40f4e632bad9fbe2da7a81 [INFO] running `Command { std: "docker" "start" "-a" "d63a67fafcd37fb5a76812a4e8f5a03baf61178fdb40f4e632bad9fbe2da7a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d63a67fafcd37fb5a76812a4e8f5a03baf61178fdb40f4e632bad9fbe2da7a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d63a67fafcd37fb5a76812a4e8f5a03baf61178fdb40f4e632bad9fbe2da7a81", kill_on_drop: false }` [INFO] [stdout] d63a67fafcd37fb5a76812a4e8f5a03baf61178fdb40f4e632bad9fbe2da7a81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b266936564bb4f47525795b936b5e3c000ceaa05c3643ec6b6f938bd873a5fb [INFO] running `Command { std: "docker" "start" "-a" "3b266936564bb4f47525795b936b5e3c000ceaa05c3643ec6b6f938bd873a5fb", kill_on_drop: false }` [INFO] [stderr] Compiling zsplg-core v0.0.0-alpha2 [INFO] [stderr] Checking try-block v0.1.0 [INFO] [stderr] Checking os_str_bytes v0.2.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking zsplg v0.0.0-alpha2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `FFIResult`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:15:85 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe extern "C" fn zsplg_open(file: *const c_char, modname: *const c_char) -> FFIResult { [INFO] [stdout] | ^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | parent: Object, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `FFIResult`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | ) -> FFIResult { [INFO] [stdout] | ^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | obj: Object, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `FFIResult`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> FFIResult { [INFO] [stdout] | ^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | pub unsafe extern "C" fn zsplg_error_to_str(e: Object) -> Object { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:91:59 [INFO] [stdout] | [INFO] [stdout] 91 | pub unsafe extern "C" fn zsplg_error_to_str(e: Object) -> Object { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | pub extern "C" fn zsplg_is_null(w: Object) -> bool { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:107:61 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe extern "C" fn zsplg_new_str(x: *const c_char) -> Object { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | pub unsafe extern "C" fn zsplg_get_str(w: Object) -> *const c_char { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe extern "C" fn zsplg_destroy(w: Object) -> bool { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `FFIResult`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:15:85 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe extern "C" fn zsplg_open(file: *const c_char, modname: *const c_char) -> FFIResult { [INFO] [stdout] | ^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | parent: Object, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `FFIResult`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | ) -> FFIResult { [INFO] [stdout] | ^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | obj: Object, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `FFIResult`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> FFIResult { [INFO] [stdout] | ^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | pub unsafe extern "C" fn zsplg_error_to_str(e: Object) -> Object { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:91:59 [INFO] [stdout] | [INFO] [stdout] 91 | pub unsafe extern "C" fn zsplg_error_to_str(e: Object) -> Object { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | pub extern "C" fn zsplg_is_null(w: Object) -> bool { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:107:61 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe extern "C" fn zsplg_new_str(x: *const c_char) -> Object { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | pub unsafe extern "C" fn zsplg_get_str(w: Object) -> *const c_char { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe extern "C" fn zsplg_destroy(w: Object) -> bool { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.63s [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3b266936564bb4f47525795b936b5e3c000ceaa05c3643ec6b6f938bd873a5fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b266936564bb4f47525795b936b5e3c000ceaa05c3643ec6b6f938bd873a5fb", kill_on_drop: false }` [INFO] [stdout] 3b266936564bb4f47525795b936b5e3c000ceaa05c3643ec6b6f938bd873a5fb