[INFO] cloning repository https://github.com/Palkovsky/Nudz-Limak [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Palkovsky/Nudz-Limak" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPalkovsky%2FNudz-Limak", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPalkovsky%2FNudz-Limak'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aae8e3184798ea3ba2d23882e53255a2af130346 [INFO] checking Palkovsky/Nudz-Limak against master#42b384ec0dfcd528d99a4db0a337d9188a9eecaa for pr-147017-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPalkovsky%2FNudz-Limak" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Palkovsky/Nudz-Limak [INFO] finished tweaking git repo https://github.com/Palkovsky/Nudz-Limak [INFO] tweaked toml for git repo https://github.com/Palkovsky/Nudz-Limak written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Palkovsky/Nudz-Limak on toolchain 42b384ec0dfcd528d99a4db0a337d9188a9eecaa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Palkovsky/Nudz-Limak 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" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/TomBebbington/llvm-sys.rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded cbox v0.3.0 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded bitflags v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 321f83a4e8f48c3ad9421f57be41341f7cb9652233008952c693dec4bb853cc0 [INFO] running `Command { std: "docker" "start" "-a" "321f83a4e8f48c3ad9421f57be41341f7cb9652233008952c693dec4bb853cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "321f83a4e8f48c3ad9421f57be41341f7cb9652233008952c693dec4bb853cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "321f83a4e8f48c3ad9421f57be41341f7cb9652233008952c693dec4bb853cc0", kill_on_drop: false }` [INFO] [stdout] 321f83a4e8f48c3ad9421f57be41341f7cb9652233008952c693dec4bb853cc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e771429b6914ee78c7cb9acb17e0e53d248d926677b69368135548b1beb4b504 [INFO] running `Command { std: "docker" "start" "-a" "e771429b6914ee78c7cb9acb17e0e53d248d926677b69368135548b1beb4b504", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Compiling llvm-alt v0.5.0 (/opt/rustwide/workdir/llvm-rs) [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/lexer) [INFO] [stdout] warning: variant `BIN_OP` should have an upper camel case name [INFO] [stdout] --> lexer/src/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | BIN_OP(BinOp), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `BinOp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinOp` is never used [INFO] [stdout] --> lexer/src/lib.rs:201:6 [INFO] [stdout] | [INFO] [stdout] 201 | enum BinOp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TestToken` is never used [INFO] [stdout] --> lexer/src/lib.rs:206:6 [INFO] [stdout] | [INFO] [stdout] 206 | enum TestToken { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling llvm-sys v0.3.0 (https://github.com/TomBebbington/llvm-sys.rs#88a4f2da) [INFO] [stderr] Checking cbox v0.3.0 [INFO] [stdout] warning: unused macro definition: `build` [INFO] [stdout] --> llvm-rs/src/macros.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! build { [INFO] [stdout] | ^^^^^ [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] --> llvm-rs/src/compile.rs:187:49 [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] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> llvm-rs/src/compile.rs:187:49 [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] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> llvm-rs/src/compile.rs:187:49 [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] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> llvm-rs/src/compile.rs:187:49 [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] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> llvm-rs/src/compile.rs:187:49 [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] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> llvm-rs/src/compile.rs:187:49 [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] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> llvm-rs/src/compile.rs:187:49 [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] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> llvm-rs/src/compile.rs:187:49 [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] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> llvm-rs/src/engine.rs:121:135 [INFO] [stdout] | [INFO] [stdout] 121 | ...:Compile<'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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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: `#[macro_escape]` attribute cannot be used on macro defs [INFO] [stdout] --> llvm-rs/src/macros.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = help: `#[macro_escape]` can be applied to modules, extern crates, and crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMMemoryBuffer` does not permit being left uninitialized [INFO] [stdout] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/src/engine.rs:230:38 [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] = note: this warning originates in the macro `generic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> llvm-rs/src/engine.rs:230:38 [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] = note: this warning originates in the macro `generic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> llvm-rs/src/engine.rs:230:38 [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] = note: this warning originates in the macro `generic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> llvm-rs/src/engine.rs:230:38 [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] = note: this warning originates in the macro `generic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> llvm-rs/src/engine.rs:230:38 [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] = note: this warning originates in the macro `generic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> llvm-rs/src/engine.rs:230:38 [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] = note: this warning originates in the macro `generic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> llvm-rs/src/engine.rs:230:38 [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] = note: this warning originates in the macro `generic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> llvm-rs/src/engine.rs:230:38 [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] = note: this warning originates in the macro `generic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> llvm-rs/src/engine.rs:230:38 [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] = note: this warning originates in the macro `generic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> llvm-rs/src/engine.rs:230:38 [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] = note: this warning originates in the macro `generic_int` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [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] --> llvm-rs/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] --> llvm-rs/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] --> llvm-rs/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] Checking llvm-frontend-tut v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/types.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/token.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut chars = chunk [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs_ty` [INFO] [stdout] --> src/codegen.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 663 | let rhs_ty = rhs.ty(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rhs_ty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `allocator` is never used [INFO] [stdout] --> src/codegen.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'r> FuncMeta<'r> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | fn allocator(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `level` and `drop_all` are never used [INFO] [stdout] --> src/codegen.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 253 | impl<'r> Scope<'r> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | fn level(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | fn drop_all(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/codegen.rs:101:42 [INFO] [stdout] | [INFO] [stdout] 101 | .unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/codegen.rs:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | .unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/codegen.rs:135:42 [INFO] [stdout] | [INFO] [stdout] 135 | .unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains unused formatting placeholders [INFO] [stdout] --> src/codegen.rs:549:92 [INFO] [stdout] | [INFO] [stdout] 549 | .unwrap_or_else(|| panic!("Array Delcaration: non-uniform types. Expected '{:?}', got '{:?}'.")); [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing arguments [INFO] [stdout] | [INFO] [stdout] 549 | .unwrap_or_else(|| panic!("Array Delcaration: non-uniform types. Expected '{:?}', got '{:?}'.", ...)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 549 | .unwrap_or_else(|| panic!("{}", "Array Delcaration: non-uniform types. Expected '{:?}', got '{:?}'.")); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/token.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut chars = chunk [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs_ty` [INFO] [stdout] --> src/codegen.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 663 | let rhs_ty = rhs.ty(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rhs_ty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_bool`, `is_byte`, `is_short`, `is_int`, and `is_long` are never used [INFO] [stdout] --> src/types.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 33 | impl LangType { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | accessor!(is_bool, Self::Bool); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | accessor!(is_byte, Self::Byte); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | accessor!(is_short, Self::Short); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | accessor!(is_int, Self::Int); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | accessor!(is_long, Self::Long); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `accessor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `allocator` is never used [INFO] [stdout] --> src/codegen.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'r> FuncMeta<'r> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | fn allocator(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `level` and `drop_all` are never used [INFO] [stdout] --> src/codegen.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 253 | impl<'r> Scope<'r> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | fn level(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | fn drop_all(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/codegen.rs:101:42 [INFO] [stdout] | [INFO] [stdout] 101 | .unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/codegen.rs:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | .unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/codegen.rs:135:42 [INFO] [stdout] | [INFO] [stdout] 135 | .unwrap_or_else(|err| panic!(err)); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains unused formatting placeholders [INFO] [stdout] --> src/codegen.rs:549:92 [INFO] [stdout] | [INFO] [stdout] 549 | .unwrap_or_else(|| panic!("Array Delcaration: non-uniform types. Expected '{:?}', got '{:?}'.")); [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing arguments [INFO] [stdout] | [INFO] [stdout] 549 | .unwrap_or_else(|| panic!("Array Delcaration: non-uniform types. Expected '{:?}', got '{:?}'.", ...)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 549 | .unwrap_or_else(|| panic!("{}", "Array Delcaration: non-uniform types. Expected '{:?}', got '{:?}'.")); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.5.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e771429b6914ee78c7cb9acb17e0e53d248d926677b69368135548b1beb4b504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e771429b6914ee78c7cb9acb17e0e53d248d926677b69368135548b1beb4b504", kill_on_drop: false }` [INFO] [stdout] e771429b6914ee78c7cb9acb17e0e53d248d926677b69368135548b1beb4b504