[INFO] fetching crate emf-core-base-rs-ffi 0.1.2... [INFO] checking emf-core-base-rs-ffi-0.1.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate emf-core-base-rs-ffi 0.1.2 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate emf-core-base-rs-ffi 0.1.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 240f830442be8e369aa2019f2eccfe3893db3060f38de3e2158f612b676ebbdb [INFO] running `Command { std: "docker" "start" "-a" "240f830442be8e369aa2019f2eccfe3893db3060f38de3e2158f612b676ebbdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "240f830442be8e369aa2019f2eccfe3893db3060f38de3e2158f612b676ebbdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "240f830442be8e369aa2019f2eccfe3893db3060f38de3e2158f612b676ebbdb", kill_on_drop: false }` [INFO] [stdout] 240f830442be8e369aa2019f2eccfe3893db3060f38de3e2158f612b676ebbdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a15f966cd8d468648092762d732c6463d265bbdcd4b2e470d91861b5f5312027 [INFO] running `Command { std: "docker" "start" "-a" "a15f966cd8d468648092762d732c6463d265bbdcd4b2e470d91861b5f5312027", kill_on_drop: false }` [INFO] [stderr] Checking 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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collections/span.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collections/span.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collections/static_vec.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collections/span.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collections/span.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collections/static_vec.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.00s [INFO] running `Command { std: "docker" "inspect" "a15f966cd8d468648092762d732c6463d265bbdcd4b2e470d91861b5f5312027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15f966cd8d468648092762d732c6463d265bbdcd4b2e470d91861b5f5312027", kill_on_drop: false }` [INFO] [stdout] a15f966cd8d468648092762d732c6463d265bbdcd4b2e470d91861b5f5312027