[INFO] cloning repository https://github.com/TomBebbington/llvm-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TomBebbington/llvm-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomBebbington%2Fllvm-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomBebbington%2Fllvm-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e12320221a4590d5c658306539b235b103651fda [INFO] checking TomBebbington/llvm-rs against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomBebbington%2Fllvm-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TomBebbington/llvm-rs [INFO] finished tweaking git repo https://github.com/TomBebbington/llvm-rs [INFO] tweaked toml for git repo https://github.com/TomBebbington/llvm-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TomBebbington/llvm-rs on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TomBebbington/llvm-rs 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `llvm-alt` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 785faa09e2aa6372152c09d03b3c4a9591afc09f27043b47ff2fe9e68366f37e [INFO] running `Command { std: "docker" "start" "785faa09e2aa6372152c09d03b3c4a9591afc09f27043b47ff2fe9e68366f37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "785faa09e2aa6372152c09d03b3c4a9591afc09f27043b47ff2fe9e68366f37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "785faa09e2aa6372152c09d03b3c4a9591afc09f27043b47ff2fe9e68366f37e" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "785faa09e2aa6372152c09d03b3c4a9591afc09f27043b47ff2fe9e68366f37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "785faa09e2aa6372152c09d03b3c4a9591afc09f27043b47ff2fe9e68366f37e" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `llvm-alt` (manifest) generated 1 warning [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling gcc v0.3.31 [INFO] [stderr] Checking libc v0.2.14 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Compiling llvm-alt v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking cbox v0.3.0 [INFO] [stderr] Compiling llvm-sys v0.3.0 (https://github.com/TomBebbington/llvm-sys.rs#88a4f2da) [INFO] [stdout] warning: unused macro definition: `build` [INFO] [stdout] --> src/macros.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! build { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod macros; [INFO] [stdout] | ----------- the macro is exported by its enclosing module [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 201 | compile_func!{} [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 202 | compile_func!{A} [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 203 | compile_func!{A, B} [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `build` [INFO] [stdout] --> src/macros.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! build { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod macros; [INFO] [stdout] | ----------- the macro is exported by its enclosing module [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 204 | compile_func!{A, B, C} [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 205 | compile_func!{A, B, C, D} [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 206 | compile_func!{A, B, C, D, E} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 207 | compile_func!{A, B, C, D, E, F} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 208 | compile_func!{A, B, C, D, E, F, G} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/engine.rs:121:135 [INFO] [stdout] | [INFO] [stdout] 121 | ...mpile<'a>, R:Compile<'a>, C:FnOnce(extern fn(A) -> R) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/engine.rs:128:72 [INFO] [stdout] | [INFO] [stdout] 128 | pub unsafe fn get_function(&self, function: &'a Function) -> extern fn(A) -> R { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/module.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | let buf = try!(MemoryBuffer::new_from_file(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/module.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | try!(self.write_bitcode(mod_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 201 | compile_func!{} [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 202 | compile_func!{A} [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/object.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | let buf = try!(MemoryBuffer::new_from_file(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 203 | compile_func!{A, B} [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 204 | compile_func!{A, B, C} [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 205 | compile_func!{A, B, C, D} [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 206 | compile_func!{A, B, C, D, E} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 207 | compile_func!{A, B, C, D, E, F} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compile.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 173 | macro_rules! compile_func( [INFO] [stdout] ... [INFO] [stdout] 187 | impl<'a, R, $($name),*> Compile<'a> for extern fn($($name),*) -> R where R:Compile<'a>, $($name:Compile<'a>),* { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 208 | compile_func!{A, B, C, D, E, F, G} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/engine.rs:121:135 [INFO] [stdout] | [INFO] [stdout] 121 | ...mpile<'a>, R:Compile<'a>, C:FnOnce(extern fn(A) -> R) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/engine.rs:128:72 [INFO] [stdout] | [INFO] [stdout] 128 | pub unsafe fn get_function(&self, function: &'a Function) -> extern fn(A) -> R { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/module.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | let buf = try!(MemoryBuffer::new_from_file(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/module.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | try!(self.write_bitcode(mod_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/object.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | let buf = try!(MemoryBuffer::new_from_file(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/buffer.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | let mut output = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/buffer.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | let mut error = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/buffer.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | let mut output = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/buffer.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | let mut error = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/engine.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | let mut out = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/engine.rs:137:31 [INFO] [stdout] | [INFO] [stdout] 137 | let mut ee = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/engine.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | let mut out = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/engine.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | let mut ee = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/module.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | let mut out = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/engine.rs:137:31 [INFO] [stdout] | [INFO] [stdout] 137 | let mut ee = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/module.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | let mut err = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/module.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | let mut error = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/engine.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | let mut ee = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/module.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 194 | let mut message = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/module.rs:210:36 [INFO] [stdout] | [INFO] [stdout] 210 | let mut message = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/module.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | let mut out = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/module.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | let mut err = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/types.rs:111:57 [INFO] [stdout] | [INFO] [stdout] 111 | let mut els:Vec<_> = (0..size).map(|_| mem::uninitialized()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/module.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | let mut error = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/types.rs:148:60 [INFO] [stdout] | [INFO] [stdout] 148 | let mut types:Vec<_> = (0..count).map(|_| mem::uninitialized()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/module.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 194 | let mut message = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/module.rs:210:36 [INFO] [stdout] | [INFO] [stdout] 210 | let mut message = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/types.rs:111:57 [INFO] [stdout] | [INFO] [stdout] 111 | let mut els:Vec<_> = (0..size).map(|_| mem::uninitialized()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `macro_escape` attribute cannot be used on macro defs [INFO] [stdout] --> src/macros.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `macro_escape` attribute can be applied to extern crates and modules [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/types.rs:148:60 [INFO] [stdout] | [INFO] [stdout] 148 | let mut types:Vec<_> = (0..count).map(|_| mem::uninitialized()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `macro_escape` attribute cannot be used on macro defs [INFO] [stdout] --> src/macros.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the `macro_escape` attribute can be applied to extern crates and modules [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `*mut LLVMBuilder` [INFO] [stdout] --> src/builder.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | CSemiBox::new(unsafe { core::LLVMCreateBuilderInContext(context.into()) }.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 47 - CSemiBox::new(unsafe { core::LLVMCreateBuilderInContext(context.into()) }.into()) [INFO] [stdout] 47 + CSemiBox::new(unsafe { core::LLVMCreateBuilderInContext(context.into()) }) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 47 - CSemiBox::new(unsafe { core::LLVMCreateBuilderInContext(context.into()) }.into()) [INFO] [stdout] 47 + CSemiBox::new(<*mut LLVMBuilder as Into<_>>::into(unsafe { core::LLVMCreateBuilderInContext(context.into()) })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `LLVMAttribute` [INFO] [stdout] --> src/value.rs:109:54 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { core::LLVMAddAttribute(self.into(), sum.into()) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 109 - unsafe { core::LLVMAddAttribute(self.into(), sum.into()) } [INFO] [stdout] 109 + unsafe { core::LLVMAddAttribute(self.into(), sum) } [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 109 - unsafe { core::LLVMAddAttribute(self.into(), sum.into()) } [INFO] [stdout] 109 + unsafe { core::LLVMAddAttribute(self.into(), >::into(sum)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `LLVMAttribute` [INFO] [stdout] --> src/value.rs:259:57 [INFO] [stdout] | [INFO] [stdout] 259 | unsafe { core::LLVMAddFunctionAttr(self.into(), sum.into()) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 259 - unsafe { core::LLVMAddFunctionAttr(self.into(), sum.into()) } [INFO] [stdout] 259 + unsafe { core::LLVMAddFunctionAttr(self.into(), sum) } [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 259 - unsafe { core::LLVMAddFunctionAttr(self.into(), sum.into()) } [INFO] [stdout] 259 + unsafe { core::LLVMAddFunctionAttr(self.into(), >::into(sum)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMMemoryBuffer` does not permit being left uninitialized [INFO] [stdout] --> src/buffer.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let mut output = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/buffer.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let mut error = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builder.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(context: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(context: &Context) -> CSemiBox<'_, Builder> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMModule` does not permit being left uninitialized [INFO] [stdout] --> src/engine.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let mut out = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut ffi::execution_engine::LLVMOpaqueExecutionEngine` does not permit being left uninitialized [INFO] [stdout] --> src/engine.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let mut ee = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut ffi::execution_engine::LLVMOpaqueExecutionEngine` does not permit being left uninitialized [INFO] [stdout] --> src/engine.rs:171:26 [INFO] [stdout] | [INFO] [stdout] 171 | let mut ee = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | fn to_generic(self, context: &Context) -> CSemiBox; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 194 | fn to_generic(self, context: &Context) -> CSemiBox<'_, GenericValue>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:214:30 [INFO] [stdout] | [INFO] [stdout] 214 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 214 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 262 | generic_int!{some i8, u8} [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 262 | generic_int!{some i8, u8} [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 263 | generic_int!{some i16, u16} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 263 | generic_int!{some i16, u16} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 264 | generic_int!{some i32, u32} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 264 | generic_int!{some i32, u32} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 265 | generic_int!{some i64, u64} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 265 | generic_int!{some i64, u64} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 266 | generic_int!{some isize, usize} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 266 | generic_int!{some isize, usize} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMModule` does not permit being left uninitialized [INFO] [stdout] --> src/module.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | let mut out = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/module.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | let mut err = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `*mut LLVMBuilder` [INFO] [stdout] --> src/builder.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | CSemiBox::new(unsafe { core::LLVMCreateBuilderInContext(context.into()) }.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 47 - CSemiBox::new(unsafe { core::LLVMCreateBuilderInContext(context.into()) }.into()) [INFO] [stdout] 47 + CSemiBox::new(unsafe { core::LLVMCreateBuilderInContext(context.into()) }) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 47 - CSemiBox::new(unsafe { core::LLVMCreateBuilderInContext(context.into()) }.into()) [INFO] [stdout] 47 + CSemiBox::new(<*mut LLVMBuilder as Into<_>>::into(unsafe { core::LLVMCreateBuilderInContext(context.into()) })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `LLVMAttribute` [INFO] [stdout] --> src/value.rs:109:54 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { core::LLVMAddAttribute(self.into(), sum.into()) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 109 - unsafe { core::LLVMAddAttribute(self.into(), sum.into()) } [INFO] [stdout] 109 + unsafe { core::LLVMAddAttribute(self.into(), sum) } [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 109 - unsafe { core::LLVMAddAttribute(self.into(), sum.into()) } [INFO] [stdout] 109 + unsafe { core::LLVMAddAttribute(self.into(), >::into(sum)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `LLVMAttribute` [INFO] [stdout] --> src/value.rs:259:57 [INFO] [stdout] | [INFO] [stdout] 259 | unsafe { core::LLVMAddFunctionAttr(self.into(), sum.into()) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 259 - unsafe { core::LLVMAddFunctionAttr(self.into(), sum.into()) } [INFO] [stdout] 259 + unsafe { core::LLVMAddFunctionAttr(self.into(), sum) } [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 259 - unsafe { core::LLVMAddFunctionAttr(self.into(), sum.into()) } [INFO] [stdout] 259 + unsafe { core::LLVMAddFunctionAttr(self.into(), >::into(sum)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMMemoryBuffer` does not permit being left uninitialized [INFO] [stdout] --> src/buffer.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let mut output = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/buffer.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let mut error = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/module.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | let mut error = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/module.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | let mut message = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/module.rs:210:31 [INFO] [stdout] | [INFO] [stdout] 210 | let mut message = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn symbols(&self) -> Symbols { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn symbols(&self) -> Symbols<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/object.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | address: mem::transmute(address), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 50 - address: mem::transmute(address), [INFO] [stdout] 50 + address: std::ptr::with_exposed_provenance::(address), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `&types::Type` does not permit being left uninitialized [INFO] [stdout] --> src/types.rs:111:52 [INFO] [stdout] | [INFO] [stdout] 111 | let mut els:Vec<_> = (0..size).map(|_| mem::uninitialized()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: references must be non-null [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `&types::Type` does not permit being left uninitialized [INFO] [stdout] --> src/types.rs:148:55 [INFO] [stdout] | [INFO] [stdout] 148 | let mut types:Vec<_> = (0..count).map(|_| mem::uninitialized()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: references must be non-null [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builder.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(context: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(context: &Context) -> CSemiBox<'_, Builder> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMModule` does not permit being left uninitialized [INFO] [stdout] --> src/engine.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let mut out = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn blocks(&self) -> BlockIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 234 | pub fn blocks(&self) -> BlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut ffi::execution_engine::LLVMOpaqueExecutionEngine` does not permit being left uninitialized [INFO] [stdout] --> src/engine.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let mut ee = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut ffi::execution_engine::LLVMOpaqueExecutionEngine` does not permit being left uninitialized [INFO] [stdout] --> src/engine.rs:171:26 [INFO] [stdout] | [INFO] [stdout] 171 | let mut ee = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | fn to_generic(self, context: &Context) -> CSemiBox; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 194 | fn to_generic(self, context: &Context) -> CSemiBox<'_, GenericValue>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:214:30 [INFO] [stdout] | [INFO] [stdout] 214 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 214 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 262 | generic_int!{some i8, u8} [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 262 | generic_int!{some i8, u8} [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 263 | generic_int!{some i16, u16} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 263 | generic_int!{some i16, u16} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 264 | generic_int!{some i32, u32} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 264 | generic_int!{some i32, u32} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 265 | generic_int!{some i64, u64} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 265 | generic_int!{some i64, u64} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 266 | generic_int!{some isize, usize} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/engine.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 227 | macro_rules! generic_int( [INFO] [stdout] ... [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 266 | generic_int!{some isize, usize} [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn to_generic(self, ctx: &Context) -> CSemiBox<'_, GenericValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMModule` does not permit being left uninitialized [INFO] [stdout] --> src/module.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | let mut out = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/module.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | let mut err = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/module.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | let mut error = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/module.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | let mut message = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/module.rs:210:31 [INFO] [stdout] | [INFO] [stdout] 210 | let mut message = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/object.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn symbols(&self) -> Symbols { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn symbols(&self) -> Symbols<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/object.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | address: mem::transmute(address), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 50 - address: mem::transmute(address), [INFO] [stdout] 50 + address: std::ptr::with_exposed_provenance::(address), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `&types::Type` does not permit being left uninitialized [INFO] [stdout] --> src/types.rs:111:52 [INFO] [stdout] | [INFO] [stdout] 111 | let mut els:Vec<_> = (0..size).map(|_| mem::uninitialized()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: references must be non-null [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `llvm-alt` (lib) due to 3 previous errors; 57 warnings emitted [INFO] [stdout] warning: the type `&types::Type` does not permit being left uninitialized [INFO] [stdout] --> src/types.rs:148:55 [INFO] [stdout] | [INFO] [stdout] 148 | let mut types:Vec<_> = (0..count).map(|_| mem::uninitialized()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: references must be non-null [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn blocks(&self) -> BlockIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 234 | pub fn blocks(&self) -> BlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `llvm-alt` (lib test) due to 3 previous errors; 57 warnings emitted [INFO] running `Command { std: "docker" "inspect" "785faa09e2aa6372152c09d03b3c4a9591afc09f27043b47ff2fe9e68366f37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785faa09e2aa6372152c09d03b3c4a9591afc09f27043b47ff2fe9e68366f37e", kill_on_drop: false }` [INFO] [stdout] 785faa09e2aa6372152c09d03b3c4a9591afc09f27043b47ff2fe9e68366f37e