[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] testing nilq/icecream against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilq%2Ficecream" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nilq/icecream on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-9/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf64d50d9f5e29e7de185fc1fb95cfb2bfdbb6aa7fb8372d6279e7152ba31705 [INFO] running `Command { std: "docker" "start" "-a" "bf64d50d9f5e29e7de185fc1fb95cfb2bfdbb6aa7fb8372d6279e7152ba31705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf64d50d9f5e29e7de185fc1fb95cfb2bfdbb6aa7fb8372d6279e7152ba31705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf64d50d9f5e29e7de185fc1fb95cfb2bfdbb6aa7fb8372d6279e7152ba31705", kill_on_drop: false }` [INFO] [stdout] bf64d50d9f5e29e7de185fc1fb95cfb2bfdbb6aa7fb8372d6279e7152ba31705 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f06707e280b23e3f21c221e06d2b15ab69efe9d3145f77b0baa9c85dc18290d [INFO] running `Command { std: "docker" "start" "-a" "6f06707e280b23e3f21c221e06d2b15ab69efe9d3145f77b0baa9c85dc18290d", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling llvm-sys v0.3.0 [INFO] [stderr] Compiling 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: 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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 32 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: associated function is never used: `get_precedence` [INFO] [stdout] --> src/parser/lexer.rs:92:8 [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: variant is never constructed: `If` [INFO] [stdout] --> src/parser/parser.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | If(Box, Box), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IfElse` [INFO] [stdout] --> src/parser/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | IfElse(Box, Box, Box), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Var` [INFO] [stdout] --> src/parser/parser.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Var(String, Option>), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Block` [INFO] [stdout] --> src/parser/parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Block(Box>), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expr` [INFO] [stdout] --> src/parser/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Expr(Box), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/parser/parser.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Return, [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReturnWithVal` [INFO] [stdout] --> src/parser/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | ReturnWithVal(Box), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/parser/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Integer(i64), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/parser/parser.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Float(f64), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Text` [INFO] [stdout] --> src/parser/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Text(String), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/parser/parser.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Identifier(String), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FnCall` [INFO] [stdout] --> src/parser/parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | FnCall(String, Box>), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dot` [INFO] [stdout] --> src/parser/parser.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Dot(Box, Box), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Index` [INFO] [stdout] --> src/parser/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Index(String, Box), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assignment` [INFO] [stdout] --> src/parser/parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Assignment(Box, Box), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `True` [INFO] [stdout] --> src/parser/parser.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | True, [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `False` [INFO] [stdout] --> src/parser/parser.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | False, [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_main` [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 is never used: `parse_expression` [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: variant is never constructed: `BadInput` [INFO] [stdout] --> src/parser/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BadInput, [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnknownOperator` [INFO] [stdout] --> src/parser/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | UnknownOperator, [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingRParen` [INFO] [stdout] --> src/parser/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | MissingRParen, [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FnMissingName` [INFO] [stdout] --> src/parser/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | FnMissingName, [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FnMissingParameters` [INFO] [stdout] --> src/parser/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | FnMissingParameters, [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutOfInput` [INFO] [stdout] --> src/parser/error.rs:11:5 [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unown` [INFO] [stdout] --> src/vm/module.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn unown(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `verify` [INFO] [stdout] --> src/vm/module.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn verify(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `int1_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | bind_llvm_type!(LLVMInt1TypeInContext => int1_type); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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 is never used: `int16_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | bind_llvm_type!(LLVMInt16TypeInContext => int16_type); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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 is never used: `int32_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | bind_llvm_type!(LLVMInt32TypeInContext => int32_type); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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 is never used: `int64_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | bind_llvm_type!(LLVMInt64TypeInContext => int64_type); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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 is never used: `float_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | bind_llvm_type!(LLVMFloatTypeInContext => float_type); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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 is never used: `fp128_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | bind_llvm_type!(LLVMFP128TypeInContext => fp128_type); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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 is never used: `void_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | bind_llvm_type!(LLVMVoidTypeInContext => void_type); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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 is never used: `x86fp80_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | bind_llvm_type!(LLVMX86FP80TypeInContext => x86fp80_type); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [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 is never used: `x86mmx_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | bind_llvm_type!(LLVMX86MMXTypeInContext => x86mmx_type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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 is never used: `int_type` [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 is never used: `array_type` [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 is never used: `pointer_type` [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 is never used: `vector_type` [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: associated function is never used: `return_void` [INFO] [stdout] --> src/vm/builder.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn return_void(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arity` [INFO] [stdout] --> src/vm/function.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn arity(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `verify` [INFO] [stdout] --> src/vm/function.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn verify(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.04s [INFO] running `Command { std: "docker" "inspect" "6f06707e280b23e3f21c221e06d2b15ab69efe9d3145f77b0baa9c85dc18290d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f06707e280b23e3f21c221e06d2b15ab69efe9d3145f77b0baa9c85dc18290d", kill_on_drop: false }` [INFO] [stdout] 6f06707e280b23e3f21c221e06d2b15ab69efe9d3145f77b0baa9c85dc18290d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a50e69d3b8d5b4854546b829142f588a3baaea5546493fe2ee7fd3e839889c5d [INFO] running `Command { std: "docker" "start" "-a" "a50e69d3b8d5b4854546b829142f588a3baaea5546493fe2ee7fd3e839889c5d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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: 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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 32 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: associated function is never used: `get_precedence` [INFO] [stdout] --> src/parser/lexer.rs:92:8 [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: variant is never constructed: `If` [INFO] [stdout] --> src/parser/parser.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | If(Box, Box), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IfElse` [INFO] [stdout] --> src/parser/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | IfElse(Box, Box, Box), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Var` [INFO] [stdout] --> src/parser/parser.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Var(String, Option>), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Block` [INFO] [stdout] --> src/parser/parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Block(Box>), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expr` [INFO] [stdout] --> src/parser/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Expr(Box), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/parser/parser.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Return, [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReturnWithVal` [INFO] [stdout] --> src/parser/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | ReturnWithVal(Box), [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] --> src/parser/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/parser/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Integer(i64), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/parser/parser.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Float(f64), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Text` [INFO] [stdout] --> src/parser/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Text(String), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/parser/parser.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Identifier(String), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FnCall` [INFO] [stdout] --> src/parser/parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | FnCall(String, Box>), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dot` [INFO] [stdout] --> src/parser/parser.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Dot(Box, Box), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Index` [INFO] [stdout] --> src/parser/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Index(String, Box), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assignment` [INFO] [stdout] --> src/parser/parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Assignment(Box, Box), [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `True` [INFO] [stdout] --> src/parser/parser.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | True, [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `False` [INFO] [stdout] --> src/parser/parser.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | False, [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] --> src/parser/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_main` [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 is never used: `parse_expression` [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: variant is never constructed: `BadInput` [INFO] [stdout] --> src/parser/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BadInput, [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnknownOperator` [INFO] [stdout] --> src/parser/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | UnknownOperator, [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingRParen` [INFO] [stdout] --> src/parser/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | MissingRParen, [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FnMissingName` [INFO] [stdout] --> src/parser/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | FnMissingName, [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FnMissingParameters` [INFO] [stdout] --> src/parser/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | FnMissingParameters, [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutOfInput` [INFO] [stdout] --> src/parser/error.rs:11:5 [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] --> src/parser/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unown` [INFO] [stdout] --> src/vm/module.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn unown(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `verify` [INFO] [stdout] --> src/vm/module.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn verify(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `int1_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | bind_llvm_type!(LLVMInt1TypeInContext => int1_type); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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 is never used: `int16_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | bind_llvm_type!(LLVMInt16TypeInContext => int16_type); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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 is never used: `int32_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | bind_llvm_type!(LLVMInt32TypeInContext => int32_type); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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 is never used: `int64_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | bind_llvm_type!(LLVMInt64TypeInContext => int64_type); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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 is never used: `float_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | bind_llvm_type!(LLVMFloatTypeInContext => float_type); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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 is never used: `fp128_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | bind_llvm_type!(LLVMFP128TypeInContext => fp128_type); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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 is never used: `void_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | bind_llvm_type!(LLVMVoidTypeInContext => void_type); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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 is never used: `x86fp80_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | bind_llvm_type!(LLVMX86FP80TypeInContext => x86fp80_type); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [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 is never used: `x86mmx_type` [INFO] [stdout] --> src/vm/llvm_type.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | bind_llvm_type!(LLVMX86MMXTypeInContext => x86mmx_type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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 is never used: `int_type` [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 is never used: `array_type` [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 is never used: `pointer_type` [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 is never used: `vector_type` [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: associated function is never used: `return_void` [INFO] [stdout] --> src/vm/builder.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn return_void(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arity` [INFO] [stdout] --> src/vm/function.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn arity(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `verify` [INFO] [stdout] --> src/vm/function.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn verify(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/bathroom-050e94dfc9a60a9e) [INFO] running `Command { std: "docker" "inspect" "a50e69d3b8d5b4854546b829142f588a3baaea5546493fe2ee7fd3e839889c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a50e69d3b8d5b4854546b829142f588a3baaea5546493fe2ee7fd3e839889c5d", kill_on_drop: false }` [INFO] [stdout] a50e69d3b8d5b4854546b829142f588a3baaea5546493fe2ee7fd3e839889c5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f05bb80a10fe36bc1e1ba88101910f91f8612b9529b9e88ab7dc32307892271d [INFO] running `Command { std: "docker" "start" "-a" "f05bb80a10fe36bc1e1ba88101910f91f8612b9529b9e88ab7dc32307892271d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `vm` [INFO] [stderr] --> src/vm/context.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use vm; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/vm/module.rs:62:89 [INFO] [stderr] | [INFO] [stderr] 62 | error = String::from_utf8_lossy(err_buffer.to_bytes()).into_owned();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `vm` [INFO] [stderr] --> src/vm/value.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use vm; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `vm` [INFO] [stderr] --> src/vm/llvm_type.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use vm; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `void_type` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | void_type, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/error.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 32 - fn cause(&self) -> Option<&Error> { [INFO] [stderr] 32 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/parser/error.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lhs` [INFO] [stderr] --> src/parser/parser.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | let lhs = match parse_main(input) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | let mut module = Module::new("strawberry", &context); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_precedence` [INFO] [stderr] --> src/parser/lexer.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | fn get_precedence(token: &Token) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `If` [INFO] [stderr] --> src/parser/parser.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | If(Box, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IfElse` [INFO] [stderr] --> src/parser/parser.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | IfElse(Box, Box, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Var` [INFO] [stderr] --> src/parser/parser.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Var(String, Option>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Block` [INFO] [stderr] --> src/parser/parser.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Block(Box>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Expr` [INFO] [stderr] --> src/parser/parser.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Expr(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Return` [INFO] [stderr] --> src/parser/parser.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Return, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ReturnWithVal` [INFO] [stderr] --> src/parser/parser.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | ReturnWithVal(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/parser/parser.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | Integer(i64), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Float` [INFO] [stderr] --> src/parser/parser.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | Float(f64), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Text` [INFO] [stderr] --> src/parser/parser.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | Text(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Identifier` [INFO] [stderr] --> src/parser/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | Identifier(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FnCall` [INFO] [stderr] --> src/parser/parser.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | FnCall(String, Box>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Dot` [INFO] [stderr] --> src/parser/parser.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | Dot(Box, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Index` [INFO] [stderr] --> src/parser/parser.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | Index(String, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Assignment` [INFO] [stderr] --> src/parser/parser.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | Assignment(Box, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `True` [INFO] [stderr] --> src/parser/parser.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | True, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `False` [INFO] [stderr] --> src/parser/parser.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | False, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/parser.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_main` [INFO] [stderr] --> src/parser/parser.rs:37:4 [INFO] [stderr] | [INFO] [stderr] 37 | fn parse_main<'a>(input: &mut Lexer<'a>) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_expression` [INFO] [stderr] --> src/parser/parser.rs:49:4 [INFO] [stderr] | [INFO] [stderr] 49 | fn parse_expression<'a>(input: &mut Lexer<'a>) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BadInput` [INFO] [stderr] --> src/parser/error.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | BadInput, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnknownOperator` [INFO] [stderr] --> src/parser/error.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | UnknownOperator, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MissingRParen` [INFO] [stderr] --> src/parser/error.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | MissingRParen, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FnMissingName` [INFO] [stderr] --> src/parser/error.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | FnMissingName, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FnMissingParameters` [INFO] [stderr] --> src/parser/error.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | FnMissingParameters, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OutOfInput` [INFO] [stderr] --> src/parser/error.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | OutOfInput, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/error.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unown` [INFO] [stderr] --> src/vm/module.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 42 | pub unsafe fn unown(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `verify` [INFO] [stderr] --> src/vm/module.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn verify(&self) -> Result<(), String> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `int1_type` [INFO] [stderr] --> src/vm/llvm_type.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | bind_llvm_type!(LLVMInt1TypeInContext => int1_type); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `int16_type` [INFO] [stderr] --> src/vm/llvm_type.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | bind_llvm_type!(LLVMInt16TypeInContext => int16_type); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `int32_type` [INFO] [stderr] --> src/vm/llvm_type.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | bind_llvm_type!(LLVMInt32TypeInContext => int32_type); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `int64_type` [INFO] [stderr] --> src/vm/llvm_type.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | bind_llvm_type!(LLVMInt64TypeInContext => int64_type); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `float_type` [INFO] [stderr] --> src/vm/llvm_type.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | bind_llvm_type!(LLVMFloatTypeInContext => float_type); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fp128_type` [INFO] [stderr] --> src/vm/llvm_type.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | bind_llvm_type!(LLVMFP128TypeInContext => fp128_type); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `void_type` [INFO] [stderr] --> src/vm/llvm_type.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | bind_llvm_type!(LLVMVoidTypeInContext => void_type); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `x86fp80_type` [INFO] [stderr] --> src/vm/llvm_type.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | bind_llvm_type!(LLVMX86FP80TypeInContext => x86fp80_type); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `x86mmx_type` [INFO] [stderr] --> src/vm/llvm_type.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn $name(context: &Context) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | bind_llvm_type!(LLVMX86MMXTypeInContext => x86mmx_type); [INFO] [stderr] | ------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bind_llvm_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `int_type` [INFO] [stderr] --> src/vm/llvm_type.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn int_type(size: u32, context: &Context) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `array_type` [INFO] [stderr] --> src/vm/llvm_type.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn array_type(element_type: LLVMTypeRef, size: u32) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `pointer_type` [INFO] [stderr] --> src/vm/llvm_type.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn pointer_type(element_type: LLVMTypeRef, address_space: u32) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `vector_type` [INFO] [stderr] --> src/vm/llvm_type.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn vector_type(element_type: LLVMTypeRef, size: u32) -> LLVMTypeRef { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `return_void` [INFO] [stderr] --> src/vm/builder.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn return_void(&mut self) -> Value { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `arity` [INFO] [stderr] --> src/vm/function.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn arity(&self) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `verify` [INFO] [stderr] --> src/vm/function.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn verify(&self) -> Result<(), String> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bathroom` (bin "bathroom" test) generated 53 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bathroom-050e94dfc9a60a9e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f05bb80a10fe36bc1e1ba88101910f91f8612b9529b9e88ab7dc32307892271d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f05bb80a10fe36bc1e1ba88101910f91f8612b9529b9e88ab7dc32307892271d", kill_on_drop: false }` [INFO] [stdout] f05bb80a10fe36bc1e1ba88101910f91f8612b9529b9e88ab7dc32307892271d