[INFO] fetching crate emf-core-base-rs-ffi 0.1.2... [INFO] testing emf-core-base-rs-ffi-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate emf-core-base-rs-ffi 0.1.2 into /workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate emf-core-base-rs-ffi 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a297624ec33d5242e695461ff7a87cbc9b2f8e4d518a66d8ab326f357dbd9a5 [INFO] running `Command { std: "docker" "start" "-a" "8a297624ec33d5242e695461ff7a87cbc9b2f8e4d518a66d8ab326f357dbd9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a297624ec33d5242e695461ff7a87cbc9b2f8e4d518a66d8ab326f357dbd9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a297624ec33d5242e695461ff7a87cbc9b2f8e4d518a66d8ab326f357dbd9a5", kill_on_drop: false }` [INFO] [stdout] 8a297624ec33d5242e695461ff7a87cbc9b2f8e4d518a66d8ab326f357dbd9a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bc1c875c6a444564c0c8e04ac9a13159c70fdc0f9d3111647333dfb01be7cc7 [INFO] running `Command { std: "docker" "start" "-a" "9bc1c875c6a444564c0c8e04ac9a13159c70fdc0f9d3111647333dfb01be7cc7", 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.40s [INFO] running `Command { std: "docker" "inspect" "9bc1c875c6a444564c0c8e04ac9a13159c70fdc0f9d3111647333dfb01be7cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bc1c875c6a444564c0c8e04ac9a13159c70fdc0f9d3111647333dfb01be7cc7", kill_on_drop: false }` [INFO] [stdout] 9bc1c875c6a444564c0c8e04ac9a13159c70fdc0f9d3111647333dfb01be7cc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e0b59b5cae87890737d0f37d5d0330457485375cfb7f9e1a2c6f2ebd5ce8849 [INFO] running `Command { std: "docker" "start" "-a" "5e0b59b5cae87890737d0f37d5d0330457485375cfb7f9e1a2c6f2ebd5ce8849", kill_on_drop: false }` [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] [stderr] Compiling emf-core-base-rs-ffi v0.1.2 (/opt/rustwide/workdir) [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.47s [INFO] running `Command { std: "docker" "inspect" "5e0b59b5cae87890737d0f37d5d0330457485375cfb7f9e1a2c6f2ebd5ce8849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e0b59b5cae87890737d0f37d5d0330457485375cfb7f9e1a2c6f2ebd5ce8849", kill_on_drop: false }` [INFO] [stdout] 5e0b59b5cae87890737d0f37d5d0330457485375cfb7f9e1a2c6f2ebd5ce8849 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b9334de4986b1fe3a212d185cd6403e68d5610cadb177a628252cf52f9ec82ec [INFO] running `Command { std: "docker" "start" "-a" "b9334de4986b1fe3a212d185cd6403e68d5610cadb177a628252cf52f9ec82ec", 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] [stderr] | [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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/emf_core_base_rs_ffi-6984fa01f24efd3c) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test collections::result::tests::is_err_test ... ok [INFO] [stdout] test collections::result::tests::is_ok_test ... ok [INFO] [stdout] test collections::result::tests::map_or_else_test ... ok [INFO] [stdout] test collections::result::tests::as_ref_test ... ok [INFO] [stdout] test collections::result::tests::map_or_test ... ok [INFO] [stdout] test collections::result::tests::map_test ... ok [INFO] [stdout] test collections::result::tests::new_err_test ... ok [INFO] [stdout] test collections::result::tests::new_ok_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/module.rs - module (line 5) - compile ... ok [INFO] [stdout] test src/library.rs - library (line 5) - compile ... ok [INFO] [stdout] test src/version.rs - version (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.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b9334de4986b1fe3a212d185cd6403e68d5610cadb177a628252cf52f9ec82ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9334de4986b1fe3a212d185cd6403e68d5610cadb177a628252cf52f9ec82ec", kill_on_drop: false }` [INFO] [stdout] b9334de4986b1fe3a212d185cd6403e68d5610cadb177a628252cf52f9ec82ec