[INFO] fetching crate libflo_api 0.1.2... [INFO] checking libflo_api-0.1.2 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate libflo_api 0.1.2 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate libflo_api 0.1.2 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libflo_api 0.1.2 [INFO] removed path dependency libflo from crates.io crate libflo_api 0.1.2 [INFO] removed path dependency libflo_dynamic_event from crates.io crate libflo_api 0.1.2 [INFO] removed path dependency libflo_error from crates.io crate libflo_api 0.1.2 [INFO] removed path dependency libflo_func from crates.io crate libflo_api 0.1.2 [INFO] removed path dependency libflo_module from crates.io crate libflo_api 0.1.2 [INFO] removed path dependency mut_static from crates.io crate libflo_api 0.1.2 [INFO] finished tweaking crates.io crate libflo_api 0.1.2 [INFO] tweaked toml for crates.io crate libflo_api 0.1.2 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20224e2636a65adf54a43bbe1050fe97b67fafda22b0f9f6c9ac40a90b0d6a9e [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" "20224e2636a65adf54a43bbe1050fe97b67fafda22b0f9f6c9ac40a90b0d6a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20224e2636a65adf54a43bbe1050fe97b67fafda22b0f9f6c9ac40a90b0d6a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20224e2636a65adf54a43bbe1050fe97b67fafda22b0f9f6c9ac40a90b0d6a9e", kill_on_drop: false }` [INFO] [stdout] 20224e2636a65adf54a43bbe1050fe97b67fafda22b0f9f6c9ac40a90b0d6a9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d965b2dd7fdeb9a0e00824c68c8b4aa4c0ed2b7e1073feb075d0f6c9858d1fc [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" "4d965b2dd7fdeb9a0e00824c68c8b4aa4c0ed2b7e1073feb075d0f6c9858d1fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking dtoa v0.2.2 [INFO] [stderr] Checking itoa v0.1.1 [INFO] [stderr] Compiling sharedlib v6.0.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling syntex_pos v0.44.0 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling syntex_errors v0.44.0 [INFO] [stderr] Compiling syntex_syntax v0.44.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_json v0.8.6 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking error-chain v0.5.0 [INFO] [stderr] Checking backtrace v0.3.51 [INFO] [stderr] Checking error-chain v0.7.2 [INFO] [stderr] Checking libflo_error v0.1.2 [INFO] [stderr] Checking mut_static v0.1.0 [INFO] [stderr] Compiling aster v0.27.0 [INFO] [stderr] Compiling syntex v0.44.0 [INFO] [stderr] Compiling serde_codegen_internals v0.8.9 [INFO] [stderr] Compiling quasi v0.20.1 [INFO] [stderr] Compiling quasi_codegen v0.20.0 [INFO] [stderr] Compiling serde_codegen v0.8.9 [INFO] [stderr] Compiling libflo_module v0.1.2 [INFO] [stderr] Compiling libflo_func v0.1.2 [INFO] [stderr] Compiling libflo_event v0.1.2 [INFO] [stderr] Compiling libflo_dynamic_event v0.1.2 [INFO] [stderr] Compiling libflo_api v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking libflo v0.1.2 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/libflo_api-8e98421467705167/out/serde_types.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | ... try!(_serializer . serialize_struct ( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/libflo_api-8e98421467705167/out/serde_types.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | try!(_serializer . serialize_struct_elt ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/libflo_api-8e98421467705167/out/serde_types.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | try!(_serializer . serialize_struct_elt ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/libflo_api-8e98421467705167/out/serde_types.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | try!(_serializer . serialize_struct_elt ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/func/construct.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pub extern fn construct(libflo: &Any) -> FuncResult<()> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/static_libflo.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref STATIC_LIBFLO: MutStatic> = { [INFO] [stdout] 7 | | MutStatic::new() [INFO] [stdout] 8 | | }; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/libflo_api-8e98421467705167/out/serde_types.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | ... try!(_serializer . serialize_struct ( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/libflo_api-8e98421467705167/out/serde_types.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | try!(_serializer . serialize_struct_elt ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/libflo_api-8e98421467705167/out/serde_types.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | try!(_serializer . serialize_struct_elt ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/libflo_api-8e98421467705167/out/serde_types.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | try!(_serializer . serialize_struct_elt ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/func/construct.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pub extern fn construct(libflo: &Any) -> FuncResult<()> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/static_libflo.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref STATIC_LIBFLO: MutStatic> = { [INFO] [stdout] 7 | | MutStatic::new() [INFO] [stdout] 8 | | }; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `dyn std::any::Any`, which is not FFI-safe [INFO] [stdout] --> src/func/construct.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | pub extern fn construct(libflo: &Any) -> FuncResult<()> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: trait objects have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), libflo_error::Error>`, which is not FFI-safe [INFO] [stdout] --> src/func/construct.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | pub extern fn construct(libflo: &Any) -> FuncResult<()> { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `dyn std::any::Any`, which is not FFI-safe [INFO] [stdout] --> src/func/construct.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | pub extern fn construct(libflo: &Any) -> FuncResult<()> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: trait objects have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), libflo_error::Error>`, which is not FFI-safe [INFO] [stdout] --> src/func/get.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn get() -> FuncResult<()> { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/func/get_file_from_submodule.rs:7:71 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn get_file_from_submodule(get_file_from_submodule_params: &str) -> FuncResult { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/func/get_file_from_submodule.rs:7:80 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn get_file_from_submodule(get_file_from_submodule_params: &str) -> FuncResult { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/func/get_file_from_submodules.rs:6:73 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern fn get_file_from_submodules(get_file_from_submodules_params: &str) -> FuncResult { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/func/get_file_from_submodules.rs:6:82 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern fn get_file_from_submodules(get_file_from_submodules_params: &str) -> FuncResult { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/func/get_modules_with_submodule.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern fn get_modules_with_submodule(submodule_id: &str) -> FuncResult { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/func/get_modules_with_submodule.rs:6:65 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern fn get_modules_with_submodule(submodule_id: &str) -> FuncResult { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), libflo_error::Error>`, which is not FFI-safe [INFO] [stdout] --> src/func/construct.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | pub extern fn construct(libflo: &Any) -> FuncResult<()> { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), libflo_error::Error>`, which is not FFI-safe [INFO] [stdout] --> src/func/get.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn get() -> FuncResult<()> { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/func/get_file_from_submodule.rs:7:71 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn get_file_from_submodule(get_file_from_submodule_params: &str) -> FuncResult { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/func/get_file_from_submodule.rs:7:80 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn get_file_from_submodule(get_file_from_submodule_params: &str) -> FuncResult { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/func/get_file_from_submodules.rs:6:73 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern fn get_file_from_submodules(get_file_from_submodules_params: &str) -> FuncResult { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/func/get_file_from_submodules.rs:6:82 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern fn get_file_from_submodules(get_file_from_submodules_params: &str) -> FuncResult { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/func/get_modules_with_submodule.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern fn get_modules_with_submodule(submodule_id: &str) -> FuncResult { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/func/get_modules_with_submodule.rs:6:65 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern fn get_modules_with_submodule(submodule_id: &str) -> FuncResult { [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] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "4d965b2dd7fdeb9a0e00824c68c8b4aa4c0ed2b7e1073feb075d0f6c9858d1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d965b2dd7fdeb9a0e00824c68c8b4aa4c0ed2b7e1073feb075d0f6c9858d1fc", kill_on_drop: false }` [INFO] [stdout] 4d965b2dd7fdeb9a0e00824c68c8b4aa4c0ed2b7e1073feb075d0f6c9858d1fc