[INFO] fetching crate abi_stable 0.8.4... [INFO] checking abi_stable-0.8.4 against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] extracting crate abi_stable 0.8.4 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate abi_stable 0.8.4 on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88a924aa60f800767f6ba1247ad94160ed3931b15eabb303ad415ea240b5aae6 [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" "88a924aa60f800767f6ba1247ad94160ed3931b15eabb303ad415ea240b5aae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88a924aa60f800767f6ba1247ad94160ed3931b15eabb303ad415ea240b5aae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a924aa60f800767f6ba1247ad94160ed3931b15eabb303ad415ea240b5aae6", kill_on_drop: false }` [INFO] [stdout] 88a924aa60f800767f6ba1247ad94160ed3931b15eabb303ad415ea240b5aae6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6dedee196c361c022b698d30888f8c32bf0c9f18589bfe20a28b56387f4018b [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" "b6dedee196c361c022b698d30888f8c32bf0c9f18589bfe20a28b56387f4018b", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling typed-arena v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Compiling core_extensions v0.1.17 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.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] Compiling syn v1.0.39 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Compiling abi_stable_shared v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon-core v1.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 39s [INFO] running `Command { std: "docker" "inspect" "b6dedee196c361c022b698d30888f8c32bf0c9f18589bfe20a28b56387f4018b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6dedee196c361c022b698d30888f8c32bf0c9f18589bfe20a28b56387f4018b", kill_on_drop: false }` [INFO] [stdout] b6dedee196c361c022b698d30888f8c32bf0c9f18589bfe20a28b56387f4018b