[INFO] cloning repository https://github.com/hotmandu/rust_dynload_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hotmandu/rust_dynload_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhotmandu%2Frust_dynload_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhotmandu%2Frust_dynload_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4b960b7169c3b3ba48f53b813e167507eb96403 [INFO] building hotmandu/rust_dynload_test against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhotmandu%2Frust_dynload_test" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hotmandu/rust_dynload_test on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hotmandu/rust_dynload_test [INFO] finished tweaking git repo https://github.com/hotmandu/rust_dynload_test [INFO] tweaked toml for git repo https://github.com/hotmandu/rust_dynload_test written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hotmandu/rust_dynload_test 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded abi_stable_derive v0.11.0 [INFO] [stderr] Downloaded tstr_proc_macros v0.2.2 [INFO] [stderr] Downloaded as_derive_utils v0.11.0 [INFO] [stderr] Downloaded core_extensions_proc_macros v1.5.3 [INFO] [stderr] Downloaded abi_stable_shared v0.11.0 [INFO] [stderr] Downloaded tstr v0.2.3 [INFO] [stderr] Downloaded core_extensions v1.5.3 [INFO] [stderr] Downloaded repr_offset v0.2.2 [INFO] [stderr] Downloaded abi_stable v0.11.1 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8482029fb2fd1a78ff6e8d6d740d4b6eb3ffe521d51fa3178db958bf8463d497 [INFO] running `Command { std: "docker" "start" "-a" "8482029fb2fd1a78ff6e8d6d740d4b6eb3ffe521d51fa3178db958bf8463d497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8482029fb2fd1a78ff6e8d6d740d4b6eb3ffe521d51fa3178db958bf8463d497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8482029fb2fd1a78ff6e8d6d740d4b6eb3ffe521d51fa3178db958bf8463d497", kill_on_drop: false }` [INFO] [stdout] 8482029fb2fd1a78ff6e8d6d740d4b6eb3ffe521d51fa3178db958bf8463d497 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dd1024cba3f91ff660ef35566a1dd114ca6766f253c2ed579473f62edb8a5a7 [INFO] running `Command { std: "docker" "start" "-a" "1dd1024cba3f91ff660ef35566a1dd114ca6766f253c2ed579473f62edb8a5a7", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling core_extensions_proc_macros v1.5.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling tstr_proc_macros v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling const_panic v0.2.8 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling tstr v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling repr_offset v0.2.2 [INFO] [stderr] Compiling core_extensions v1.5.3 [INFO] [stderr] Compiling abi_stable_shared v0.11.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [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 loader v0.1.0 (/opt/rustwide/workdir/loader) [INFO] [stderr] Compiling alphacommons v0.1.0 (/opt/rustwide/workdir/alphacommons) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> alphacommons/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AlphaApi_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: `#[warn(non_local_definitions)]` on by default [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> loader/src/lib.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[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_AddonInterface` and up 2 bodies [INFO] [stdout] 36 | #[sabi(impl_InterfaceType())] [INFO] [stdout] 37 | pub struct AddonInterface; [INFO] [stdout] | -------------- `AddonInterface` 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] --> loader/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Logger_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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> loader/src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MainInterface_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: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_interface_of(&self, addon_name: RStr) -> ROption>; [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: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:43:53 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_interface_of(&self, addon_name: RStr) -> ROption>; [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> loader/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Addon_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: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_interface(&self) -> BoxedAddonInterface<'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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_interface(&self) -> BoxedAddonInterface<'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] [INFO] [stdout] [INFO] [stderr] Compiling libtimer v0.1.0 (/opt/rustwide/workdir/libtimer) [INFO] [stderr] Compiling libbeta v0.1.0 (/opt/rustwide/workdir/libbeta) [INFO] [stderr] Compiling libalpha v0.1.0 (/opt/rustwide/workdir/libalpha) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.69s [INFO] running `Command { std: "docker" "inspect" "1dd1024cba3f91ff660ef35566a1dd114ca6766f253c2ed579473f62edb8a5a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dd1024cba3f91ff660ef35566a1dd114ca6766f253c2ed579473f62edb8a5a7", kill_on_drop: false }` [INFO] [stdout] 1dd1024cba3f91ff660ef35566a1dd114ca6766f253c2ed579473f62edb8a5a7 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa1036525cfaccef28d94d242e7fc98aa169aaa37bb1bad1e847623686b1724d [INFO] running `Command { std: "docker" "start" "-a" "aa1036525cfaccef28d94d242e7fc98aa169aaa37bb1bad1e847623686b1724d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling alphacommons v0.1.0 (/opt/rustwide/workdir/alphacommons) [INFO] [stderr] Compiling loader v0.1.0 (/opt/rustwide/workdir/loader) [INFO] [stderr] Compiling libalpha v0.1.0 (/opt/rustwide/workdir/libalpha) [INFO] [stderr] Compiling libtimer v0.1.0 (/opt/rustwide/workdir/libtimer) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> loader/src/lib.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[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_AddonInterface` and up 2 bodies [INFO] [stdout] 36 | #[sabi(impl_InterfaceType())] [INFO] [stdout] 37 | pub struct AddonInterface; [INFO] [stdout] | -------------- `AddonInterface` 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] --> loader/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Logger_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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> loader/src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MainInterface_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: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_interface_of(&self, addon_name: RStr) -> ROption>; [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: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:43:53 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_interface_of(&self, addon_name: RStr) -> ROption>; [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> loader/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Addon_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: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_interface(&self) -> BoxedAddonInterface<'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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_interface(&self) -> BoxedAddonInterface<'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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> alphacommons/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AlphaApi_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: `#[warn(non_local_definitions)]` on by default [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 libbeta v0.1.0 (/opt/rustwide/workdir/libbeta) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> alphacommons/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AlphaApi_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: `#[warn(non_local_definitions)]` on by default [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> loader/src/lib.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[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_AddonInterface` and up 2 bodies [INFO] [stdout] 36 | #[sabi(impl_InterfaceType())] [INFO] [stdout] 37 | pub struct AddonInterface; [INFO] [stdout] | -------------- `AddonInterface` 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] --> loader/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Logger_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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> loader/src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MainInterface_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: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_interface_of(&self, addon_name: RStr) -> ROption>; [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: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:43:53 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_interface_of(&self, addon_name: RStr) -> ROption>; [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> loader/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Addon_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: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_interface(&self) -> BoxedAddonInterface<'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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `NonOwningPhantom<(AddonInterface, abi_stable::std_types::RStr<'_>)>`, which is not FFI-safe [INFO] [stdout] --> loader/src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_interface(&self) -> BoxedAddonInterface<'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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.65s [INFO] running `Command { std: "docker" "inspect" "aa1036525cfaccef28d94d242e7fc98aa169aaa37bb1bad1e847623686b1724d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa1036525cfaccef28d94d242e7fc98aa169aaa37bb1bad1e847623686b1724d", kill_on_drop: false }` [INFO] [stdout] aa1036525cfaccef28d94d242e7fc98aa169aaa37bb1bad1e847623686b1724d