[INFO] crate zsplg 0.0.0-alpha2 is already in cache [INFO] testing zsplg-0.0.0-alpha2 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate zsplg 0.0.0-alpha2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate zsplg 0.0.0-alpha2 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] bd5a2846b2013373b279ba7c3a0cfeec4e38734822b9f54541acb345fb9b33ad [INFO] running `Command { std: "docker" "start" "-a" "bd5a2846b2013373b279ba7c3a0cfeec4e38734822b9f54541acb345fb9b33ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd5a2846b2013373b279ba7c3a0cfeec4e38734822b9f54541acb345fb9b33ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd5a2846b2013373b279ba7c3a0cfeec4e38734822b9f54541acb345fb9b33ad", kill_on_drop: false }` [INFO] [stdout] bd5a2846b2013373b279ba7c3a0cfeec4e38734822b9f54541acb345fb9b33ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d508f63ebd8d3fa9e4f4f93b7a869b378461f005803159c3adb8e7e382b15681 [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" "d508f63ebd8d3fa9e4f4f93b7a869b378461f005803159c3adb8e7e382b15681", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling zsplg-core v0.0.0-alpha2 [INFO] [stderr] Compiling try-block v0.1.0 [INFO] [stderr] Compiling os_str_bytes v0.2.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling zsplg v0.0.0-alpha2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.90s [INFO] running `Command { std: "docker" "inspect" "d508f63ebd8d3fa9e4f4f93b7a869b378461f005803159c3adb8e7e382b15681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d508f63ebd8d3fa9e4f4f93b7a869b378461f005803159c3adb8e7e382b15681", kill_on_drop: false }` [INFO] [stdout] d508f63ebd8d3fa9e4f4f93b7a869b378461f005803159c3adb8e7e382b15681 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11535c62b3cdba49b97180e56a14fc602451e08eac31e58d60b91b12454ace51 [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" "11535c62b3cdba49b97180e56a14fc602451e08eac31e58d60b91b12454ace51", kill_on_drop: false }` [INFO] [stderr] Compiling zsplg v0.0.0-alpha2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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 `zsplg_core::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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "11535c62b3cdba49b97180e56a14fc602451e08eac31e58d60b91b12454ace51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11535c62b3cdba49b97180e56a14fc602451e08eac31e58d60b91b12454ace51", kill_on_drop: false }` [INFO] [stdout] 11535c62b3cdba49b97180e56a14fc602451e08eac31e58d60b91b12454ace51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8c5fd13b4bef7e24a9b8c8671615ffb62f4d21f309b03c6692a14433bff0cec2 [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" "8c5fd13b4bef7e24a9b8c8671615ffb62f4d21f309b03c6692a14433bff0cec2", 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] warning: `extern` fn uses type `zsplg_core::FFIResult`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:15:85 [INFO] [stderr] | [INFO] [stderr] 15 | pub unsafe extern "C" fn zsplg_open(file: *const c_char, modname: *const c_char) -> FFIResult { [INFO] [stderr] | ^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::FFIResult`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:15:85 [INFO] [stderr] | [INFO] [stderr] 15 | pub unsafe extern "C" fn zsplg_open(file: *const c_char, modname: *const c_char) -> FFIResult { [INFO] [stderr] | ^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | parent: Object, [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::FFIResult`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | ) -> FFIResult { [INFO] [stderr] | ^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | obj: Object, [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::FFIResult`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:62:6 [INFO] [stderr] | [INFO] [stderr] 62 | ) -> FFIResult { [INFO] [stderr] | ^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:91:48 [INFO] [stderr] | [INFO] [stderr] 91 | pub unsafe extern "C" fn zsplg_error_to_str(e: Object) -> Object { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:91:59 [INFO] [stderr] | [INFO] [stderr] 91 | pub unsafe extern "C" fn zsplg_error_to_str(e: Object) -> Object { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:100:36 [INFO] [stderr] | [INFO] [stderr] 100 | pub extern "C" fn zsplg_is_null(w: Object) -> bool { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:107:61 [INFO] [stderr] | [INFO] [stderr] 107 | pub unsafe extern "C" fn zsplg_new_str(x: *const c_char) -> Object { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:120:43 [INFO] [stderr] | [INFO] [stderr] 120 | pub unsafe extern "C" fn zsplg_get_str(w: Object) -> *const c_char { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:133:43 [INFO] [stderr] | [INFO] [stderr] 133 | pub unsafe extern "C" fn zsplg_destroy(w: Object) -> bool { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | parent: Object, [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::FFIResult`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | ) -> FFIResult { [INFO] [stderr] | ^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | obj: Object, [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::FFIResult`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:62:6 [INFO] [stderr] | [INFO] [stderr] 62 | ) -> FFIResult { [INFO] [stderr] | ^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:91:48 [INFO] [stderr] | [INFO] [stderr] 91 | pub unsafe extern "C" fn zsplg_error_to_str(e: Object) -> Object { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:91:59 [INFO] [stderr] | [INFO] [stderr] 91 | pub unsafe extern "C" fn zsplg_error_to_str(e: Object) -> Object { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:100:36 [INFO] [stderr] | [INFO] [stderr] 100 | pub extern "C" fn zsplg_is_null(w: Object) -> bool { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:107:61 [INFO] [stderr] | [INFO] [stderr] 107 | pub unsafe extern "C" fn zsplg_new_str(x: *const c_char) -> Object { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:120:43 [INFO] [stderr] | [INFO] [stderr] 120 | pub unsafe extern "C" fn zsplg_get_str(w: Object) -> *const c_char { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `zsplg_core::Object`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:133:43 [INFO] [stderr] | [INFO] [stderr] 133 | pub unsafe extern "C" fn zsplg_destroy(w: Object) -> bool { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/zsplg-daf76e6c0411516b [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests zsplg [INFO] [stdout] test ffi::tests::strings ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8c5fd13b4bef7e24a9b8c8671615ffb62f4d21f309b03c6692a14433bff0cec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c5fd13b4bef7e24a9b8c8671615ffb62f4d21f309b03c6692a14433bff0cec2", kill_on_drop: false }` [INFO] [stdout] 8c5fd13b4bef7e24a9b8c8671615ffb62f4d21f309b03c6692a14433bff0cec2