[INFO] fetching crate consistenttime 0.2.0... [INFO] checking consistenttime-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate consistenttime 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate consistenttime 0.2.0 [INFO] finished tweaking crates.io crate consistenttime 0.2.0 [INFO] tweaked toml for crates.io crate consistenttime 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate consistenttime 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39f0ecf0e88b0c898cad31f4a3112d8914c83f38b1085cb820855bbd27df7e25 [INFO] running `Command { std: "docker" "start" "-a" "39f0ecf0e88b0c898cad31f4a3112d8914c83f38b1085cb820855bbd27df7e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39f0ecf0e88b0c898cad31f4a3112d8914c83f38b1085cb820855bbd27df7e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f0ecf0e88b0c898cad31f4a3112d8914c83f38b1085cb820855bbd27df7e25", kill_on_drop: false }` [INFO] [stdout] 39f0ecf0e88b0c898cad31f4a3112d8914c83f38b1085cb820855bbd27df7e25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afb0ae51c6c2d587bb9a8b40b752a19c8c3e5487522ac3b6f59ca1c061b7e158 [INFO] running `Command { std: "docker" "start" "-a" "afb0ae51c6c2d587bb9a8b40b752a19c8c3e5487522ac3b6f59ca1c061b7e158", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking consistenttime v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | let t_val: u8 = unsafe{ ::core::mem::transmute(t) }; [INFO] [stdout] | ----------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | let f_val: u8 = unsafe{ ::core::mem::transmute(f) }; [INFO] [stdout] | ----------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 225 | / ct_eq_slice_gen!(ct_u8_slice_eq,ct_u8_eq,u8;; [INFO] [stdout] 226 | | test_ct_u8_slice_eq, MAX_U8); [INFO] [stdout] | |________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 225 | / ct_eq_slice_gen!(ct_u8_slice_eq,ct_u8_eq,u8;; [INFO] [stdout] 226 | | test_ct_u8_slice_eq, MAX_U8); [INFO] [stdout] | |________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 227 | / ct_eq_slice_gen!(ct_u16_slice_eq,ct_u16_eq,u16;; [INFO] [stdout] 228 | | test_ct_u16_slice_eq, MAX_U16); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 227 | / ct_eq_slice_gen!(ct_u16_slice_eq,ct_u16_eq,u16;; [INFO] [stdout] 228 | | test_ct_u16_slice_eq, MAX_U16); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u32]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 229 | / ct_eq_slice_gen!(ct_u32_slice_eq,ct_u32_eq,u32;; [INFO] [stdout] 230 | | test_ct_u32_slice_eq, MAX_U32); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u32]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 229 | / ct_eq_slice_gen!(ct_u32_slice_eq,ct_u32_eq,u32;; [INFO] [stdout] 230 | | test_ct_u32_slice_eq, MAX_U32); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u64]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 231 | / ct_eq_slice_gen!(ct_u64_slice_eq,ct_u64_eq,u64;; [INFO] [stdout] 232 | | test_ct_u64_slice_eq, MAX_U64); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u64]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 231 | / ct_eq_slice_gen!(ct_u64_slice_eq,ct_u64_eq,u64;; [INFO] [stdout] 232 | | test_ct_u64_slice_eq, MAX_U64); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[usize]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 233 | / ct_eq_slice_gen!(ct_usize_slice_eq,ct_usize_eq,usize;; [INFO] [stdout] 234 | | test_ct_usize_slice_eq, MAX_USIZE); [INFO] [stdout] | |______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[usize]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 233 | / ct_eq_slice_gen!(ct_usize_slice_eq,ct_usize_eq,usize;; [INFO] [stdout] 234 | | test_ct_usize_slice_eq, MAX_USIZE); [INFO] [stdout] | |______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | let val: u8 = unsafe{trans(flag)}; [INFO] [stdout] | -----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 279 | / ct_select_gen!(ct_select_u8,MAX_U8,u8;; [INFO] [stdout] 280 | | test_ct_select_u8,155,4); [INFO] [stdout] | |____________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ct_select_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | let val: u8 = unsafe{trans(flag)}; [INFO] [stdout] | -----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 281 | / ct_select_gen!(ct_select_u16,MAX_U16,u16;; [INFO] [stdout] 282 | | test_ct_select_u16,30597,4); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ct_select_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | let val: u8 = unsafe{trans(flag)}; [INFO] [stdout] | -----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 283 | / ct_select_gen!(ct_select_u32,MAX_U32,u32;; [INFO] [stdout] 284 | | test_ct_select_u32,0x0DD74AA2,4); [INFO] [stdout] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ct_select_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | let val: u8 = unsafe{trans(flag)}; [INFO] [stdout] | -----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 285 | / ct_select_gen!(ct_select_u64,MAX_U64,u64;; [INFO] [stdout] 286 | | test_ct_select_u64,155,4); [INFO] [stdout] | |_____________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ct_select_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | let val: u8 = unsafe{trans(flag)}; [INFO] [stdout] | -----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 287 | / ct_select_gen!(ct_select_usize,MAX_USIZE,usize;; [INFO] [stdout] 288 | | test_ct_select_usize,155,4); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ct_select_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 338 | / ct_constant_copy_gen!(ct_copy_u8,MAX_U8,u8,ct_select_u8;; [INFO] [stdout] 339 | | test_ct_copy_u8,ct_u8_slice_eq,test_ct_copy_u8_panic); [INFO] [stdout] | |_________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 338 | / ct_constant_copy_gen!(ct_copy_u8,MAX_U8,u8,ct_select_u8;; [INFO] [stdout] 339 | | test_ct_copy_u8,ct_u8_slice_eq,test_ct_copy_u8_panic); [INFO] [stdout] | |_________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 340 | / ct_constant_copy_gen!(ct_copy_u16,MAX_U16,u16,ct_select_u16;; [INFO] [stdout] 341 | | test_ct_copy_u16,ct_u16_slice_eq,test_ct_copy_u16_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 340 | / ct_constant_copy_gen!(ct_copy_u16,MAX_U16,u16,ct_select_u16;; [INFO] [stdout] 341 | | test_ct_copy_u16,ct_u16_slice_eq,test_ct_copy_u16_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u32]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 342 | / ct_constant_copy_gen!(ct_copy_u32,MAX_U32,u32,ct_select_u32;; [INFO] [stdout] 343 | | test_ct_copy_u32,ct_u32_slice_eq,test_ct_copy_u32_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u32]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 342 | / ct_constant_copy_gen!(ct_copy_u32,MAX_U32,u32,ct_select_u32;; [INFO] [stdout] 343 | | test_ct_copy_u32,ct_u32_slice_eq,test_ct_copy_u32_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u64]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 344 | / ct_constant_copy_gen!(ct_copy_u64,MAX_U64,u64,ct_select_u64;; [INFO] [stdout] 345 | | test_ct_copy_u64,ct_u64_slice_eq,test_ct_copy_u64_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u64]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 344 | / ct_constant_copy_gen!(ct_copy_u64,MAX_U64,u64,ct_select_u64;; [INFO] [stdout] 345 | | test_ct_copy_u64,ct_u64_slice_eq,test_ct_copy_u64_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[usize]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 346 | / ct_constant_copy_gen!(ct_copy_usize,MAX_USIZE,usize,ct_select_usize;; [INFO] [stdout] 347 | | test_ct_copy_usize,ct_usize_slice_eq,test_ct_copy_usize_panic); [INFO] [stdout] | |__________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[usize]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 346 | / ct_constant_copy_gen!(ct_copy_usize,MAX_USIZE,usize,ct_select_usize;; [INFO] [stdout] 347 | | test_ct_copy_usize,ct_usize_slice_eq,test_ct_copy_usize_panic); [INFO] [stdout] | |__________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 225 | / ct_eq_slice_gen!(ct_u8_slice_eq,ct_u8_eq,u8;; [INFO] [stdout] 226 | | test_ct_u8_slice_eq, MAX_U8); [INFO] [stdout] | |________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 225 | / ct_eq_slice_gen!(ct_u8_slice_eq,ct_u8_eq,u8;; [INFO] [stdout] 226 | | test_ct_u8_slice_eq, MAX_U8); [INFO] [stdout] | |________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 227 | / ct_eq_slice_gen!(ct_u16_slice_eq,ct_u16_eq,u16;; [INFO] [stdout] 228 | | test_ct_u16_slice_eq, MAX_U16); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 227 | / ct_eq_slice_gen!(ct_u16_slice_eq,ct_u16_eq,u16;; [INFO] [stdout] 228 | | test_ct_u16_slice_eq, MAX_U16); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u32]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 229 | / ct_eq_slice_gen!(ct_u32_slice_eq,ct_u32_eq,u32;; [INFO] [stdout] 230 | | test_ct_u32_slice_eq, MAX_U32); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u32]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 229 | / ct_eq_slice_gen!(ct_u32_slice_eq,ct_u32_eq,u32;; [INFO] [stdout] 230 | | test_ct_u32_slice_eq, MAX_U32); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u64]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 231 | / ct_eq_slice_gen!(ct_u64_slice_eq,ct_u64_eq,u64;; [INFO] [stdout] 232 | | test_ct_u64_slice_eq, MAX_U64); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u64]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 231 | / ct_eq_slice_gen!(ct_u64_slice_eq,ct_u64_eq,u64;; [INFO] [stdout] 232 | | test_ct_u64_slice_eq, MAX_U64); [INFO] [stdout] | |__________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[usize]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 233 | / ct_eq_slice_gen!(ct_usize_slice_eq,ct_usize_eq,usize;; [INFO] [stdout] 234 | | test_ct_usize_slice_eq, MAX_USIZE); [INFO] [stdout] | |______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[usize]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:199:50 [INFO] [stdout] | [INFO] [stdout] 199 | pub extern "C" fn $name( x: &[$code], y: &[$code]) -> bool { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 233 | / ct_eq_slice_gen!(ct_usize_slice_eq,ct_usize_eq,usize;; [INFO] [stdout] 234 | | test_ct_usize_slice_eq, MAX_USIZE); [INFO] [stdout] | |______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_eq_slice_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | let val: u8 = unsafe{trans(flag)}; [INFO] [stdout] | -----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 279 | / ct_select_gen!(ct_select_u8,MAX_U8,u8;; [INFO] [stdout] 280 | | test_ct_select_u8,155,4); [INFO] [stdout] | |____________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ct_select_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | let val: u8 = unsafe{trans(flag)}; [INFO] [stdout] | -----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 281 | / ct_select_gen!(ct_select_u16,MAX_U16,u16;; [INFO] [stdout] 282 | | test_ct_select_u16,30597,4); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ct_select_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | let val: u8 = unsafe{trans(flag)}; [INFO] [stdout] | -----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 283 | / ct_select_gen!(ct_select_u32,MAX_U32,u32;; [INFO] [stdout] 284 | | test_ct_select_u32,0x0DD74AA2,4); [INFO] [stdout] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ct_select_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | let val: u8 = unsafe{trans(flag)}; [INFO] [stdout] | -----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 285 | / ct_select_gen!(ct_select_u64,MAX_U64,u64;; [INFO] [stdout] 286 | | test_ct_select_u64,155,4); [INFO] [stdout] | |_____________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ct_select_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | let val: u8 = unsafe{trans(flag)}; [INFO] [stdout] | -----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 287 | / ct_select_gen!(ct_select_usize,MAX_USIZE,usize;; [INFO] [stdout] 288 | | test_ct_select_usize,155,4); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ct_select_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 338 | / ct_constant_copy_gen!(ct_copy_u8,MAX_U8,u8,ct_select_u8;; [INFO] [stdout] 339 | | test_ct_copy_u8,ct_u8_slice_eq,test_ct_copy_u8_panic); [INFO] [stdout] | |_________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 338 | / ct_constant_copy_gen!(ct_copy_u8,MAX_U8,u8,ct_select_u8;; [INFO] [stdout] 339 | | test_ct_copy_u8,ct_u8_slice_eq,test_ct_copy_u8_panic); [INFO] [stdout] | |_________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 340 | / ct_constant_copy_gen!(ct_copy_u16,MAX_U16,u16,ct_select_u16;; [INFO] [stdout] 341 | | test_ct_copy_u16,ct_u16_slice_eq,test_ct_copy_u16_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 340 | / ct_constant_copy_gen!(ct_copy_u16,MAX_U16,u16,ct_select_u16;; [INFO] [stdout] 341 | | test_ct_copy_u16,ct_u16_slice_eq,test_ct_copy_u16_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u32]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 342 | / ct_constant_copy_gen!(ct_copy_u32,MAX_U32,u32,ct_select_u32;; [INFO] [stdout] 343 | | test_ct_copy_u32,ct_u32_slice_eq,test_ct_copy_u32_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u32]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 342 | / ct_constant_copy_gen!(ct_copy_u32,MAX_U32,u32,ct_select_u32;; [INFO] [stdout] 343 | | test_ct_copy_u32,ct_u32_slice_eq,test_ct_copy_u32_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u64]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 344 | / ct_constant_copy_gen!(ct_copy_u64,MAX_U64,u64,ct_select_u64;; [INFO] [stdout] 345 | | test_ct_copy_u64,ct_u64_slice_eq,test_ct_copy_u64_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u64]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 344 | / ct_constant_copy_gen!(ct_copy_u64,MAX_U64,u64,ct_select_u64;; [INFO] [stdout] 345 | | test_ct_copy_u64,ct_u64_slice_eq,test_ct_copy_u64_panic); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[usize]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 346 | / ct_constant_copy_gen!(ct_copy_usize,MAX_USIZE,usize,ct_select_usize;; [INFO] [stdout] 347 | | test_ct_copy_usize,ct_usize_slice_eq,test_ct_copy_usize_panic); [INFO] [stdout] | |__________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[usize]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | pub extern "C" fn $name(flag: bool, x: &mut [$code], y: &[$code]) { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 346 | / ct_constant_copy_gen!(ct_copy_usize,MAX_USIZE,usize,ct_select_usize;; [INFO] [stdout] 347 | | test_ct_copy_usize,ct_usize_slice_eq,test_ct_copy_usize_panic); [INFO] [stdout] | |__________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: this warning originates in the macro `ct_constant_copy_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "afb0ae51c6c2d587bb9a8b40b752a19c8c3e5487522ac3b6f59ca1c061b7e158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb0ae51c6c2d587bb9a8b40b752a19c8c3e5487522ac3b6f59ca1c061b7e158", kill_on_drop: false }` [INFO] [stdout] afb0ae51c6c2d587bb9a8b40b752a19c8c3e5487522ac3b6f59ca1c061b7e158