[INFO] cloning repository https://github.com/nilq/icecream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilq/icecream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilq%2Ficecream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilq%2Ficecream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffb3a020014771cf273f29d972444f3345c27c67 [INFO] checking nilq/icecream against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilq%2Ficecream" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nilq/icecream on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nilq/icecream [INFO] finished tweaking git repo https://github.com/nilq/icecream [INFO] tweaked toml for git repo https://github.com/nilq/icecream written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nilq/icecream 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.21 [INFO] [stderr] Downloaded bitflags v0.5.0 [INFO] [stderr] Downloaded gcc v0.3.43 [INFO] [stderr] Downloaded llvm-sys v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 922f7bfcfa67c782c10ba2abc640e4f7cf56c09472bd0631ae4d666a78f08eac [INFO] running `Command { std: "docker" "start" "-a" "922f7bfcfa67c782c10ba2abc640e4f7cf56c09472bd0631ae4d666a78f08eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "922f7bfcfa67c782c10ba2abc640e4f7cf56c09472bd0631ae4d666a78f08eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "922f7bfcfa67c782c10ba2abc640e4f7cf56c09472bd0631ae4d666a78f08eac", kill_on_drop: false }` [INFO] [stdout] 922f7bfcfa67c782c10ba2abc640e4f7cf56c09472bd0631ae4d666a78f08eac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e56de4f980f88aecaa3d98f09a6b2b2df8626d71ded783aac1e1f7a6c34e221 [INFO] running `Command { std: "docker" "start" "-a" "8e56de4f980f88aecaa3d98f09a6b2b2df8626d71ded783aac1e1f7a6c34e221", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling llvm-sys v0.3.0 [INFO] [stderr] Checking bathroom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm/module.rs:62:89 [INFO] [stdout] | [INFO] [stdout] 62 | error = String::from_utf8_lossy(err_buffer.to_bytes()).into_owned();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/llvm_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `void_type` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | void_type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm/module.rs:62:89 [INFO] [stdout] | [INFO] [stdout] 62 | error = String::from_utf8_lossy(err_buffer.to_bytes()).into_owned();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vm` [INFO] [stdout] --> src/vm/llvm_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vm; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `void_type` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | void_type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/error.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/error.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser/error.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser/error.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/parser/parser.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let lhs = match parse_main(input) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut module = Module::new("strawberry", &context); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/parser/parser.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let lhs = match parse_main(input) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_precedence` is never used [INFO] [stdout] --> src/parser/lexer.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_precedence(token: &Token) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Function` is never constructed [INFO] [stdout] --> src/parser/parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/parser/parser.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/parser/parser.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_main` is never used [INFO] [stdout] --> src/parser/parser.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn parse_main<'a>(input: &mut Lexer<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression` is never used [INFO] [stdout] --> src/parser/parser.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_expression<'a>(input: &mut Lexer<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadInput`, `UnknownOperator`, `MissingRParen`, `FnMissingName`, `FnMissingParameters`, and `OutOfInput` are never constructed [INFO] [stdout] --> src/parser/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParserError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 6 | BadInput, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | UnknownOperator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | MissingRParen, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | FnMissingName, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | FnMissingParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | OutOfInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unown` and `verify` are never used [INFO] [stdout] --> src/vm/module.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl Module { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub unsafe fn unown(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn verify(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int1_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | bind_llvm_type!(LLVMInt1TypeInContext => int1_type); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int16_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | bind_llvm_type!(LLVMInt16TypeInContext => int16_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int32_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | bind_llvm_type!(LLVMInt32TypeInContext => int32_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int64_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | bind_llvm_type!(LLVMInt64TypeInContext => int64_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | bind_llvm_type!(LLVMFloatTypeInContext => float_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fp128_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | bind_llvm_type!(LLVMFP128TypeInContext => fp128_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `void_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | bind_llvm_type!(LLVMVoidTypeInContext => void_type); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `x86fp80_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | bind_llvm_type!(LLVMX86FP80TypeInContext => x86fp80_type); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `x86mmx_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | bind_llvm_type!(LLVMX86MMXTypeInContext => x86mmx_type); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn int_type(size: u32, context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn array_type(element_type: LLVMTypeRef, size: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointer_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn pointer_type(element_type: LLVMTypeRef, address_space: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn vector_type(element_type: LLVMTypeRef, size: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `return_void` is never used [INFO] [stdout] --> src/vm/builder.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Builder { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn return_void(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `arity` and `verify` are never used [INFO] [stdout] --> src/vm/function.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Function { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn arity(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn verify(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut module = Module::new("strawberry", &context); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_precedence` is never used [INFO] [stdout] --> src/parser/lexer.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_precedence(token: &Token) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Function` is never constructed [INFO] [stdout] --> src/parser/parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/parser/parser.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/parser/parser.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_main` is never used [INFO] [stdout] --> src/parser/parser.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn parse_main<'a>(input: &mut Lexer<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression` is never used [INFO] [stdout] --> src/parser/parser.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_expression<'a>(input: &mut Lexer<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadInput`, `UnknownOperator`, `MissingRParen`, `FnMissingName`, `FnMissingParameters`, and `OutOfInput` are never constructed [INFO] [stdout] --> src/parser/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParserError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 6 | BadInput, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | UnknownOperator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | MissingRParen, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | FnMissingName, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | FnMissingParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | OutOfInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unown` and `verify` are never used [INFO] [stdout] --> src/vm/module.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl Module { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub unsafe fn unown(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn verify(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int1_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | bind_llvm_type!(LLVMInt1TypeInContext => int1_type); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int16_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | bind_llvm_type!(LLVMInt16TypeInContext => int16_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int32_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | bind_llvm_type!(LLVMInt32TypeInContext => int32_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int64_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | bind_llvm_type!(LLVMInt64TypeInContext => int64_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | bind_llvm_type!(LLVMFloatTypeInContext => float_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fp128_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | bind_llvm_type!(LLVMFP128TypeInContext => fp128_type); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `void_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | bind_llvm_type!(LLVMVoidTypeInContext => void_type); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `x86fp80_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | bind_llvm_type!(LLVMX86FP80TypeInContext => x86fp80_type); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `x86mmx_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | bind_llvm_type!(LLVMX86MMXTypeInContext => x86mmx_type); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn int_type(size: u32, context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn array_type(element_type: LLVMTypeRef, size: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointer_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn pointer_type(element_type: LLVMTypeRef, address_space: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_type` is never used [INFO] [stdout] --> src/vm/llvm_type.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn vector_type(element_type: LLVMTypeRef, size: u32) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `return_void` is never used [INFO] [stdout] --> src/vm/builder.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Builder { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn return_void(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `arity` and `verify` are never used [INFO] [stdout] --> src/vm/function.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Function { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn arity(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn verify(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.38s [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 3` [INFO] running `Command { std: "docker" "inspect" "8e56de4f980f88aecaa3d98f09a6b2b2df8626d71ded783aac1e1f7a6c34e221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e56de4f980f88aecaa3d98f09a6b2b2df8626d71ded783aac1e1f7a6c34e221", kill_on_drop: false }` [INFO] [stdout] 8e56de4f980f88aecaa3d98f09a6b2b2df8626d71ded783aac1e1f7a6c34e221