[INFO] fetching crate emf-core-base-rs-ffi 0.1.2... [INFO] testing emf-core-base-rs-ffi-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate emf-core-base-rs-ffi 0.1.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate emf-core-base-rs-ffi 0.1.2 [INFO] finished tweaking crates.io crate emf-core-base-rs-ffi 0.1.2 [INFO] tweaked toml for crates.io crate emf-core-base-rs-ffi 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate emf-core-base-rs-ffi 0.1.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b08a1046c47649db301419a7cf795f104e8b758894ffa80750c7784aa627976 [INFO] running `Command { std: "docker" "start" "-a" "9b08a1046c47649db301419a7cf795f104e8b758894ffa80750c7784aa627976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b08a1046c47649db301419a7cf795f104e8b758894ffa80750c7784aa627976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b08a1046c47649db301419a7cf795f104e8b758894ffa80750c7784aa627976", kill_on_drop: false }` [INFO] [stdout] 9b08a1046c47649db301419a7cf795f104e8b758894ffa80750c7784aa627976 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dd1da4f99cc91355fddfc119233322f1538febe6d1638b812dc2fc71d2ca25e [INFO] running `Command { std: "docker" "start" "-a" "8dd1da4f99cc91355fddfc119233322f1538febe6d1638b812dc2fc71d2ca25e", kill_on_drop: false }` [INFO] [stderr] Compiling emf-core-base-rs-ffi v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `c_unwind` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(c_unwind)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/span.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/span.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/static_vec.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/static_vec.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/library/api.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / unsafe extern "C-unwind" fn( [INFO] [stdout] 121 | | base_module: Option>, [INFO] [stdout] 122 | | handle: LibraryHandle, [INFO] [stdout] 123 | | symbol: NonNullConst, [INFO] [stdout] 124 | | ) -> Result, Error>, [INFO] [stdout] | |_______________________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/library/library_loader.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / unsafe extern "C-unwind" fn( [INFO] [stdout] 42 | | loader: Option>, [INFO] [stdout] 43 | | handle: InternalHandle, [INFO] [stdout] 44 | | name: NonNullConst, [INFO] [stdout] 45 | | ) -> Result, Error>, [INFO] [stdout] | |_______________________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/module/native_module.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / unsafe extern "C-unwind" fn( [INFO] [stdout] 18 | | handle: ModuleHandle, [INFO] [stdout] 19 | | base_module: Option>, [INFO] [stdout] 20 | | has_function_fn: HasFunctionFn, [INFO] [stdout] 21 | | get_function_fn: GetFunctionFn, [INFO] [stdout] 22 | | ) -> Result>, Error>, [INFO] [stdout] | |_____________________________________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/sys/api.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "C-unwind" fn(base_module: Option>, id: FnId) -> Optional, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "8dd1da4f99cc91355fddfc119233322f1538febe6d1638b812dc2fc71d2ca25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd1da4f99cc91355fddfc119233322f1538febe6d1638b812dc2fc71d2ca25e", kill_on_drop: false }` [INFO] [stdout] 8dd1da4f99cc91355fddfc119233322f1538febe6d1638b812dc2fc71d2ca25e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b0f35ac842759097c6ebab672d63ca2f75bf46a7b0097b212cc3fef504142da [INFO] running `Command { std: "docker" "start" "-a" "7b0f35ac842759097c6ebab672d63ca2f75bf46a7b0097b212cc3fef504142da", kill_on_drop: false }` [INFO] [stderr] Compiling emf-core-base-rs-ffi v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `c_unwind` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(c_unwind)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/span.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/span.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/static_vec.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/static_vec.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/library/api.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / unsafe extern "C-unwind" fn( [INFO] [stdout] 121 | | base_module: Option>, [INFO] [stdout] 122 | | handle: LibraryHandle, [INFO] [stdout] 123 | | symbol: NonNullConst, [INFO] [stdout] 124 | | ) -> Result, Error>, [INFO] [stdout] | |_______________________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/library/library_loader.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / unsafe extern "C-unwind" fn( [INFO] [stdout] 42 | | loader: Option>, [INFO] [stdout] 43 | | handle: InternalHandle, [INFO] [stdout] 44 | | name: NonNullConst, [INFO] [stdout] 45 | | ) -> Result, Error>, [INFO] [stdout] | |_______________________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/module/native_module.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / unsafe extern "C-unwind" fn( [INFO] [stdout] 18 | | handle: ModuleHandle, [INFO] [stdout] 19 | | base_module: Option>, [INFO] [stdout] 20 | | has_function_fn: HasFunctionFn, [INFO] [stdout] 21 | | get_function_fn: GetFunctionFn, [INFO] [stdout] 22 | | ) -> Result>, Error>, [INFO] [stdout] | |_____________________________________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/sys/api.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "C-unwind" fn(base_module: Option>, id: FnId) -> Optional, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `c_unwind` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(c_unwind)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/span.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/span.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/static_vec.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/collections/static_vec.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/library/api.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / unsafe extern "C-unwind" fn( [INFO] [stdout] 121 | | base_module: Option>, [INFO] [stdout] 122 | | handle: LibraryHandle, [INFO] [stdout] 123 | | symbol: NonNullConst, [INFO] [stdout] 124 | | ) -> Result, Error>, [INFO] [stdout] | |_______________________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/library/library_loader.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / unsafe extern "C-unwind" fn( [INFO] [stdout] 42 | | loader: Option>, [INFO] [stdout] 43 | | handle: InternalHandle, [INFO] [stdout] 44 | | name: NonNullConst, [INFO] [stdout] 45 | | ) -> Result, Error>, [INFO] [stdout] | |_______________________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/module/native_module.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / unsafe extern "C-unwind" fn( [INFO] [stdout] 18 | | handle: ModuleHandle, [INFO] [stdout] 19 | | base_module: Option>, [INFO] [stdout] 20 | | has_function_fn: HasFunctionFn, [INFO] [stdout] 21 | | get_function_fn: GetFunctionFn, [INFO] [stdout] 22 | | ) -> Result>, Error>, [INFO] [stdout] | |_____________________________________________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stdout] --> src/sys/api.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "C-unwind" fn(base_module: Option>, id: FnId) -> Optional, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "7b0f35ac842759097c6ebab672d63ca2f75bf46a7b0097b212cc3fef504142da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b0f35ac842759097c6ebab672d63ca2f75bf46a7b0097b212cc3fef504142da", kill_on_drop: false }` [INFO] [stdout] 7b0f35ac842759097c6ebab672d63ca2f75bf46a7b0097b212cc3fef504142da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3965f04de9a1ba9b14e47294bd7e48274ecb3aa971e4132f74168b10f827cfd4 [INFO] running `Command { std: "docker" "start" "-a" "3965f04de9a1ba9b14e47294bd7e48274ecb3aa971e4132f74168b10f827cfd4", kill_on_drop: false }` [INFO] [stderr] warning: the feature `c_unwind` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | #![feature(c_unwind)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/collections/span.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 65 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/collections/span.rs:97:21 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 97 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/collections/static_vec.rs:142:17 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 142 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/collections/static_vec.rs:147:21 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 8 tests [INFO] [stderr] 147 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 147 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stderr] --> src/library/api.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | / unsafe extern "C-unwind" fn( [INFO] [stderr] 121 | | base_module: Option>, [INFO] [stderr] 122 | | handle: LibraryHandle, [INFO] [stderr] 123 | | symbol: NonNullConst, [INFO] [stderr] 124 | | ) -> Result, Error>, [INFO] [stderr] | |_______________________________________^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stderr] = note: this function pointer has Rust-specific calling convention [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stderr] --> src/library/library_loader.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | / unsafe extern "C-unwind" fn( [INFO] [stderr] 42 | | loader: Option>, [INFO] [stderr] 43 | | handle: InternalHandle, [INFO] [stderr] 44 | | name: NonNullConst, [INFO] [stderr] 45 | | ) -> Result, Error>, [INFO] [stderr] | |_______________________________________^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stderr] = note: this function pointer has Rust-specific calling convention [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stderr] --> src/module/native_module.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | / unsafe extern "C-unwind" fn( [INFO] [stderr] 18 | | handle: ModuleHandle, [INFO] [stderr] 19 | | base_module: Option>, [INFO] [stderr] 20 | | has_function_fn: HasFunctionFn, [INFO] [stderr] 21 | | get_function_fn: GetFunctionFn, [INFO] [stderr] 22 | | ) -> Result>, Error>, [INFO] [stderr] | |_____________________________________________________^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stderr] = note: this function pointer has Rust-specific calling convention [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `fn()`, which is not FFI-safe [INFO] [stderr] --> src/sys/api.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe extern "C-unwind" fn(base_module: Option>, id: FnId) -> Optional, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stderr] = note: this function pointer has Rust-specific calling convention [INFO] [stderr] [INFO] [stderr] warning: `emf-core-base-rs-ffi` (lib) generated 9 warnings (run `cargo fix --lib -p emf-core-base-rs-ffi` to apply 4 suggestions) [INFO] [stderr] warning: `emf-core-base-rs-ffi` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/emf_core_base_rs_ffi-6984fa01f24efd3c) [INFO] [stdout] test collections::result::tests::as_ref_test ... ok [INFO] [stdout] test collections::result::tests::is_err_test ... ok [INFO] [stdout] test collections::result::tests::map_or_else_test ... ok [INFO] [stdout] test collections::result::tests::is_ok_test ... ok [INFO] [stdout] test collections::result::tests::new_err_test ... ok [INFO] [stdout] test collections::result::tests::map_test ... ok [INFO] [stdout] test collections::result::tests::new_ok_test ... ok [INFO] [stdout] test collections::result::tests::map_or_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests emf_core_base_rs_ffi [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/version.rs - version (line 5) - compile ... ok [INFO] [stdout] test src/module.rs - module (line 5) - compile ... ok [INFO] [stdout] test src/library.rs - library (line 5) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3965f04de9a1ba9b14e47294bd7e48274ecb3aa971e4132f74168b10f827cfd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3965f04de9a1ba9b14e47294bd7e48274ecb3aa971e4132f74168b10f827cfd4", kill_on_drop: false }` [INFO] [stdout] 3965f04de9a1ba9b14e47294bd7e48274ecb3aa971e4132f74168b10f827cfd4