[INFO] fetching crate swift-runtime-sys 0.0.4... [INFO] testing swift-runtime-sys-0.0.4 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate swift-runtime-sys 0.0.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate swift-runtime-sys 0.0.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate swift-runtime-sys 0.0.4 [INFO] tweaked toml for crates.io crate swift-runtime-sys 0.0.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swift-runtime-sys 0.0.4 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swift-runtime-sys 0.0.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb4dfe886ba5530b29f8e307493572f6f1c204e82baa03087f9e967422e2d8e2 [INFO] running `Command { std: "docker" "start" "-a" "bb4dfe886ba5530b29f8e307493572f6f1c204e82baa03087f9e967422e2d8e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb4dfe886ba5530b29f8e307493572f6f1c204e82baa03087f9e967422e2d8e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4dfe886ba5530b29f8e307493572f6f1c204e82baa03087f9e967422e2d8e2", kill_on_drop: false }` [INFO] [stdout] bb4dfe886ba5530b29f8e307493572f6f1c204e82baa03087f9e967422e2d8e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 092715724c80b746a89e67a4d702b2490513deb60d361c9566b74d59d737ab71 [INFO] running `Command { std: "docker" "start" "-a" "092715724c80b746a89e67a4d702b2490513deb60d361c9566b74d59d737ab71", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling swift-runtime-sys v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1190:5 [INFO] [stdout] | [INFO] [stdout] 1190 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1240:5 [INFO] [stdout] | [INFO] [stdout] 1240 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1265:5 [INFO] [stdout] | [INFO] [stdout] 1265 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1291:5 [INFO] [stdout] | [INFO] [stdout] 1291 | async_ctx: AsyncContextRef, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1318:5 [INFO] [stdout] | [INFO] [stdout] 1318 | async_ctx: AsyncContextRef, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1343:5 [INFO] [stdout] | [INFO] [stdout] 1343 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1361:5 [INFO] [stdout] | [INFO] [stdout] 1361 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1379:5 [INFO] [stdout] | [INFO] [stdout] 1379 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1396:5 [INFO] [stdout] | [INFO] [stdout] 1396 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:371:18 [INFO] [stdout] | [INFO] [stdout] 371 | type F = unsafe extern "C" fn( [INFO] [stdout] | __________________^ [INFO] [stdout] 372 | | usize, [INFO] [stdout] 373 | | *const c_void, [INFO] [stdout] 374 | | *const c_void, [INFO] [stdout] 375 | | *const c_char, [INFO] [stdout] 376 | | *const c_void, [INFO] [stdout] 377 | | ) -> MetadataResponse; [INFO] [stdout] | |_____________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:490:18 [INFO] [stdout] | [INFO] [stdout] 490 | type F = unsafe extern "C" fn( [INFO] [stdout] | __________________^ [INFO] [stdout] 491 | | usize, [INFO] [stdout] 492 | | *const c_void, [INFO] [stdout] 493 | | *const c_void, [INFO] [stdout] 494 | | *const c_void, [INFO] [stdout] 495 | | *const c_void, [INFO] [stdout] 496 | | ) -> MetadataResponse; [INFO] [stdout] | |_____________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:850:14 [INFO] [stdout] | [INFO] [stdout] 850 | type F = unsafe extern "C" fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 851 | | usize, [INFO] [stdout] 852 | | *const c_void, [INFO] [stdout] 853 | | *const c_void, [INFO] [stdout] 854 | | *const c_void, [INFO] [stdout] 855 | | *const c_void, [INFO] [stdout] 856 | | ) -> MetadataResponse; [INFO] [stdout] | |_________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:897:14 [INFO] [stdout] | [INFO] [stdout] 897 | type F = unsafe extern "C" fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 898 | | usize, [INFO] [stdout] 899 | | *const c_void, [INFO] [stdout] 900 | | *const c_void, [INFO] [stdout] ... | [INFO] [stdout] 903 | | *const c_void, [INFO] [stdout] 904 | | ) -> MetadataResponse; [INFO] [stdout] | |_________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | type F = unsafe extern "C" fn(usize, *const c_void) -> MetadataResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | type F = unsafe extern "C" fn(usize, *const c_void, *const c_void) -> MetadataResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | type F = unsafe extern "C" fn( [INFO] [stdout] | __________________^ [INFO] [stdout] 246 | | usize, [INFO] [stdout] 247 | | *const c_void, [INFO] [stdout] 248 | | *const c_void, [INFO] [stdout] 249 | | *const c_void, [INFO] [stdout] 250 | | ) -> MetadataResponse; [INFO] [stdout] | |_____________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `(u64, u64)`, which is not FFI-safe [INFO] [stdout] --> src/SwiftUIBridge.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | type F = unsafe extern "C" fn(*const u8, usize, bool, *const c_void) -> (u64, 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.90s [INFO] running `Command { std: "docker" "inspect" "092715724c80b746a89e67a4d702b2490513deb60d361c9566b74d59d737ab71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "092715724c80b746a89e67a4d702b2490513deb60d361c9566b74d59d737ab71", kill_on_drop: false }` [INFO] [stdout] 092715724c80b746a89e67a4d702b2490513deb60d361c9566b74d59d737ab71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d2ad451d62c1389b31957a6944ed8ec57d86598f22af2e64ec8105af55e4489 [INFO] running `Command { std: "docker" "start" "-a" "8d2ad451d62c1389b31957a6944ed8ec57d86598f22af2e64ec8105af55e4489", kill_on_drop: false }` [INFO] [stderr] Compiling swift-runtime-sys v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1190:5 [INFO] [stdout] | [INFO] [stdout] 1190 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1240:5 [INFO] [stdout] | [INFO] [stdout] 1240 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1265:5 [INFO] [stdout] | [INFO] [stdout] 1265 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1291:5 [INFO] [stdout] | [INFO] [stdout] 1291 | async_ctx: AsyncContextRef, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1318:5 [INFO] [stdout] | [INFO] [stdout] 1318 | async_ctx: AsyncContextRef, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1343:5 [INFO] [stdout] | [INFO] [stdout] 1343 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1361:5 [INFO] [stdout] | [INFO] [stdout] 1361 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1379:5 [INFO] [stdout] | [INFO] [stdout] 1379 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1396:5 [INFO] [stdout] | [INFO] [stdout] 1396 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:371:18 [INFO] [stdout] | [INFO] [stdout] 371 | type F = unsafe extern "C" fn( [INFO] [stdout] | __________________^ [INFO] [stdout] 372 | | usize, [INFO] [stdout] 373 | | *const c_void, [INFO] [stdout] 374 | | *const c_void, [INFO] [stdout] 375 | | *const c_char, [INFO] [stdout] 376 | | *const c_void, [INFO] [stdout] 377 | | ) -> MetadataResponse; [INFO] [stdout] | |_____________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:490:18 [INFO] [stdout] | [INFO] [stdout] 490 | type F = unsafe extern "C" fn( [INFO] [stdout] | __________________^ [INFO] [stdout] 491 | | usize, [INFO] [stdout] 492 | | *const c_void, [INFO] [stdout] 493 | | *const c_void, [INFO] [stdout] 494 | | *const c_void, [INFO] [stdout] 495 | | *const c_void, [INFO] [stdout] 496 | | ) -> MetadataResponse; [INFO] [stdout] | |_____________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:850:14 [INFO] [stdout] | [INFO] [stdout] 850 | type F = unsafe extern "C" fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 851 | | usize, [INFO] [stdout] 852 | | *const c_void, [INFO] [stdout] 853 | | *const c_void, [INFO] [stdout] 854 | | *const c_void, [INFO] [stdout] 855 | | *const c_void, [INFO] [stdout] 856 | | ) -> MetadataResponse; [INFO] [stdout] | |_________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:897:14 [INFO] [stdout] | [INFO] [stdout] 897 | type F = unsafe extern "C" fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 898 | | usize, [INFO] [stdout] 899 | | *const c_void, [INFO] [stdout] 900 | | *const c_void, [INFO] [stdout] ... | [INFO] [stdout] 903 | | *const c_void, [INFO] [stdout] 904 | | ) -> MetadataResponse; [INFO] [stdout] | |_________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | type F = unsafe extern "C" fn(usize, *const c_void) -> MetadataResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | type F = unsafe extern "C" fn(usize, *const c_void, *const c_void) -> MetadataResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | type F = unsafe extern "C" fn( [INFO] [stdout] | __________________^ [INFO] [stdout] 246 | | usize, [INFO] [stdout] 247 | | *const c_void, [INFO] [stdout] 248 | | *const c_void, [INFO] [stdout] 249 | | *const c_void, [INFO] [stdout] 250 | | ) -> MetadataResponse; [INFO] [stdout] | |_____________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `(u64, u64)`, which is not FFI-safe [INFO] [stdout] --> src/SwiftUIBridge.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | type F = unsafe extern "C" fn(*const u8, usize, bool, *const c_void) -> (u64, 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcKo8epI/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libswift_runtime_sys-3657130ad75c5b9f,liblibc-f0d996076a85b3d5}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lswiftCore" "-lswift_Concurrency" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcKo8epI/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/swift" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/runtime_smoke_test-07fc0b013be88fbf" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "-Wl,-rpath,/usr/lib/swift" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lswiftCore [INFO] [stdout] rust-lld: error: unable to find library -lswift_Concurrency [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swift-runtime-sys` (test "runtime_smoke_test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcLB76Me/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libswift_runtime_sys-3657130ad75c5b9f,liblibc-f0d996076a85b3d5}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lswiftCore" "-lswift_Concurrency" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcLB76Me/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/swift" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/abi_struct_tests-0137555abd5e6177" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "-Wl,-rpath,/usr/lib/swift" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lswiftCore [INFO] [stdout] rust-lld: error: unable to find library -lswift_Concurrency [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swift-runtime-sys` (test "abi_struct_tests") due to 1 previous error [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1190:5 [INFO] [stdout] | [INFO] [stdout] 1190 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1240:5 [INFO] [stdout] | [INFO] [stdout] 1240 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1265:5 [INFO] [stdout] | [INFO] [stdout] 1265 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1291:5 [INFO] [stdout] | [INFO] [stdout] 1291 | async_ctx: AsyncContextRef, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1318:5 [INFO] [stdout] | [INFO] [stdout] 1318 | async_ctx: AsyncContextRef, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1343:5 [INFO] [stdout] | [INFO] [stdout] 1343 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1361:5 [INFO] [stdout] | [INFO] [stdout] 1361 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1379:5 [INFO] [stdout] | [INFO] [stdout] 1379 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ConcurrencyThunks.rs:1396:5 [INFO] [stdout] | [INFO] [stdout] 1396 | ctx: AsyncContextRef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:371:18 [INFO] [stdout] | [INFO] [stdout] 371 | type F = unsafe extern "C" fn( [INFO] [stdout] | __________________^ [INFO] [stdout] 372 | | usize, [INFO] [stdout] 373 | | *const c_void, [INFO] [stdout] 374 | | *const c_void, [INFO] [stdout] 375 | | *const c_char, [INFO] [stdout] 376 | | *const c_void, [INFO] [stdout] 377 | | ) -> MetadataResponse; [INFO] [stdout] | |_____________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:490:18 [INFO] [stdout] | [INFO] [stdout] 490 | type F = unsafe extern "C" fn( [INFO] [stdout] | __________________^ [INFO] [stdout] 491 | | usize, [INFO] [stdout] 492 | | *const c_void, [INFO] [stdout] 493 | | *const c_void, [INFO] [stdout] 494 | | *const c_void, [INFO] [stdout] 495 | | *const c_void, [INFO] [stdout] 496 | | ) -> MetadataResponse; [INFO] [stdout] | |_____________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:850:14 [INFO] [stdout] | [INFO] [stdout] 850 | type F = unsafe extern "C" fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 851 | | usize, [INFO] [stdout] 852 | | *const c_void, [INFO] [stdout] 853 | | *const c_void, [INFO] [stdout] 854 | | *const c_void, [INFO] [stdout] 855 | | *const c_void, [INFO] [stdout] 856 | | ) -> MetadataResponse; [INFO] [stdout] | |_________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:897:14 [INFO] [stdout] | [INFO] [stdout] 897 | type F = unsafe extern "C" fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 898 | | usize, [INFO] [stdout] 899 | | *const c_void, [INFO] [stdout] 900 | | *const c_void, [INFO] [stdout] ... | [INFO] [stdout] 903 | | *const c_void, [INFO] [stdout] 904 | | ) -> MetadataResponse; [INFO] [stdout] | |_________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | type F = unsafe extern "C" fn(usize, *const c_void) -> MetadataResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | type F = unsafe extern "C" fn(usize, *const c_void, *const c_void) -> MetadataResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `SwiftCCThunks::MetadataResponse`, which is not FFI-safe [INFO] [stdout] --> src/SwiftCCThunks.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | type F = unsafe extern "C" fn( [INFO] [stdout] | __________________^ [INFO] [stdout] 246 | | usize, [INFO] [stdout] 247 | | *const c_void, [INFO] [stdout] 248 | | *const c_void, [INFO] [stdout] 249 | | *const c_void, [INFO] [stdout] 250 | | ) -> MetadataResponse; [INFO] [stdout] | |_____________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/SwiftCCThunks.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `(u64, u64)`, which is not FFI-safe [INFO] [stdout] --> src/SwiftUIBridge.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | type F = unsafe extern "C" fn(*const u8, usize, bool, *const c_void) -> (u64, 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustciWBsCR/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lswiftCore" "-lswift_Concurrency" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibc-f0d996076a85b3d5.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustciWBsCR/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/swift" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/swift_runtime_sys-51a8e69d48223ffe" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "-Wl,-rpath,/usr/lib/swift" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lswiftCore [INFO] [stdout] rust-lld: error: unable to find library -lswift_Concurrency [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swift-runtime-sys` (lib test) due to 1 previous error; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d2ad451d62c1389b31957a6944ed8ec57d86598f22af2e64ec8105af55e4489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d2ad451d62c1389b31957a6944ed8ec57d86598f22af2e64ec8105af55e4489", kill_on_drop: false }` [INFO] [stdout] 8d2ad451d62c1389b31957a6944ed8ec57d86598f22af2e64ec8105af55e4489