[INFO] fetching crate zsplg 0.0.0-alpha2... [INFO] testing zsplg-0.0.0-alpha2 against 1.59.0 for beta-1.60-1 [INFO] extracting crate zsplg 0.0.0-alpha2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate zsplg 0.0.0-alpha2 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dabe5dec2b2390b407623d8b0b078d7b50d65a2f08a315da7290bfd9beeb821d [INFO] running `Command { std: "docker" "start" "-a" "dabe5dec2b2390b407623d8b0b078d7b50d65a2f08a315da7290bfd9beeb821d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dabe5dec2b2390b407623d8b0b078d7b50d65a2f08a315da7290bfd9beeb821d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dabe5dec2b2390b407623d8b0b078d7b50d65a2f08a315da7290bfd9beeb821d", kill_on_drop: false }` [INFO] [stdout] dabe5dec2b2390b407623d8b0b078d7b50d65a2f08a315da7290bfd9beeb821d [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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6787d67b562badc814dbd8f258cf448dfacb0498b01689a3ef5b1a338f6b3c26 [INFO] running `Command { std: "docker" "start" "-a" "6787d67b562badc814dbd8f258cf448dfacb0498b01689a3ef5b1a338f6b3c26", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [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 `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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "6787d67b562badc814dbd8f258cf448dfacb0498b01689a3ef5b1a338f6b3c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6787d67b562badc814dbd8f258cf448dfacb0498b01689a3ef5b1a338f6b3c26", kill_on_drop: false }` [INFO] [stdout] 6787d67b562badc814dbd8f258cf448dfacb0498b01689a3ef5b1a338f6b3c26 [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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76b4dc24e7df45b18152b5925b9b3748dd94853bb3453bc12fd7ce4a0fe8c8a6 [INFO] running `Command { std: "docker" "start" "-a" "76b4dc24e7df45b18152b5925b9b3748dd94853bb3453bc12fd7ce4a0fe8c8a6", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "76b4dc24e7df45b18152b5925b9b3748dd94853bb3453bc12fd7ce4a0fe8c8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76b4dc24e7df45b18152b5925b9b3748dd94853bb3453bc12fd7ce4a0fe8c8a6", kill_on_drop: false }` [INFO] [stdout] 76b4dc24e7df45b18152b5925b9b3748dd94853bb3453bc12fd7ce4a0fe8c8a6 [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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fddefdff45053cbb822f9d2603009352fddeb2e0daa269a7daed768cb5a98640 [INFO] running `Command { std: "docker" "start" "-a" "fddefdff45053cbb822f9d2603009352fddeb2e0daa269a7daed768cb5a98640", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: `extern` fn uses type `FFIResult`, which is not FFI-safe [INFO] [stdout] running 1 test [INFO] [stderr] --> src/ffi.rs:15:85 [INFO] [stdout] test ffi::tests::strings ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 15 | pub unsafe extern "C" fn zsplg_open(file: *const c_char, modname: *const c_char) -> FFIResult { [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^ not FFI-safe [INFO] [stdout] [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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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: `zsplg` (lib) generated 11 warnings [INFO] [stderr] warning: `zsplg` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/zsplg-b07a5d2b1ae0de30) [INFO] [stderr] Doc-tests zsplg [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fddefdff45053cbb822f9d2603009352fddeb2e0daa269a7daed768cb5a98640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fddefdff45053cbb822f9d2603009352fddeb2e0daa269a7daed768cb5a98640", kill_on_drop: false }` [INFO] [stdout] fddefdff45053cbb822f9d2603009352fddeb2e0daa269a7daed768cb5a98640