[INFO] cloning repository https://github.com/Neightro/abi_stable_readme_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Neightro/abi_stable_readme_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeightro%2Fabi_stable_readme_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeightro%2Fabi_stable_readme_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1856e34393bd81414e3a14afc5b9d1ab7ddcdec9 [INFO] testing Neightro/abi_stable_readme_example against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeightro%2Fabi_stable_readme_example" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Neightro/abi_stable_readme_example [INFO] finished tweaking git repo https://github.com/Neightro/abi_stable_readme_example [INFO] tweaked toml for git repo https://github.com/Neightro/abi_stable_readme_example written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Neightro/abi_stable_readme_example on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Neightro/abi_stable_readme_example 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18494a3cd6bfc12e3087d8393ede549b90a2c5993d655b958f4bace55aaf61ea [INFO] running `Command { std: "docker" "start" "-a" "18494a3cd6bfc12e3087d8393ede549b90a2c5993d655b958f4bace55aaf61ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18494a3cd6bfc12e3087d8393ede549b90a2c5993d655b958f4bace55aaf61ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18494a3cd6bfc12e3087d8393ede549b90a2c5993d655b958f4bace55aaf61ea", kill_on_drop: false }` [INFO] [stdout] 18494a3cd6bfc12e3087d8393ede549b90a2c5993d655b958f4bace55aaf61ea [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97f0902c7d3e214f15db52d6530695fc35c12d566401910a8739b7ffed12783f [INFO] running `Command { std: "docker" "start" "-a" "97f0902c7d3e214f15db52d6530695fc35c12d566401910a8739b7ffed12783f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling core_extensions v1.5.3 [INFO] [stderr] Compiling serde v1.0.178 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling core_extensions_proc_macros v1.5.3 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling tstr_proc_macros v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.178 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling abi_stable_shared v0.11.0 [INFO] [stderr] Compiling tstr v0.2.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling repr_offset v0.2.2 [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling const_panic v0.2.8 [INFO] [stderr] Compiling as_derive_utils v0.11.0 [INFO] [stderr] Compiling abi_stable_derive v0.11.0 [INFO] [stderr] Compiling abi_stable v0.11.1 [INFO] [stderr] Compiling interface v0.1.0 (/opt/rustwide/workdir/interface) [INFO] [stdout] warning: `extern` fn uses type `NonOwningPhantom<(TheInterface, RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> interface/src/lib.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | 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] --> interface/src/lib.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | #[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] 143 | #[sabi(impl_InterfaceType(Sync, Send, Debug, Display))] [INFO] [stdout] 144 | 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] --> interface/src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[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 implementation v0.1.0 (/opt/rustwide/workdir/implementation) [INFO] [stdout] warning: unused import: `TheInterface` [INFO] [stdout] --> implementation/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | TheInterface, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `erased_types::TypeInfo` [INFO] [stdout] --> implementation/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | erased_types::TypeInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Appender` [INFO] [stdout] --> implementation/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Appender, AppenderBox, Appender_TO, BoxedInterface, ExampleLib, ExampleLib_Ref, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NonOwningPhantom<(TheInterface, RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> implementation/src/lib.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | fn new_boxed_interface() -> 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] [stderr] Compiling application v0.1.0 (/opt/rustwide/workdir/application) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.32s [INFO] running `Command { std: "docker" "inspect" "97f0902c7d3e214f15db52d6530695fc35c12d566401910a8739b7ffed12783f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f0902c7d3e214f15db52d6530695fc35c12d566401910a8739b7ffed12783f", kill_on_drop: false }` [INFO] [stdout] 97f0902c7d3e214f15db52d6530695fc35c12d566401910a8739b7ffed12783f [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42833484cd61bf5dc3b88c879433562b8b80dc1407d8c143fd050a90e14dfaf8 [INFO] running `Command { std: "docker" "start" "-a" "42833484cd61bf5dc3b88c879433562b8b80dc1407d8c143fd050a90e14dfaf8", kill_on_drop: false }` [INFO] [stdout] warning: `extern` fn uses type `NonOwningPhantom<(TheInterface, RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> interface/src/lib.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | 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] --> interface/src/lib.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | #[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] 143 | #[sabi(impl_InterfaceType(Sync, Send, Debug, Display))] [INFO] [stdout] 144 | 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] --> interface/src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[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] [stdout] warning: unused import: `TheInterface` [INFO] [stdout] --> implementation/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | TheInterface, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `erased_types::TypeInfo` [INFO] [stdout] --> implementation/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | erased_types::TypeInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling application v0.1.0 (/opt/rustwide/workdir/application) [INFO] [stdout] warning: unused import: `Appender` [INFO] [stdout] --> implementation/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Appender, AppenderBox, Appender_TO, BoxedInterface, ExampleLib, ExampleLib_Ref, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NonOwningPhantom<(TheInterface, RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> implementation/src/lib.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | fn new_boxed_interface() -> 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "42833484cd61bf5dc3b88c879433562b8b80dc1407d8c143fd050a90e14dfaf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42833484cd61bf5dc3b88c879433562b8b80dc1407d8c143fd050a90e14dfaf8", kill_on_drop: false }` [INFO] [stdout] 42833484cd61bf5dc3b88c879433562b8b80dc1407d8c143fd050a90e14dfaf8 [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9b2c180f6353c41b7ad6fa9830e6e133fdbd1a3f3837b8b5c25eabbe13825361 [INFO] running `Command { std: "docker" "start" "-a" "9b2c180f6353c41b7ad6fa9830e6e133fdbd1a3f3837b8b5c25eabbe13825361", kill_on_drop: false }` [INFO] [stderr] warning: `extern` fn uses type `NonOwningPhantom<(TheInterface, RStr<'_>)>`, which is not FFI-safe [INFO] [stderr] --> interface/src/lib.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | 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] --> interface/src/lib.rs:142:10 [INFO] [stderr] | [INFO] [stderr] 142 | #[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] 143 | #[sabi(impl_InterfaceType(Sync, Send, Debug, Display))] [INFO] [stderr] 144 | 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] --> interface/src/lib.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | #[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 3 warnings [INFO] [stderr] warning: unused import: `TheInterface` [INFO] [stderr] --> implementation/src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | TheInterface, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `erased_types::TypeInfo` [INFO] [stderr] --> implementation/src/lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | erased_types::TypeInfo, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Appender` [INFO] [stderr] --> implementation/src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | Appender, AppenderBox, Appender_TO, BoxedInterface, ExampleLib, ExampleLib_Ref, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `NonOwningPhantom<(TheInterface, RStr<'_>)>`, which is not FFI-safe [INFO] [stderr] --> implementation/src/lib.rs:96:29 [INFO] [stderr] | [INFO] [stderr] 96 | fn new_boxed_interface() -> 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: `implementation` (lib) generated 4 warnings (run `cargo fix --lib -p implementation` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/application-79dbafa339c221c7) [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" "9b2c180f6353c41b7ad6fa9830e6e133fdbd1a3f3837b8b5c25eabbe13825361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b2c180f6353c41b7ad6fa9830e6e133fdbd1a3f3837b8b5c25eabbe13825361", kill_on_drop: false }` [INFO] [stdout] 9b2c180f6353c41b7ad6fa9830e6e133fdbd1a3f3837b8b5c25eabbe13825361