[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 beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrystalboxes%2Fxpsimport" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crystalboxes/xpsimport on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-8/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" "+beta-2020-07-24" "fetch" "--locked" "--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-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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22cc0469b0b46a6e81380a2bf6f3facf7c91e1706051f16fd65ba22e4f70bdaf [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" "22cc0469b0b46a6e81380a2bf6f3facf7c91e1706051f16fd65ba22e4f70bdaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22cc0469b0b46a6e81380a2bf6f3facf7c91e1706051f16fd65ba22e4f70bdaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22cc0469b0b46a6e81380a2bf6f3facf7c91e1706051f16fd65ba22e4f70bdaf", kill_on_drop: false }` [INFO] [stdout] 22cc0469b0b46a6e81380a2bf6f3facf7c91e1706051f16fd65ba22e4f70bdaf [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7374ccc67f710f21a5204c27953d6ca5d5d7c858dff3b8758928c8ff0b4a3355 [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" "7374ccc67f710f21a5204c27953d6ca5d5d7c858dff3b8758928c8ff0b4a3355", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.27s [INFO] running `Command { std: "docker" "inspect" "7374ccc67f710f21a5204c27953d6ca5d5d7c858dff3b8758928c8ff0b4a3355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7374ccc67f710f21a5204c27953d6ca5d5d7c858dff3b8758928c8ff0b4a3355", kill_on_drop: false }` [INFO] [stdout] 7374ccc67f710f21a5204c27953d6ca5d5d7c858dff3b8758928c8ff0b4a3355 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7704e31ba0219255d3a3f328ba48d8f9cae5da5e87d86360cf54751ba926f9d0 [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" "7704e31ba0219255d3a3f328ba48d8f9cae5da5e87d86360cf54751ba926f9d0", 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.20s [INFO] running `Command { std: "docker" "inspect" "7704e31ba0219255d3a3f328ba48d8f9cae5da5e87d86360cf54751ba926f9d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7704e31ba0219255d3a3f328ba48d8f9cae5da5e87d86360cf54751ba926f9d0", kill_on_drop: false }` [INFO] [stdout] 7704e31ba0219255d3a3f328ba48d8f9cae5da5e87d86360cf54751ba926f9d0 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 855a70f4df4d0be01e4a2bf5531f2782bdeee4e706dc77f80851e814faa4e0d4 [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" "855a70f4df4d0be01e4a2bf5531f2782bdeee4e706dc77f80851e814faa4e0d4", 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] [stdout] [INFO] [stderr] warning: `extern` fn uses type `bone_naming::BoneNaming`, which is not FFI-safe [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/interface.rs:33:25 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stderr] 33 | bone_naming_format: super::bone_naming::BoneNaming, [INFO] [stdout] [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.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/xpsimport-39dec5db2d58a2b0 [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" "855a70f4df4d0be01e4a2bf5531f2782bdeee4e706dc77f80851e814faa4e0d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "855a70f4df4d0be01e4a2bf5531f2782bdeee4e706dc77f80851e814faa4e0d4", kill_on_drop: false }` [INFO] [stdout] 855a70f4df4d0be01e4a2bf5531f2782bdeee4e706dc77f80851e814faa4e0d4