[INFO] fetching crate abi_stable 0.8.4... [INFO] checking abi_stable-0.8.4 against try#894d32a5432c6a6461bb2aac7c3d5f2e87dce83f for pr-77015 [INFO] extracting crate abi_stable 0.8.4 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate abi_stable 0.8.4 on toolchain 894d32a5432c6a6461bb2aac7c3d5f2e87dce83f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d054271959ee62a3f739a02f68ce4116f28be708eb2fa73c3eb809acb192516d [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" "d054271959ee62a3f739a02f68ce4116f28be708eb2fa73c3eb809acb192516d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d054271959ee62a3f739a02f68ce4116f28be708eb2fa73c3eb809acb192516d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d054271959ee62a3f739a02f68ce4116f28be708eb2fa73c3eb809acb192516d", kill_on_drop: false }` [INFO] [stdout] d054271959ee62a3f739a02f68ce4116f28be708eb2fa73c3eb809acb192516d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84de87cc1c3c6c9dbab991b65ad2003873d1d3f67e8365b9c54ee44a4a9164ed [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" "84de87cc1c3c6c9dbab991b65ad2003873d1d3f67e8365b9c54ee44a4a9164ed", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling typed-arena v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling core_extensions v0.1.17 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking abi_stable_shared v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Compiling as_derive_utils v0.8.3 [INFO] [stderr] Compiling abi_stable_derive v0.8.4 [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 criterion v0.2.11 [INFO] [stderr] Checking abi_stable v0.8.4 (/opt/rustwide/workdir) [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: 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] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/erased_types/dyn_trait.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | ManuallyDrop::new(unerasability); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | #![deny(unused_must_use)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `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 `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 `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 `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] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_types/move_ptr.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | ManuallyDrop::new(this); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/extra_checks.rs:656:1 [INFO] [stdout] | [INFO] [stdout] 656 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/extra_checks.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/doc_examples.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `abi_stable` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/erased_types/dyn_trait.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | ManuallyDrop::new(unerasability); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | #![deny(unused_must_use)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `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 `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 `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 `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] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_types/move_ptr.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | ManuallyDrop::new(this); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/extra_checks.rs:656:1 [INFO] [stdout] | [INFO] [stdout] 656 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/extra_checks.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/layout_tests/sabi_trait.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/layout_tests/sabi_trait.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/layout_tests/sabi_trait.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/layout_tests/sabi_trait.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/layout_tests/sabi_trait.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/layout_tests/sabi_trait.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/layout_tests/sabi_trait.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/abi_stability/layout_tests/sabi_trait.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/examples.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/examples.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/examples.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/examples.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/examples.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/examples.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/doc_examples.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/tests.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/tests.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/tests.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/tests.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/tests.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/tests.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/tests.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/test_supertraits.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/test_supertraits.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/test_supertraits.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/test_supertraits.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::ManuallyDrop::::new` that must be used [INFO] [stdout] --> src/sabi_trait/test_supertraits.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the wrapper, you can use `mem::forget` instead [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "84de87cc1c3c6c9dbab991b65ad2003873d1d3f67e8365b9c54ee44a4a9164ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84de87cc1c3c6c9dbab991b65ad2003873d1d3f67e8365b9c54ee44a4a9164ed", kill_on_drop: false }` [INFO] [stdout] 84de87cc1c3c6c9dbab991b65ad2003873d1d3f67e8365b9c54ee44a4a9164ed