[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeroNotix%2Femacs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AeroNotix/emacs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/AeroNotix/emacs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 781b47bdfc4d787ea00a58244669a79b872e168e0972fe541d902d5300e39c82 [INFO] running `Command { std: "docker" "start" "-a" "781b47bdfc4d787ea00a58244669a79b872e168e0972fe541d902d5300e39c82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "781b47bdfc4d787ea00a58244669a79b872e168e0972fe541d902d5300e39c82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "781b47bdfc4d787ea00a58244669a79b872e168e0972fe541d902d5300e39c82", kill_on_drop: false }` [INFO] [stdout] 781b47bdfc4d787ea00a58244669a79b872e168e0972fe541d902d5300e39c82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0176e8da40bccb7790c283c4d8fd7ec50be7529c412097bd464e1d34aad926d7 [INFO] running `Command { std: "docker" "start" "-a" "0176e8da40bccb7790c283c4d8fd7ec50be7529c412097bd464e1d34aad926d7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [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: 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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:12:70 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { (*env).intern.unwrap()(env, CString::new(name).unwrap().as_ptr()) } [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will 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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [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 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [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 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:42:70 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { (*env).intern.unwrap()(env, CString::new(name).unwrap().as_ptr()) } [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:55:84 [INFO] [stdout] | [INFO] [stdout] 55 | let feat = unsafe { (*env).intern.unwrap()(env, CString::new(feature).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------ ^^^^^^ this pointer will 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:12:70 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { (*env).intern.unwrap()(env, CString::new(name).unwrap().as_ptr()) } [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will 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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [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 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [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 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:42:70 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { (*env).intern.unwrap()(env, CString::new(name).unwrap().as_ptr()) } [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:55:84 [INFO] [stdout] | [INFO] [stdout] 55 | let feat = unsafe { (*env).intern.unwrap()(env, CString::new(feature).unwrap().as_ptr()) }; [INFO] [stdout] | ------------------------------ ^^^^^^ this pointer will 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: 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: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] = note: `#[warn(improper_ctypes_definitions)]` on by default [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: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: `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: `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] = note: `#[warn(improper_ctypes_definitions)]` on by default [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: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: `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: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.37s [INFO] running `Command { std: "docker" "inspect" "0176e8da40bccb7790c283c4d8fd7ec50be7529c412097bd464e1d34aad926d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0176e8da40bccb7790c283c4d8fd7ec50be7529c412097bd464e1d34aad926d7", kill_on_drop: false }` [INFO] [stdout] 0176e8da40bccb7790c283c4d8fd7ec50be7529c412097bd464e1d34aad926d7