[INFO] fetching crate safer-ffi 0.2.0-rc1... [INFO] testing safer-ffi-0.2.0-rc1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate safer-ffi 0.2.0-rc1 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate safer-ffi 0.2.0-rc1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate safer-ffi 0.2.0-rc1 [INFO] tweaked toml for crates.io crate safer-ffi 0.2.0-rc1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate safer-ffi 0.2.0-rc1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate safer-ffi 0.2.0-rc1 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uninit v0.5.1 [INFO] [stderr] Downloaded extension-traits v1.0.1 [INFO] [stderr] Downloaded unwind_safe v0.1.0 [INFO] [stderr] Downloaded with_builtin_macros v0.0.3 [INFO] [stderr] Downloaded ext-trait-proc_macros v1.0.1 [INFO] [stderr] Downloaded ext-trait v1.0.1 [INFO] [stderr] Downloaded with_builtin_macros-proc_macros v0.0.3 [INFO] [stderr] Downloaded stabby v72.1.1 [INFO] [stderr] Downloaded futures-sink v0.3.27 [INFO] [stderr] Downloaded ext-trait-proc_macros v2.0.1 [INFO] [stderr] Downloaded extension-traits v2.0.1 [INFO] [stderr] Downloaded futures-core v0.3.27 [INFO] [stderr] Downloaded never-say-never v6.6.666 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Downloaded extern-c v0.1.0 [INFO] [stderr] Downloaded async-compat v0.2.1 [INFO] [stderr] Downloaded cratesio-placeholder-package v0.0.3 [INFO] [stderr] Downloaded ext-trait v2.0.1 [INFO] [stderr] Downloaded futures-executor v0.3.27 [INFO] [stderr] Downloaded futures-channel v0.3.27 [INFO] [stderr] Downloaded futures-macro v0.3.27 [INFO] [stderr] Downloaded futures v0.3.27 [INFO] [stderr] Downloaded safer_ffi-proc_macros v0.2.0-rc1 [INFO] [stderr] Downloaded stabby-macros v72.1.1 [INFO] [stderr] Downloaded macro_rules_attribute v0.1.3 [INFO] [stderr] Downloaded seal-the-deal v0.1.2 [INFO] [stderr] Downloaded futures-task v0.3.27 [INFO] [stderr] Downloaded prettyplease v0.2.32 [INFO] [stderr] Downloaded stabby-abi v72.1.1 [INFO] [stderr] Downloaded tokio v1.26.0 [INFO] [stderr] Downloaded seal-the-deal-proc_macros v0.1.2 [INFO] [stderr] Downloaded futures-io v0.3.27 [INFO] [stderr] Downloaded futures-util v0.3.27 [INFO] [stderr] Downloaded paste v1.0.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7276e048b224b2cb4033d330d6ff783e9a7e67c6a5703ed5f8ffa9ce348fb8d [INFO] running `Command { std: "docker" "start" "-a" "c7276e048b224b2cb4033d330d6ff783e9a7e67c6a5703ed5f8ffa9ce348fb8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7276e048b224b2cb4033d330d6ff783e9a7e67c6a5703ed5f8ffa9ce348fb8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7276e048b224b2cb4033d330d6ff783e9a7e67c6a5703ed5f8ffa9ce348fb8d", kill_on_drop: false }` [INFO] [stdout] c7276e048b224b2cb4033d330d6ff783e9a7e67c6a5703ed5f8ffa9ce348fb8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed291b4352e76d4190b161a23320c8adb7c53941a5fd86d29ab5976b788dffe4 [INFO] running `Command { std: "docker" "start" "-a" "ed291b4352e76d4190b161a23320c8adb7c53941a5fd86d29ab5976b788dffe4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling unwind_safe v0.1.0 [INFO] [stderr] Compiling never-say-never v6.6.666 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling extern-c v0.1.0 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ext-trait-proc_macros v1.0.1 [INFO] [stderr] Compiling with_builtin_macros-proc_macros v0.0.3 [INFO] [stderr] Compiling ext-trait v1.0.1 [INFO] [stderr] Compiling extension-traits v1.0.1 [INFO] [stderr] Compiling uninit v0.5.1 [INFO] [stderr] Compiling with_builtin_macros v0.0.3 [INFO] [stderr] Compiling ext-trait-proc_macros v2.0.1 [INFO] [stderr] Compiling seal-the-deal-proc_macros v0.1.2 [INFO] [stderr] Compiling safer_ffi-proc_macros v0.2.0-rc1 [INFO] [stderr] Compiling ext-trait v2.0.1 [INFO] [stderr] Compiling extension-traits v2.0.1 [INFO] [stderr] Compiling seal-the-deal v0.1.2 [INFO] [stderr] Compiling safer-ffi v0.2.0-rc1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.40s [INFO] running `Command { std: "docker" "inspect" "ed291b4352e76d4190b161a23320c8adb7c53941a5fd86d29ab5976b788dffe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed291b4352e76d4190b161a23320c8adb7c53941a5fd86d29ab5976b788dffe4", kill_on_drop: false }` [INFO] [stdout] ed291b4352e76d4190b161a23320c8adb7c53941a5fd86d29ab5976b788dffe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfb269297208a52d8202ceb6d53762c9b91a958086127c5b6b623974e6d8ab15 [INFO] running `Command { std: "docker" "start" "-a" "bfb269297208a52d8202ceb6d53762c9b91a958086127c5b6b623974e6d8ab15", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling safer-ffi v0.2.0-rc1 (/opt/rustwide/workdir) [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive_ReprC(dyn)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive_ReprC(dyn)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive_ReprC(dyn)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive_ReprC(dyn, Clone)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: zero-sized fields in `repr(transparent)` cannot contain external types with private fields [INFO] [stdout] --> tests/test_kotlin.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive_ReprC(rename = "RenamedStruct")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this field contains `tuple::void::CVoid`, which contains private fields, so it could become non-zero-sized in the future. [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #78586 [INFO] [stdout] = note: `#[deny(repr_transparent_non_zst_fields)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the attribute macro `derive_ReprC` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `_::safer_ffi_::warning`: [INFO] [stdout] `#[repr(C)]` enums are not well-defined in C; it is thus ill-advised to use them in a multi-compiler scenario such as FFI [INFO] [stdout] --> tests/test_kotlin.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | #[repr(C)] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `safer-ffi` (test "dyn_traits") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `safer-ffi` (test "test_kotlin") due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: unused import: `crate::layout::ReprC` [INFO] [stdout] --> src/layout/macros.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | use crate::layout::ReprC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MyBool` is never used [INFO] [stdout] --> src/layout/macros.rs:431:10 [INFO] [stdout] | [INFO] [stdout] 431 | pub enum MyBool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MyBool` is never used [INFO] [stdout] --> src/layout/macros.rs:446:14 [INFO] [stdout] | [INFO] [stdout] 446 | pub enum MyBool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Opaque` is never constructed [INFO] [stdout] --> src/layout/macros.rs:453:16 [INFO] [stdout] | [INFO] [stdout] 453 | struct Opaque [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ReprC` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericStruct` is never constructed [INFO] [stdout] --> src/layout/macros.rs:459:16 [INFO] [stdout] | [INFO] [stdout] 459 | struct GenericStruct['lifetime, T] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ReprC` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bfb269297208a52d8202ceb6d53762c9b91a958086127c5b6b623974e6d8ab15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb269297208a52d8202ceb6d53762c9b91a958086127c5b6b623974e6d8ab15", kill_on_drop: false }` [INFO] [stdout] bfb269297208a52d8202ceb6d53762c9b91a958086127c5b6b623974e6d8ab15