[INFO] fetching crate zsplg 0.0.0-alpha2... [INFO] checking zsplg-0.0.0-alpha2 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate zsplg 0.0.0-alpha2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate zsplg 0.0.0-alpha2 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zsplg-core v0.0.0-alpha2 [INFO] [stderr] Downloaded try-block v0.1.0 [INFO] [stderr] Downloaded os_str_bytes v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9aeb59685c339a63f0e85cd51b4387de926e104bee43670cd6b4fde88a255b91 [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" "9aeb59685c339a63f0e85cd51b4387de926e104bee43670cd6b4fde88a255b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9aeb59685c339a63f0e85cd51b4387de926e104bee43670cd6b4fde88a255b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aeb59685c339a63f0e85cd51b4387de926e104bee43670cd6b4fde88a255b91", kill_on_drop: false }` [INFO] [stdout] 9aeb59685c339a63f0e85cd51b4387de926e104bee43670cd6b4fde88a255b91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 799b2219b64d3165bc2768089ea2c1a537a81aeac42516d58902818fb16d30eb [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" "799b2219b64d3165bc2768089ea2c1a537a81aeac42516d58902818fb16d30eb", kill_on_drop: false }` [INFO] [stderr] Compiling zsplg-core v0.0.0-alpha2 [INFO] [stderr] Checking try-block v0.1.0 [INFO] [stderr] Checking os_str_bytes v0.2.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking zsplg v0.0.0-alpha2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `FFIResult`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:15:85 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe extern "C" fn zsplg_open(file: *const c_char, modname: *const c_char) -> FFIResult { [INFO] [stdout] | ^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | parent: Object, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `FFIResult`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | ) -> FFIResult { [INFO] [stdout] | ^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | obj: Object, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `FFIResult`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> FFIResult { [INFO] [stdout] | ^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | pub unsafe extern "C" fn zsplg_error_to_str(e: Object) -> Object { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:91:59 [INFO] [stdout] | [INFO] [stdout] 91 | pub unsafe extern "C" fn zsplg_error_to_str(e: Object) -> Object { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | pub extern "C" fn zsplg_is_null(w: Object) -> bool { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:107:61 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe extern "C" fn zsplg_new_str(x: *const c_char) -> Object { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | pub unsafe extern "C" fn zsplg_get_str(w: Object) -> *const c_char { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Object`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe extern "C" fn zsplg_destroy(w: Object) -> bool { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.19s [INFO] running `Command { std: "docker" "inspect" "799b2219b64d3165bc2768089ea2c1a537a81aeac42516d58902818fb16d30eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "799b2219b64d3165bc2768089ea2c1a537a81aeac42516d58902818fb16d30eb", kill_on_drop: false }` [INFO] [stdout] 799b2219b64d3165bc2768089ea2c1a537a81aeac42516d58902818fb16d30eb