[INFO] fetching crate zsplg 0.0.0-alpha2... [INFO] testing zsplg-0.0.0-alpha2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate zsplg 0.0.0-alpha2 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate zsplg 0.0.0-alpha2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-26/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 try-block v0.1.0 [INFO] [stderr] Downloaded os_str_bytes v0.2.1 [INFO] [stderr] Downloaded zsplg-core v0.0.0-alpha2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a104338d336e917abf43a65a6ae4d7c77a5c689374cc26cce0f4bcb3646e7b9 [INFO] running `Command { std: "docker" "start" "-a" "7a104338d336e917abf43a65a6ae4d7c77a5c689374cc26cce0f4bcb3646e7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a104338d336e917abf43a65a6ae4d7c77a5c689374cc26cce0f4bcb3646e7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a104338d336e917abf43a65a6ae4d7c77a5c689374cc26cce0f4bcb3646e7b9", kill_on_drop: false }` [INFO] [stdout] 7a104338d336e917abf43a65a6ae4d7c77a5c689374cc26cce0f4bcb3646e7b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8775178e22352ec43fc00717f86ccfa98e5e2f652567667a4b3d1e43f0cea245 [INFO] running `Command { std: "docker" "start" "-a" "8775178e22352ec43fc00717f86ccfa98e5e2f652567667a4b3d1e43f0cea245", 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] Blocking waiting for file lock on package cache [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.22s [INFO] running `Command { std: "docker" "inspect" "8775178e22352ec43fc00717f86ccfa98e5e2f652567667a4b3d1e43f0cea245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8775178e22352ec43fc00717f86ccfa98e5e2f652567667a4b3d1e43f0cea245", kill_on_drop: false }` [INFO] [stdout] 8775178e22352ec43fc00717f86ccfa98e5e2f652567667a4b3d1e43f0cea245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f0d7c9dfc1c8c779ba88cfebdd8dcf596d172dad223059a7b7cb4d5ca678b50 [INFO] running `Command { std: "docker" "start" "-a" "3f0d7c9dfc1c8c779ba88cfebdd8dcf596d172dad223059a7b7cb4d5ca678b50", kill_on_drop: false }` [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] 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 test [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "3f0d7c9dfc1c8c779ba88cfebdd8dcf596d172dad223059a7b7cb4d5ca678b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f0d7c9dfc1c8c779ba88cfebdd8dcf596d172dad223059a7b7cb4d5ca678b50", kill_on_drop: false }` [INFO] [stdout] 3f0d7c9dfc1c8c779ba88cfebdd8dcf596d172dad223059a7b7cb4d5ca678b50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1df75a75a17dc845aa1306cabccf0e130be634c05f6610fd61daa9fb07d46e9c [INFO] running `Command { std: "docker" "start" "-a" "1df75a75a17dc845aa1306cabccf0e130be634c05f6610fd61daa9fb07d46e9c", kill_on_drop: false }` [INFO] [stderr] warning: `extern` fn uses type `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 `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.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/zsplg-2f3e0ff0cdd0f12c) [INFO] [stdout] [INFO] [stdout] running 1 test [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; finished in 0.00s [INFO] [stdout] [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" "1df75a75a17dc845aa1306cabccf0e130be634c05f6610fd61daa9fb07d46e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1df75a75a17dc845aa1306cabccf0e130be634c05f6610fd61daa9fb07d46e9c", kill_on_drop: false }` [INFO] [stdout] 1df75a75a17dc845aa1306cabccf0e130be634c05f6610fd61daa9fb07d46e9c