[INFO] updating cached repository https://github.com/crystalboxes/xpsimport [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd65ef3df5e89e1bb0bc273c7f4366b9dad98a96 [INFO] testing crystalboxes/xpsimport against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrystalboxes%2Fxpsimport" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crystalboxes/xpsimport 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 git repo https://github.com/crystalboxes/xpsimport [INFO] finished tweaking git repo https://github.com/crystalboxes/xpsimport [INFO] tweaked toml for git repo https://github.com/crystalboxes/xpsimport written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/crystalboxes/xpsimport already has a lockfile, it will not be regenerated [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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/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] 93ac9446c79d489d17b7f06927c092412ed51d24ceedfa1188de785e4b05e6aa [INFO] running `Command { std: "docker" "start" "-a" "93ac9446c79d489d17b7f06927c092412ed51d24ceedfa1188de785e4b05e6aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93ac9446c79d489d17b7f06927c092412ed51d24ceedfa1188de785e4b05e6aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ac9446c79d489d17b7f06927c092412ed51d24ceedfa1188de785e4b05e6aa", kill_on_drop: false }` [INFO] [stdout] 93ac9446c79d489d17b7f06927c092412ed51d24ceedfa1188de785e4b05e6aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a5057ffcb21179ea4906c610cc2bfba44dfc7293a0ae5af89098a959b10a002 [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" "5a5057ffcb21179ea4906c610cc2bfba44dfc7293a0ae5af89098a959b10a002", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling xpsimport v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `bone_naming::BoneNaming`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | bone_naming_format: super::bone_naming::BoneNaming, [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)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/bone_naming.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub enum BoneNaming { [INFO] [stdout] 2 | | Default, [INFO] [stdout] 3 | | Mecanim, [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::boxed::Box`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | ) -> Box { [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 `error_types::XpsError`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:58:61 [INFO] [stdout] | [INFO] [stdout] 58 | pub extern "C" fn xps_get_error(model: *mut types::Data) -> XpsError { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/error_types.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub enum XpsError { [INFO] [stdout] 7 | | StreamNotOpened, [INFO] [stdout] 8 | | InvalidHeader, [INFO] [stdout] 9 | | Unknown, [INFO] [stdout] ... | [INFO] [stdout] 15 | | None, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::boxed::Box`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | pub extern "C" fn xps_delete_model(model: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.99s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5a5057ffcb21179ea4906c610cc2bfba44dfc7293a0ae5af89098a959b10a002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a5057ffcb21179ea4906c610cc2bfba44dfc7293a0ae5af89098a959b10a002", kill_on_drop: false }` [INFO] [stdout] 5a5057ffcb21179ea4906c610cc2bfba44dfc7293a0ae5af89098a959b10a002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", 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] 4f1648022bc19315715aa2624c9790ef399b3a5cca0be14acd555933a426db34 [INFO] running `Command { std: "docker" "start" "-a" "4f1648022bc19315715aa2624c9790ef399b3a5cca0be14acd555933a426db34", kill_on_drop: false }` [INFO] [stderr] Compiling xpsimport v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `bone_naming::BoneNaming`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | bone_naming_format: super::bone_naming::BoneNaming, [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)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/bone_naming.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub enum BoneNaming { [INFO] [stdout] 2 | | Default, [INFO] [stdout] 3 | | Mecanim, [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::boxed::Box`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | ) -> Box { [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 `error_types::XpsError`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:58:61 [INFO] [stdout] | [INFO] [stdout] 58 | pub extern "C" fn xps_get_error(model: *mut types::Data) -> XpsError { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/error_types.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub enum XpsError { [INFO] [stdout] 7 | | StreamNotOpened, [INFO] [stdout] 8 | | InvalidHeader, [INFO] [stdout] 9 | | Unknown, [INFO] [stdout] ... | [INFO] [stdout] 15 | | None, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::boxed::Box`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | pub extern "C" fn xps_delete_model(model: Box) { [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `bone_naming::BoneNaming`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | bone_naming_format: super::bone_naming::BoneNaming, [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)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/bone_naming.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub enum BoneNaming { [INFO] [stdout] 2 | | Default, [INFO] [stdout] 3 | | Mecanim, [INFO] [stdout] 4 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::boxed::Box`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | ) -> Box { [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 `error_types::XpsError`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:58:61 [INFO] [stdout] | [INFO] [stdout] 58 | pub extern "C" fn xps_get_error(model: *mut types::Data) -> XpsError { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/error_types.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub enum XpsError { [INFO] [stdout] 7 | | StreamNotOpened, [INFO] [stdout] 8 | | InvalidHeader, [INFO] [stdout] 9 | | Unknown, [INFO] [stdout] ... | [INFO] [stdout] 15 | | None, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::boxed::Box`, which is not FFI-safe [INFO] [stdout] --> src/interface.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | pub extern "C" fn xps_delete_model(model: Box) { [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `Command { std: "docker" "inspect" "4f1648022bc19315715aa2624c9790ef399b3a5cca0be14acd555933a426db34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1648022bc19315715aa2624c9790ef399b3a5cca0be14acd555933a426db34", kill_on_drop: false }` [INFO] [stdout] 4f1648022bc19315715aa2624c9790ef399b3a5cca0be14acd555933a426db34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", 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] 318016efbf44e1f44687063e73797e634c91074b2cb993af5677803c749ecb69 [INFO] running `Command { std: "docker" "start" "-a" "318016efbf44e1f44687063e73797e634c91074b2cb993af5677803c749ecb69", kill_on_drop: false }` [INFO] [stderr] warning: `extern` fn uses type `bone_naming::BoneNaming`, which is not FFI-safe [INFO] [stderr] --> src/interface.rs:33:25 [INFO] [stderr] | [INFO] [stderr] 33 | bone_naming_format: super::bone_naming::BoneNaming, [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)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stderr] = note: enum has no representation hint [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/bone_naming.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub enum BoneNaming { [INFO] [stderr] 2 | | Default, [INFO] [stderr] 3 | | Mecanim, [INFO] [stderr] 4 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::boxed::Box`, which is not FFI-safe [INFO] [stderr] --> src/interface.rs:36:6 [INFO] [stderr] | [INFO] [stderr] 36 | ) -> Box { [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 `error_types::XpsError`, which is not FFI-safe [INFO] [stderr] --> src/interface.rs:58:61 [INFO] [stderr] | [INFO] [stderr] 58 | pub extern "C" fn xps_get_error(model: *mut types::Data) -> XpsError { [INFO] [stderr] | ^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stderr] = note: enum has no representation hint [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/error_types.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / pub enum XpsError { [INFO] [stderr] 7 | | StreamNotOpened, [INFO] [stderr] 8 | | InvalidHeader, [INFO] [stderr] 9 | | Unknown, [INFO] [stderr] ... | [INFO] [stderr] 15 | | None, [INFO] [stderr] 16 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::boxed::Box`, which is not FFI-safe [INFO] [stderr] --> src/interface.rs:64:43 [INFO] [stderr] | [INFO] [stderr] 64 | pub extern "C" fn xps_delete_model(model: Box) { [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: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `bone_naming::BoneNaming`, which is not FFI-safe [INFO] [stderr] --> src/interface.rs:33:25 [INFO] [stderr] | [INFO] [stderr] 33 | bone_naming_format: super::bone_naming::BoneNaming, [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)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stderr] = note: enum has no representation hint [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/bone_naming.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub enum BoneNaming { [INFO] [stderr] 2 | | Default, [INFO] [stderr] 3 | | Mecanim, [INFO] [stderr] 4 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::boxed::Box`, which is not FFI-safe [INFO] [stderr] --> src/interface.rs:36:6 [INFO] [stderr] | [INFO] [stderr] 36 | ) -> Box { [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 `error_types::XpsError`, which is not FFI-safe [INFO] [stderr] --> src/interface.rs:58:61 [INFO] [stderr] | [INFO] [stderr] 58 | pub extern "C" fn xps_get_error(model: *mut types::Data) -> XpsError { [INFO] [stderr] | ^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stderr] = note: enum has no representation hint [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/error_types.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / pub enum XpsError { [INFO] [stderr] 7 | | StreamNotOpened, [INFO] [stderr] 8 | | InvalidHeader, [INFO] [stderr] 9 | | Unknown, [INFO] [stderr] ... | [INFO] [stderr] 15 | | None, [INFO] [stderr] 16 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::boxed::Box`, which is not FFI-safe [INFO] [stderr] --> src/interface.rs:64:43 [INFO] [stderr] | [INFO] [stderr] 64 | pub extern "C" fn xps_delete_model(model: Box) { [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: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/xpsimport-a6600bdf95270530 [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] [stderr] Doc-tests xpsimport [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" "318016efbf44e1f44687063e73797e634c91074b2cb993af5677803c749ecb69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "318016efbf44e1f44687063e73797e634c91074b2cb993af5677803c749ecb69", kill_on_drop: false }` [INFO] [stdout] 318016efbf44e1f44687063e73797e634c91074b2cb993af5677803c749ecb69