[INFO] cloning repository https://github.com/AeroNotix/emacs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AeroNotix/emacs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeroNotix%2Femacs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeroNotix%2Femacs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 39f450e5e7f1a11a2439d63e8f50984ea847b6d2
[INFO] checking AeroNotix/emacs against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeroNotix%2Femacs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AeroNotix/emacs
[INFO] finished tweaking git repo https://github.com/AeroNotix/emacs
[INFO] tweaked toml for git repo https://github.com/AeroNotix/emacs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AeroNotix/emacs on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AeroNotix/emacs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 96d381b97b5b5111914dac07eaa816e4e666ece6ad27f49e27862e6ee72b8046
[INFO] running `Command { std: "docker" "start" "-a" "96d381b97b5b5111914dac07eaa816e4e666ece6ad27f49e27862e6ee72b8046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96d381b97b5b5111914dac07eaa816e4e666ece6ad27f49e27862e6ee72b8046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96d381b97b5b5111914dac07eaa816e4e666ece6ad27f49e27862e6ee72b8046", kill_on_drop: false }`
[INFO] [stdout] 96d381b97b5b5111914dac07eaa816e4e666ece6ad27f49e27862e6ee72b8046
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c236f9a0180773932ede853c1d88584372a4f0d670063ed2cdfa20f81b2b7e6
[INFO] running `Command { std: "docker" "start" "-a" "1c236f9a0180773932ede853c1d88584372a4f0d670063ed2cdfa20f81b2b7e6", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking libc v0.2.11
[INFO] [stderr]     Checking emacs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `int8_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type int8_t = ::std::os::raw::c_char;
[INFO] [stdout]   |          ^^^^^^ help: convert the identifier to upper camel case: `Int8T`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int16_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub type int16_t = ::std::os::raw::c_short;
[INFO] [stdout]   |          ^^^^^^^ help: convert the identifier to upper camel case: `Int16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int32_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type int32_t = ::std::os::raw::c_int;
[INFO] [stdout]   |          ^^^^^^^ help: convert the identifier to upper camel case: `Int32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int64_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type int64_t = ::std::os::raw::c_long;
[INFO] [stdout]   |          ^^^^^^^ help: convert the identifier to upper camel case: `Int64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint8_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type uint8_t = ::std::os::raw::c_uchar;
[INFO] [stdout]   |          ^^^^^^^ help: convert the identifier to upper camel case: `Uint8T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint16_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub type uint16_t = ::std::os::raw::c_ushort;
[INFO] [stdout]   |          ^^^^^^^^ help: convert the identifier to upper camel case: `Uint16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint32_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub type uint32_t = ::std::os::raw::c_uint;
[INFO] [stdout]   |          ^^^^^^^^ help: convert the identifier to upper camel case: `Uint32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint64_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type uint64_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^ help: convert the identifier to upper camel case: `Uint64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_least8_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type int_least8_t = ::std::os::raw::c_char;
[INFO] [stdout]    |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntLeast8T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_least16_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type int_least16_t = ::std::os::raw::c_short;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntLeast16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_least32_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type int_least32_t = ::std::os::raw::c_int;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntLeast32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_least64_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type int_least64_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntLeast64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_least8_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub type uint_least8_t = ::std::os::raw::c_uchar;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintLeast8T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_least16_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type uint_least16_t = ::std::os::raw::c_ushort;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintLeast16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_least32_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub type uint_least32_t = ::std::os::raw::c_uint;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintLeast32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_least64_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type uint_least64_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintLeast64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_fast8_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub type int_fast8_t = ::std::os::raw::c_char;
[INFO] [stdout]    |          ^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntFast8T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_fast16_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub type int_fast16_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntFast16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_fast32_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub type int_fast32_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntFast32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_fast64_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub type int_fast64_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntFast64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_fast8_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub type uint_fast8_t = ::std::os::raw::c_uchar;
[INFO] [stdout]    |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintFast8T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_fast16_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub type uint_fast16_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintFast16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_fast32_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub type uint_fast32_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintFast32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_fast64_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub type uint_fast64_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintFast64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `intptr_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub type intptr_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^ help: convert the identifier to upper camel case: `IntptrT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uintptr_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub type uintptr_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `UintptrT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `intmax_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub type intmax_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^ help: convert the identifier to upper camel case: `IntmaxT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uintmax_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub type uintmax_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `UintmaxT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ptrdiff_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub type ptrdiff_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `PtrdiffT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `size_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub type size_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^ help: convert the identifier to upper camel case: `SizeT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `wchar_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub type wchar_t = ::std::os::raw::c_int;
[INFO] [stdout]    |          ^^^^^^^ help: convert the identifier to upper camel case: `WcharT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `max_align_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub type max_align_t = Struct_Unnamed1;
[INFO] [stdout]    |          ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MaxAlignT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `emacs_env` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub type emacs_env = Struct_emacs_env_25;
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsEnv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Struct_emacs_value_tag` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum Struct_emacs_value_tag { }
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StructEmacsValueTag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `emacs_value` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub type emacs_value = *mut Struct_emacs_value_tag;
[INFO] [stdout]    |          ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Enum_emacs_arity` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum Enum_emacs_arity { emacs_variadic_function = -2, }
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnumEmacsArity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `emacs_variadic_function` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:49:29
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum Enum_emacs_arity { emacs_variadic_function = -2, }
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsVariadicFunction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Struct_emacs_runtime_private` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub enum Struct_emacs_runtime_private { }
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StructEmacsRuntimePrivate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `emacs_init_function` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub type emacs_init_function =
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsInitFunction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `emacs_subr` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub type emacs_subr =
[INFO] [stdout]    |          ^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsSubr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Enum_emacs_funcall_exit` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub enum Enum_emacs_funcall_exit {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnumEmacsFuncallExit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `emacs_funcall_exit_return` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     emacs_funcall_exit_return = 0,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsFuncallExitReturn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `emacs_funcall_exit_signal` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 |     emacs_funcall_exit_signal = 1,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsFuncallExitSignal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `emacs_funcall_exit_throw` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     emacs_funcall_exit_throw = 2,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsFuncallExitThrow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Struct_emacs_env_private` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:80:10
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub enum Struct_emacs_env_private { }
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StructEmacsEnvPrivate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int8_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type int8_t = ::std::os::raw::c_char;
[INFO] [stdout]   |          ^^^^^^ help: convert the identifier to upper camel case: `Int8T`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int16_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub type int16_t = ::std::os::raw::c_short;
[INFO] [stdout]   |          ^^^^^^^ help: convert the identifier to upper camel case: `Int16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int32_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type int32_t = ::std::os::raw::c_int;
[INFO] [stdout]   |          ^^^^^^^ help: convert the identifier to upper camel case: `Int32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int64_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type int64_t = ::std::os::raw::c_long;
[INFO] [stdout]   |          ^^^^^^^ help: convert the identifier to upper camel case: `Int64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint8_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type uint8_t = ::std::os::raw::c_uchar;
[INFO] [stdout]   |          ^^^^^^^ help: convert the identifier to upper camel case: `Uint8T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint16_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub type uint16_t = ::std::os::raw::c_ushort;
[INFO] [stdout]   |          ^^^^^^^^ help: convert the identifier to upper camel case: `Uint16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint32_t` should have an upper camel case name
[INFO] [stdout]  --> src/emacs_module.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub type uint32_t = ::std::os::raw::c_uint;
[INFO] [stdout]   |          ^^^^^^^^ help: convert the identifier to upper camel case: `Uint32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint64_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type uint64_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^ help: convert the identifier to upper camel case: `Uint64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_least8_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type int_least8_t = ::std::os::raw::c_char;
[INFO] [stdout]    |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntLeast8T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_least16_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type int_least16_t = ::std::os::raw::c_short;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntLeast16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_least32_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type int_least32_t = ::std::os::raw::c_int;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntLeast32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_least64_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type int_least64_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntLeast64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_least8_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub type uint_least8_t = ::std::os::raw::c_uchar;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintLeast8T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_least16_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type uint_least16_t = ::std::os::raw::c_ushort;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintLeast16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_least32_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub type uint_least32_t = ::std::os::raw::c_uint;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintLeast32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_least64_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type uint_least64_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintLeast64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_fast8_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub type int_fast8_t = ::std::os::raw::c_char;
[INFO] [stdout]    |          ^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntFast8T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_fast16_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub type int_fast16_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntFast16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_fast32_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub type int_fast32_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntFast32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `int_fast64_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub type int_fast64_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntFast64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_fast8_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub type uint_fast8_t = ::std::os::raw::c_uchar;
[INFO] [stdout]    |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintFast8T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_fast16_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub type uint_fast16_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintFast16T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_fast32_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub type uint_fast32_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintFast32T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uint_fast64_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub type uint_fast64_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UintFast64T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `intptr_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub type intptr_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^ help: convert the identifier to upper camel case: `IntptrT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uintptr_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub type uintptr_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `UintptrT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `intmax_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub type intmax_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^ help: convert the identifier to upper camel case: `IntmaxT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `uintmax_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub type uintmax_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `UintmaxT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ptrdiff_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub type ptrdiff_t = ::std::os::raw::c_long;
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `PtrdiffT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `size_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub type size_t = ::std::os::raw::c_ulong;
[INFO] [stdout]    |          ^^^^^^ help: convert the identifier to upper camel case: `SizeT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `wchar_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub type wchar_t = ::std::os::raw::c_int;
[INFO] [stdout]    |          ^^^^^^^ help: convert the identifier to upper camel case: `WcharT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `max_align_t` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub type max_align_t = Struct_Unnamed1;
[INFO] [stdout]    |          ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MaxAlignT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:11:60
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub extern "C" fn find_function(env: *mut emacs_env, name: String) -> *mut Struct_emacs_value_tag {
[INFO] [stdout]    |                                                            ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:20:38
[INFO] [stdout]    |
[INFO] [stdout] 20 | ...                   doc: 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: a dangling pointer will be produced because the temporary `CString` will be dropped
[INFO] [stdout]   --> src/lib.rs:23:42
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let doc = CString::new(doc).unwrap().as_ptr();
[INFO] [stdout]    |               -------------------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |               |
[INFO] [stdout]    |               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped
[INFO] [stdout]   --> src/lib.rs:30:50
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let c_string = CString::new(string).unwrap().as_ptr();
[INFO] [stdout]    |                    ----------------------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:41:60
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub extern "C" fn intern_symbol(env: *mut emacs_env, name: String) -> *mut Struct_emacs_value_tag {
[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:46:60
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub extern "C" fn bind_function(env: *mut emacs_env, name: String, sfun: emacs_value) {
[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:54:57
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub extern "C" fn provide(env: *mut emacs_env, 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:63:59
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub extern "C" fn get_buffer(env: *mut emacs_env, buffer: String) -> *mut Struct_emacs_value_tag {
[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: type `emacs_env` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub type emacs_env = Struct_emacs_env_25;
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsEnv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Struct_emacs_value_tag` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum Struct_emacs_value_tag { }
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StructEmacsValueTag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `emacs_value` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub type emacs_value = *mut Struct_emacs_value_tag;
[INFO] [stdout]    |          ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Enum_emacs_arity` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum Enum_emacs_arity { emacs_variadic_function = -2, }
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnumEmacsArity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `emacs_variadic_function` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:49:29
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum Enum_emacs_arity { emacs_variadic_function = -2, }
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsVariadicFunction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Struct_emacs_runtime_private` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub enum Struct_emacs_runtime_private { }
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StructEmacsRuntimePrivate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `emacs_init_function` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub type emacs_init_function =
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsInitFunction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `emacs_subr` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub type emacs_subr =
[INFO] [stdout]    |          ^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsSubr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Enum_emacs_funcall_exit` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub enum Enum_emacs_funcall_exit {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnumEmacsFuncallExit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `emacs_funcall_exit_return` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     emacs_funcall_exit_return = 0,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsFuncallExitReturn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `emacs_funcall_exit_signal` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 |     emacs_funcall_exit_signal = 1,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsFuncallExitSignal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `emacs_funcall_exit_throw` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     emacs_funcall_exit_throw = 2,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EmacsFuncallExitThrow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Struct_emacs_env_private` should have an upper camel case name
[INFO] [stdout]   --> src/emacs_module.rs:80:10
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub enum Struct_emacs_env_private { }
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StructEmacsEnvPrivate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:11:60
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub extern "C" fn find_function(env: *mut emacs_env, name: String) -> *mut Struct_emacs_value_tag {
[INFO] [stdout]    |                                                            ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:20:38
[INFO] [stdout]    |
[INFO] [stdout] 20 | ...                   doc: 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: a dangling pointer will be produced because the temporary `CString` will be dropped
[INFO] [stdout]   --> src/lib.rs:23:42
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let doc = CString::new(doc).unwrap().as_ptr();
[INFO] [stdout]    |               -------------------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |               |
[INFO] [stdout]    |               this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped
[INFO] [stdout]   --> src/lib.rs:30:50
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let c_string = CString::new(string).unwrap().as_ptr();
[INFO] [stdout]    |                    ----------------------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:41:60
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub extern "C" fn intern_symbol(env: *mut emacs_env, name: String) -> *mut Struct_emacs_value_tag {
[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:46:60
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub extern "C" fn bind_function(env: *mut emacs_env, name: String, sfun: emacs_value) {
[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:54:57
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub extern "C" fn provide(env: *mut emacs_env, 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:63:59
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub extern "C" fn get_buffer(env: *mut emacs_env, buffer: String) -> *mut Struct_emacs_value_tag {
[INFO] [stdout]    |                                                           ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "1c236f9a0180773932ede853c1d88584372a4f0d670063ed2cdfa20f81b2b7e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c236f9a0180773932ede853c1d88584372a4f0d670063ed2cdfa20f81b2b7e6", kill_on_drop: false }`
[INFO] [stdout] 1c236f9a0180773932ede853c1d88584372a4f0d670063ed2cdfa20f81b2b7e6
