[INFO] fetching crate abi_stable 0.8.4... [INFO] checking abi_stable-0.8.4 against try#ffa4a0215752773248fb0f0a8092f1c3e7907e9e for pr-75585 [INFO] extracting crate abi_stable 0.8.4 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate abi_stable 0.8.4 on toolchain ffa4a0215752773248fb0f0a8092f1c3e7907e9e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate abi_stable 0.8.4 [INFO] finished tweaking crates.io crate abi_stable 0.8.4 [INFO] tweaked toml for crates.io crate abi_stable 0.8.4 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "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 abi_stable_derive v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65250956856ef7882a1fddb9dfcea7f12989c62d59a1cbad698743b43531b42a [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" "65250956856ef7882a1fddb9dfcea7f12989c62d59a1cbad698743b43531b42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65250956856ef7882a1fddb9dfcea7f12989c62d59a1cbad698743b43531b42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65250956856ef7882a1fddb9dfcea7f12989c62d59a1cbad698743b43531b42a", kill_on_drop: false }` [INFO] [stdout] 65250956856ef7882a1fddb9dfcea7f12989c62d59a1cbad698743b43531b42a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c67432f798d03e59175a8c4ae0f54f5d25625902e472354090753ef4d055f0c1 [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" "c67432f798d03e59175a8c4ae0f54f5d25625902e472354090753ef4d055f0c1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Compiling typed-arena v1.5.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Compiling core_extensions v0.1.17 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling abi_stable_shared v0.8.0 [INFO] [stderr] Compiling as_derive_utils v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling abi_stable_derive v0.8.4 [INFO] [stderr] Checking serde v1.0.115 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking abi_stable v0.8.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/inline_storage.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | std::mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `external_types::crossbeam_channel::errors::RRecvError`, which is not FFI-safe [INFO] [stdout] --> src/external_types/crossbeam_channel/extern_fns.rs:108:50 [INFO] [stdout] | [INFO] [stdout] 108 | pub(super) extern "C" fn recv(this:&Self) -> RResult{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/external_types/crossbeam_channel/errors.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct RRecvError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/external_types/parking_lot/once.rs:510:12 [INFO] [stdout] | [INFO] [stdout] 510 | runner:RunClosure, [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/external_types/parking_lot/once.rs:521:12 [INFO] [stdout] | [INFO] [stdout] 521 | runner:RunClosure, [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) extern "C" fn take_pair_a(pair:Tuple2)->u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) extern "C" fn take_pair_b(pair:Tuple2<(),u16>)->u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) extern "C" fn take_triple_a(triple:Tuple3<(),u16,u16>)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:69:47 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) extern "C" fn take_triple_b(triple:Tuple3)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) extern "C" fn take_triple_c(triple:Tuple3)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) extern "C" fn take_2_pairs_a(a:Tuple2<(),u16>,b:Tuple2<(),u16>)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:100:60 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) extern "C" fn take_2_pairs_a(a:Tuple2<(),u16>,b:Tuple2<(),u16>)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) extern "C" fn take_2_pairs_b(a:Tuple2,b:Tuple2)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:104:60 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) extern "C" fn take_2_pairs_b(a:Tuple2,b:Tuple2)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `library::c_abi_testing::types::MyUnit`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | _:MyUnit, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/library/c_abi_testing/types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct MyUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `library::c_abi_testing::types::MyUnit`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | _:MyUnit, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/library/c_abi_testing/types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct MyUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `library::c_abi_testing::types::MyUnit`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | _:MyUnit, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/library/c_abi_testing/types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct MyUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `marker_type::NotCopyNotClone`, which is not FFI-safe [INFO] [stdout] --> src/std_types/map/extern_fns.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | pub(super)extern "C" fn get_elem(&self,key:MapQuery<'_,K>)->Option<&V>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/marker_type.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct NotCopyNotClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `marker_type::NotCopyNotClone`, which is not FFI-safe [INFO] [stdout] --> src/std_types/map/extern_fns.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | pub(super)extern "C" fn get_mut_elem(&mut self,key:MapQuery<'_,K>)->Option<&mut V>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/marker_type.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct NotCopyNotClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `marker_type::NotCopyNotClone`, which is not FFI-safe [INFO] [stdout] --> src/std_types/map/extern_fns.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | pub(super)extern "C" fn remove_entry(&mut self,key:MapQuery<'_,K>)->ROption>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/marker_type.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct NotCopyNotClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/inline_storage.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | std::mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `external_types::crossbeam_channel::errors::RRecvError`, which is not FFI-safe [INFO] [stdout] --> src/external_types/crossbeam_channel/extern_fns.rs:108:50 [INFO] [stdout] | [INFO] [stdout] 108 | pub(super) extern "C" fn recv(this:&Self) -> RResult{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/external_types/crossbeam_channel/errors.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct RRecvError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/external_types/parking_lot/once.rs:510:12 [INFO] [stdout] | [INFO] [stdout] 510 | runner:RunClosure, [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/external_types/parking_lot/once.rs:521:12 [INFO] [stdout] | [INFO] [stdout] 521 | runner:RunClosure, [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) extern "C" fn take_pair_a(pair:Tuple2)->u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) extern "C" fn take_pair_b(pair:Tuple2<(),u16>)->u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) extern "C" fn take_triple_a(triple:Tuple3<(),u16,u16>)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:69:47 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) extern "C" fn take_triple_b(triple:Tuple3)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) extern "C" fn take_triple_c(triple:Tuple3)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) extern "C" fn take_2_pairs_a(a:Tuple2<(),u16>,b:Tuple2<(),u16>)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:100:60 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) extern "C" fn take_2_pairs_a(a:Tuple2<(),u16>,b:Tuple2<(),u16>)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) extern "C" fn take_2_pairs_b(a:Tuple2,b:Tuple2)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `()`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:104:60 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) extern "C" fn take_2_pairs_b(a:Tuple2,b:Tuple2)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a struct instead [INFO] [stdout] = note: tuples have unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `library::c_abi_testing::types::MyUnit`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | _:MyUnit, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/library/c_abi_testing/types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct MyUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `library::c_abi_testing::types::MyUnit`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | _:MyUnit, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/library/c_abi_testing/types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct MyUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `library::c_abi_testing::types::MyUnit`, which is not FFI-safe [INFO] [stdout] --> src/library/c_abi_testing/functions.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | _:MyUnit, [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/library/c_abi_testing/types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct MyUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `marker_type::NotCopyNotClone`, which is not FFI-safe [INFO] [stdout] --> src/std_types/map/extern_fns.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | pub(super)extern "C" fn get_elem(&self,key:MapQuery<'_,K>)->Option<&V>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/marker_type.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct NotCopyNotClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `marker_type::NotCopyNotClone`, which is not FFI-safe [INFO] [stdout] --> src/std_types/map/extern_fns.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | pub(super)extern "C" fn get_mut_elem(&mut self,key:MapQuery<'_,K>)->Option<&mut V>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/marker_type.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct NotCopyNotClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `marker_type::NotCopyNotClone`, which is not FFI-safe [INFO] [stdout] --> src/std_types/map/extern_fns.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | pub(super)extern "C" fn remove_entry(&mut self,key:MapQuery<'_,K>)->ROption>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/marker_type.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct NotCopyNotClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "c67432f798d03e59175a8c4ae0f54f5d25625902e472354090753ef4d055f0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c67432f798d03e59175a8c4ae0f54f5d25625902e472354090753ef4d055f0c1", kill_on_drop: false }` [INFO] [stdout] c67432f798d03e59175a8c4ae0f54f5d25625902e472354090753ef4d055f0c1