[INFO] cloning repository https://github.com/swarnimarun/abi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swarnimarun/abi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswarnimarun%2Fabi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswarnimarun%2Fabi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34a2da69bf78a047680170454c69c8a98865811e [INFO] testing swarnimarun/abi-rs against nightly-2025-01-18 for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswarnimarun%2Fabi-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swarnimarun/abi-rs on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swarnimarun/abi-rs [INFO] finished tweaking git repo https://github.com/swarnimarun/abi-rs [INFO] tweaked toml for git repo https://github.com/swarnimarun/abi-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/swarnimarun/abi-rs 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.197 [INFO] [stderr] Downloaded tstr_proc_macros v0.2.2 [INFO] [stderr] Downloaded windows-targets v0.48.5 [INFO] [stderr] Downloaded colorchoice v1.0.0 [INFO] [stderr] Downloaded windows-targets v0.52.4 [INFO] [stderr] Downloaded ryu v1.0.17 [INFO] [stderr] Downloaded heck v0.5.0 [INFO] [stderr] Downloaded as_derive_utils v0.11.0 [INFO] [stderr] Downloaded anstyle-query v1.0.2 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded anstyle-parse v0.2.3 [INFO] [stderr] Downloaded const_panic v0.2.8 [INFO] [stderr] Downloaded lock_api v0.4.11 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded serde_json v1.0.115 [INFO] [stderr] Downloaded abi_stable_derive v0.11.3 [INFO] [stderr] Downloaded core_extensions v1.5.3 [INFO] [stderr] Downloaded crossbeam-channel v0.5.12 [INFO] [stderr] Downloaded clap_builder v4.5.2 [INFO] [stderr] Downloaded parking_lot v0.12.1 [INFO] [stderr] Downloaded semver v1.0.22 [INFO] [stderr] Downloaded proc-macro2 v1.0.79 [INFO] [stderr] Downloaded syn v2.0.58 [INFO] [stderr] Downloaded serde v1.0.197 [INFO] [stderr] Downloaded core_extensions_proc_macros v1.5.3 [INFO] [stderr] Downloaded anstyle-wincon v3.0.2 [INFO] [stderr] Downloaded anstream v0.6.13 [INFO] [stderr] Downloaded abi_stable v0.11.3 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded crossbeam-utils v0.8.19 [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded redox_syscall v0.4.1 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.4 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.4 [INFO] [stderr] Downloaded smallvec v1.13.2 [INFO] [stderr] Downloaded repr_offset v0.2.2 [INFO] [stderr] Downloaded libloading v0.7.4 [INFO] [stderr] Downloaded parking_lot_core v0.9.9 [INFO] [stderr] Downloaded paste v1.0.14 [INFO] [stderr] Downloaded utf8parse v0.2.1 [INFO] [stderr] Downloaded anstyle v1.0.6 [INFO] [stderr] Downloaded clap_lex v0.7.0 [INFO] [stderr] Downloaded strsim v0.11.1 [INFO] [stderr] Downloaded abi_stable_shared v0.11.0 [INFO] [stderr] Downloaded generational-arena v0.2.9 [INFO] [stderr] Downloaded tstr v0.2.4 [INFO] [stderr] Downloaded autocfg v1.2.0 [INFO] [stderr] Downloaded libc v0.2.153 [INFO] [stderr] Downloaded cfg-if v1.0.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.5 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.5 [INFO] [stderr] Downloaded rustc_version v0.4.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.4 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.5 [INFO] [stderr] Downloaded itoa v1.0.11 [INFO] [stderr] Downloaded bitflags v1.3.2 [INFO] [stderr] Downloaded quote v1.0.35 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded windows-sys v0.52.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad61459767b3276271b2801899cb5b8dccbf8e4e31dec071b8a6203ae22f3c41 [INFO] running `Command { std: "docker" "start" "-a" "ad61459767b3276271b2801899cb5b8dccbf8e4e31dec071b8a6203ae22f3c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad61459767b3276271b2801899cb5b8dccbf8e4e31dec071b8a6203ae22f3c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad61459767b3276271b2801899cb5b8dccbf8e4e31dec071b8a6203ae22f3c41", kill_on_drop: false }` [INFO] [stdout] ad61459767b3276271b2801899cb5b8dccbf8e4e31dec071b8a6203ae22f3c41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da8ec363595d3b249cfa5767d84e19f0a7fc871b3095c861f48758280738afd6 [INFO] running `Command { std: "docker" "start" "-a" "da8ec363595d3b249cfa5767d84e19f0a7fc871b3095c861f48758280738afd6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling core_extensions v1.5.3 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling core_extensions_proc_macros v1.5.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling tstr_proc_macros v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling abi_stable_shared v0.11.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling const_panic v0.2.8 [INFO] [stderr] Compiling tstr v0.2.4 [INFO] [stderr] Compiling repr_offset v0.2.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling as_derive_utils v0.11.0 [INFO] [stderr] Compiling abi_stable_derive v0.11.3 [INFO] [stderr] Compiling abi_stable v0.11.3 [INFO] [stderr] Compiling interface v0.1.0 (/opt/rustwide/workdir/example/interface) [INFO] [stdout] warning: type `ExampleLib_Ref` should have an upper camel case name [INFO] [stdout] --> example/interface/src/lib.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | #[sabi(kind(Prefix(prefix_ref = ExampleLib_Ref)))] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ExampleLibRef` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NonOwningPhantom<(TheInterface, RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> example/interface/src/lib.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | pub new_boxed_interface: extern "C" fn() -> BoxedInterface<'static>, [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: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> example/interface/src/lib.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_TheInterface` and up 2 bodies [INFO] [stdout] 138 | #[sabi(impl_InterfaceType(Sync, Send, Debug, Display))] [INFO] [stdout] 139 | pub struct TheInterface; [INFO] [stdout] | ------------ `TheInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> example/interface/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Appender_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `sabi_trait` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `sabi_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling abi-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.00s [INFO] running `Command { std: "docker" "inspect" "da8ec363595d3b249cfa5767d84e19f0a7fc871b3095c861f48758280738afd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da8ec363595d3b249cfa5767d84e19f0a7fc871b3095c861f48758280738afd6", kill_on_drop: false }` [INFO] [stdout] da8ec363595d3b249cfa5767d84e19f0a7fc871b3095c861f48758280738afd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75f6abdc05dd1ae2146ee53862cacc4c0accfab4fc4cf1c0ba31e71247ff7351 [INFO] running `Command { std: "docker" "start" "-a" "75f6abdc05dd1ae2146ee53862cacc4c0accfab4fc4cf1c0ba31e71247ff7351", kill_on_drop: false }` [INFO] [stdout] warning: type `ExampleLib_Ref` should have an upper camel case name [INFO] [stdout] --> example/interface/src/lib.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | #[sabi(kind(Prefix(prefix_ref = ExampleLib_Ref)))] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ExampleLibRef` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NonOwningPhantom<(TheInterface, RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> example/interface/src/lib.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | pub new_boxed_interface: extern "C" fn() -> BoxedInterface<'static>, [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: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> example/interface/src/lib.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_TheInterface` and up 2 bodies [INFO] [stdout] 138 | #[sabi(impl_InterfaceType(Sync, Send, Debug, Display))] [INFO] [stdout] 139 | pub struct TheInterface; [INFO] [stdout] | ------------ `TheInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> example/interface/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Appender_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `sabi_trait` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `sabi_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling abi-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "75f6abdc05dd1ae2146ee53862cacc4c0accfab4fc4cf1c0ba31e71247ff7351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f6abdc05dd1ae2146ee53862cacc4c0accfab4fc4cf1c0ba31e71247ff7351", kill_on_drop: false }` [INFO] [stdout] 75f6abdc05dd1ae2146ee53862cacc4c0accfab4fc4cf1c0ba31e71247ff7351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 555b37be9a6a962e0104946427692b71629ca7ffc6325897135f19104c10a07c [INFO] running `Command { std: "docker" "start" "-a" "555b37be9a6a962e0104946427692b71629ca7ffc6325897135f19104c10a07c", kill_on_drop: false }` [INFO] [stderr] warning: type `ExampleLib_Ref` should have an upper camel case name [INFO] [stderr] --> example/interface/src/lib.rs:23:33 [INFO] [stderr] | [INFO] [stderr] 23 | #[sabi(kind(Prefix(prefix_ref = ExampleLib_Ref)))] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ExampleLibRef` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NonOwningPhantom<(TheInterface, RStr<'_>)>`, which is not FFI-safe [INFO] [stderr] --> example/interface/src/lib.rs:28:30 [INFO] [stderr] | [INFO] [stderr] 28 | pub new_boxed_interface: extern "C" fn() -> BoxedInterface<'static>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> example/interface/src/lib.rs:137:10 [INFO] [stderr] | [INFO] [stderr] 137 | #[derive(StableAbi)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `InterfaceType` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_TheInterface` and up 2 bodies [INFO] [stderr] 138 | #[sabi(impl_InterfaceType(Sync, Send, Debug, Display))] [INFO] [stderr] 139 | pub struct TheInterface; [INFO] [stderr] | ------------ `TheInterface` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `StableAbi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> example/interface/src/lib.rs:76:1 [INFO] [stderr] | [INFO] [stderr] 76 | #[sabi_trait] [INFO] [stderr] | -^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Appender_Interface` is not local [INFO] [stderr] | `InterfaceType` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `sabi_trait` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the attribute macro `sabi_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `interface` (lib) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/abi_rs-dab39efe42ba74ae) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "555b37be9a6a962e0104946427692b71629ca7ffc6325897135f19104c10a07c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555b37be9a6a962e0104946427692b71629ca7ffc6325897135f19104c10a07c", kill_on_drop: false }` [INFO] [stdout] 555b37be9a6a962e0104946427692b71629ca7ffc6325897135f19104c10a07c