[INFO] cloning repository https://github.com/0Marble/horn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0Marble/horn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0Marble%2Fhorn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0Marble%2Fhorn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a598568d4956a4a323052e3d7cb452d11d9fdf0a [INFO] building 0Marble/horn against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0Marble%2Fhorn" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0Marble/horn on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/0Marble/horn [INFO] finished tweaking git repo https://github.com/0Marble/horn [INFO] tweaked toml for git repo https://github.com/0Marble/horn written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/0Marble/horn 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e26b880a3d3dd5ef8e32b6d00077943c965a75d15ce0da80cee88a38a8d07671 [INFO] running `Command { std: "docker" "start" "-a" "e26b880a3d3dd5ef8e32b6d00077943c965a75d15ce0da80cee88a38a8d07671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e26b880a3d3dd5ef8e32b6d00077943c965a75d15ce0da80cee88a38a8d07671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26b880a3d3dd5ef8e32b6d00077943c965a75d15ce0da80cee88a38a8d07671", kill_on_drop: false }` [INFO] [stdout] e26b880a3d3dd5ef8e32b6d00077943c965a75d15ce0da80cee88a38a8d07671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb7eb4e4cc2bc87a41caaa9db0661e918554ccf5abe902e022212fa503587a39 [INFO] running `Command { std: "docker" "start" "-a" "fb7eb4e4cc2bc87a41caaa9db0661e918554ccf5abe902e022212fa503587a39", kill_on_drop: false }` [INFO] [stderr] Compiling horn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `program::Enviroment` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use program::Enviroment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Program`, `Task`, and `parser::TokenStream` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | parser::TokenStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | program::{Program, Task}, [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `no_rule` and `set_count` are never used [INFO] [stdout] --> src/disjoint_set.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl DisjointSet { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn no_rule(_a: &T, _b: &T) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn set_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eval` is never used [INFO] [stdout] --> src/eval.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Program { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 55 | pub fn eval<'a>(&'a self, task: &Task, max_depth: usize) -> Evaluator<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `get_max_id` are never used [INFO] [stdout] --> src/eval.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl<'a> Evaluator<'a> { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 61 | fn new(prog: &'a Program, task: &Task, max_depth: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn get_max_id(e: &Expr) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `End` and `LineCol` are never constructed [INFO] [stdout] --> src/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Loc { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 7 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | LineCol(usize, usize), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loc` 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: associated items `inc_line`, `inc_col`, and `start` are never used [INFO] [stdout] --> src/parser.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Loc { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 12 | pub fn inc_line(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn inc_col(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn start() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 37 | Semi(Loc), [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | Arrow(Loc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | Coma(Loc), [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | Question(Loc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | Lp(Loc), [INFO] [stdout] | ^^ [INFO] [stdout] 42 | Rp(Loc), [INFO] [stdout] | ^^ [INFO] [stdout] 43 | Var(String, Loc), [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | Const(String, Loc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | Backslash(Loc), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | Dot(Loc), [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | Plus(Loc), [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | Minus(Loc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | Star(Loc), [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | Div(Loc), [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | Eq(Loc), [INFO] [stdout] | ^^ [INFO] [stdout] 52 | Neq(Loc), [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | Gt(Loc), [INFO] [stdout] | ^^ [INFO] [stdout] 54 | Ge(Loc), [INFO] [stdout] | ^^ [INFO] [stdout] 55 | Lt(Loc), [INFO] [stdout] | ^^ [INFO] [stdout] 56 | Le(Loc), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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: multiple variants are never constructed [INFO] [stdout] --> src/parser.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 61 | Semi, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | Arrow, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | Coma, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | Question, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | Lp, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | Rp, [INFO] [stdout] | ^^ [INFO] [stdout] 67 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | Const, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 69 | Backslash, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 72 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 76 | Neq, [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 78 | Ge, [INFO] [stdout] | ^^ [INFO] [stdout] 79 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 80 | Le, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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: methods `get_loc`, `get_type`, and `as_ident` are never used [INFO] [stdout] --> src/parser.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 84 | pub fn get_loc(&self) -> Loc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn get_type(&self) -> TokenType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn as_ident(self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidToken`, `UnexpectedEnd`, `ExpectedAny`, and `RedeclIdent` are never constructed [INFO] [stdout] --> src/parser.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub enum ParseErrorKind { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 166 | InvalidToken, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 167 | UnexpectedEnd, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 168 | ExpectedAny(Rc<[TokenType]>, TokenType), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 169 | RedeclIdent(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorKind` 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: struct `TokenStream` is never constructed [INFO] [stdout] --> src/parser.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct TokenStream { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `eat_char`, `eat_next`, `peek_next`, `eat_expect_any`, and `peek_expect_any` are never used [INFO] [stdout] --> src/parser.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 190 | / impl TokenStream [INFO] [stdout] 191 | | where [INFO] [stdout] 192 | | I: Iterator, [INFO] [stdout] | |_____________________________- associated items in this implementation [INFO] [stdout] 193 | { [INFO] [stdout] 194 | pub fn new(it: I) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn eat_char(&mut self, state: &mut usize, ident: &mut String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn eat_next(&mut self) -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn peek_next(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn eat_expect_any(&mut self, opts: &[TokenType]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn peek_expect_any(&self, opts: &[TokenType]) -> Result<&Token, ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/parser.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 348 | impl Program { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 349 | pub fn parse(toks: &mut TokenStream, env: &mut Enviroment) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/parser.rs:358:12 [INFO] [stdout] | [INFO] [stdout] 357 | impl Task { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 358 | pub fn parse(toks: &mut TokenStream, env: &mut Enviroment) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_prog` is never used [INFO] [stdout] --> src/parser.rs:366:4 [INFO] [stdout] | [INFO] [stdout] 366 | fn parse_prog(toks: &mut TokenStream, env: &mut Enviroment) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_clause` is never used [INFO] [stdout] --> src/parser.rs:385:4 [INFO] [stdout] | [INFO] [stdout] 385 | fn parse_clause(toks: &mut TokenStream, env: &mut Enviroment) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_task` is never used [INFO] [stdout] --> src/parser.rs:410:4 [INFO] [stdout] | [INFO] [stdout] 410 | fn parse_task(toks: &mut TokenStream, env: &mut Enviroment) -> Result, ParseError> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expr` is never used [INFO] [stdout] --> src/parser.rs:429:4 [INFO] [stdout] | [INFO] [stdout] 429 | fn parse_expr(toks: &mut TokenStream, env: &mut Enviroment) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_lhs` is never used [INFO] [stdout] --> src/parser.rs:443:4 [INFO] [stdout] | [INFO] [stdout] 443 | fn parse_lhs(toks: &mut TokenStream, env: &mut Enviroment) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_rhs` is never used [INFO] [stdout] --> src/parser.rs:474:4 [INFO] [stdout] | [INFO] [stdout] 474 | fn parse_rhs( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_ident` is never used [INFO] [stdout] --> src/parser.rs:537:4 [INFO] [stdout] | [INFO] [stdout] 537 | fn add_ident( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/parser.rs:558:4 [INFO] [stdout] | [INFO] [stdout] 558 | fn parse_args(toks: &mut TokenStream, env: &mut Enviroment) -> Result, ParseError> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/program.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Expr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 16 | pub fn print(&self, w: &mut dyn Write, env: &Enviroment) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/program.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl Program { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 65 | pub fn new(clauses: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> src/program.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `exprs`, `get_vars`, and `find_vars` are never used [INFO] [stdout] --> src/program.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 82 | pub fn new(task: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn exprs(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_vars(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn find_vars(e: &Expr, set: &mut HashSet) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Enviroment` is never constructed [INFO] [stdout] --> src/program.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Enviroment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enviroment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_ident_kind`, `get_ident_name`, `add_ident`, and `new` are never used [INFO] [stdout] --> src/program.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl Enviroment { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 120 | pub fn get_ident_kind(&self, ident: &str) -> Option<(usize, IdentKind)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_ident_name(&self, id: usize) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn add_ident(&mut self, ident: String, kind: IdentKind) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_expr_id` and `get_expr` are never used [INFO] [stdout] --> src/unifier.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Unifier { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 21 | pub fn get_expr_id(&self, expr: &Expr) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn get_expr(&self, id: Id) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "fb7eb4e4cc2bc87a41caaa9db0661e918554ccf5abe902e022212fa503587a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb7eb4e4cc2bc87a41caaa9db0661e918554ccf5abe902e022212fa503587a39", kill_on_drop: false }` [INFO] [stdout] fb7eb4e4cc2bc87a41caaa9db0661e918554ccf5abe902e022212fa503587a39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7b3ef275f0b143f2e1aed372523a7f9a3ed991e47923e7dc27e709393ee1c81 [INFO] running `Command { std: "docker" "start" "-a" "d7b3ef275f0b143f2e1aed372523a7f9a3ed991e47923e7dc27e709393ee1c81", kill_on_drop: false }` [INFO] [stderr] Compiling horn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `program::Enviroment` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use program::Enviroment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Program`, `Task`, and `parser::TokenStream` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | parser::TokenStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | program::{Program, Task}, [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_vars` and `find_vars` are never used [INFO] [stdout] --> src/program.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_vars(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn find_vars(e: &Expr, set: &mut HashSet) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "d7b3ef275f0b143f2e1aed372523a7f9a3ed991e47923e7dc27e709393ee1c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7b3ef275f0b143f2e1aed372523a7f9a3ed991e47923e7dc27e709393ee1c81", kill_on_drop: false }` [INFO] [stdout] d7b3ef275f0b143f2e1aed372523a7f9a3ed991e47923e7dc27e709393ee1c81