[INFO] fetching crate emacs_module_bindings 0.7.0... [INFO] checking emacs_module_bindings-0.7.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate emacs_module_bindings 0.7.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate emacs_module_bindings 0.7.0 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate emacs_module_bindings 0.7.0 [INFO] finished tweaking crates.io crate emacs_module_bindings 0.7.0 [INFO] tweaked toml for crates.io crate emacs_module_bindings 0.7.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5776d6814403a882986332bb0ebc95ed4990db25b976aac034d54c3d45a64da [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d5776d6814403a882986332bb0ebc95ed4990db25b976aac034d54c3d45a64da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5776d6814403a882986332bb0ebc95ed4990db25b976aac034d54c3d45a64da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5776d6814403a882986332bb0ebc95ed4990db25b976aac034d54c3d45a64da", kill_on_drop: false }` [INFO] [stdout] d5776d6814403a882986332bb0ebc95ed4990db25b976aac034d54c3d45a64da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bc7dc3e394a9a6dbbbb2fd4a2cdf4ed9ddc36d1caa44f7270e077bbbec1c71c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4bc7dc3e394a9a6dbbbb2fd4a2cdf4ed9ddc36d1caa44f7270e077bbbec1c71c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.32.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling clang-sys v0.21.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling emacs_module_bindings v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn find_function(env: *mut EmacsEnv, name: &str) -> EmacsVal { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | ... doc: &str, [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:56:59 [INFO] [stdout] | [INFO] [stdout] 56 | pub extern "C" fn intern_symbol(env: *mut EmacsEnv, name: String) -> EmacsVal { [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 `String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | ... name: String, [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 `String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:77:56 [INFO] [stdout] | [INFO] [stdout] 77 | pub extern "C" fn provide(env: *mut EmacsEnv, feature: String) { [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 `String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:92:58 [INFO] [stdout] | [INFO] [stdout] 92 | pub extern "C" fn get_buffer(env: *mut EmacsEnv, buffer: String) -> EmacsVal { [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 `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:102:53 [INFO] [stdout] | [INFO] [stdout] 102 | pub extern "C" fn call(env: *mut EmacsEnv, fn_name: &str, args: &mut [EmacsVal]) [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[*mut emacs_value_tag]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:102:65 [INFO] [stdout] | [INFO] [stdout] 102 | pub extern "C" fn call(env: *mut EmacsEnv, fn_name: &str, args: &mut [EmacsVal]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn find_function(env: *mut EmacsEnv, name: &str) -> EmacsVal { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | ... doc: &str, [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:56:59 [INFO] [stdout] | [INFO] [stdout] 56 | pub extern "C" fn intern_symbol(env: *mut EmacsEnv, name: String) -> EmacsVal { [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 `String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | ... name: String, [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 `String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:77:56 [INFO] [stdout] | [INFO] [stdout] 77 | pub extern "C" fn provide(env: *mut EmacsEnv, feature: String) { [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 `String`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:92:58 [INFO] [stdout] | [INFO] [stdout] 92 | pub extern "C" fn get_buffer(env: *mut EmacsEnv, buffer: String) -> EmacsVal { [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 `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:102:53 [INFO] [stdout] | [INFO] [stdout] 102 | pub extern "C" fn call(env: *mut EmacsEnv, fn_name: &str, args: &mut [EmacsVal]) [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[*mut emacs_value_tag]`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:102:65 [INFO] [stdout] | [INFO] [stdout] 102 | pub extern "C" fn call(env: *mut EmacsEnv, fn_name: &str, args: &mut [EmacsVal]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "4bc7dc3e394a9a6dbbbb2fd4a2cdf4ed9ddc36d1caa44f7270e077bbbec1c71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc7dc3e394a9a6dbbbb2fd4a2cdf4ed9ddc36d1caa44f7270e077bbbec1c71c", kill_on_drop: false }` [INFO] [stdout] 4bc7dc3e394a9a6dbbbb2fd4a2cdf4ed9ddc36d1caa44f7270e077bbbec1c71c