[INFO] fetching crate htn_planner 0.1.0...
[INFO] checking htn_planner-0.1.0 against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] extracting crate htn_planner 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate htn_planner 0.1.0
[INFO] finished tweaking crates.io crate htn_planner 0.1.0
[INFO] tweaked toml for crates.io crate htn_planner 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate htn_planner 0.1.0 on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate htn_planner 0.1.0 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded indexmap v1.9.1
[INFO] [stderr]   Downloaded fastrand v1.7.0
[INFO] [stderr]   Downloaded tempfile v3.3.0
[INFO] [stderr]   Downloaded redox_syscall v0.2.13
[INFO] [stderr]   Downloaded filename v0.1.1
[INFO] [stderr]   Downloaded priority-queue v1.2.2
[INFO] [stderr]   Downloaded hashbrown v0.12.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f58d0e16ae4877e00cb2b6005fa2226fe33f2589955045a828f2ac1ccba35272
[INFO] running `Command { std: "docker" "start" "f58d0e16ae4877e00cb2b6005fa2226fe33f2589955045a828f2ac1ccba35272", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f58d0e16ae4877e00cb2b6005fa2226fe33f2589955045a828f2ac1ccba35272", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f58d0e16ae4877e00cb2b6005fa2226fe33f2589955045a828f2ac1ccba35272" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f58d0e16ae4877e00cb2b6005fa2226fe33f2589955045a828f2ac1ccba35272", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f58d0e16ae4877e00cb2b6005fa2226fe33f2589955045a828f2ac1ccba35272" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]     Checking hashbrown v0.12.2
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling priority-queue v1.2.2
[INFO] [stderr]     Checking filename v0.1.1
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking htn_planner v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: named argument `depth` is not used by name
[INFO] [stdout]   --> src/htn/parser/statement.rs:61:49
[INFO] [stdout]    |
[INFO] [stdout] 61 |         write!(self.f, "{:>depth$}task {}", "", depth=self.depth)?;
[INFO] [stdout]    |                                        --       ^^^^^ this named argument is referred to by position in formatting string
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        this formatting argument uses named argument `depth` by position
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(named_arguments_used_positionally)]` on by default
[INFO] [stdout] help: use the named argument by name to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 61 |         write!(self.f, "{:>depth$}task {depth}", "", depth=self.depth)?;
[INFO] [stdout]    |                                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TaskBody`
[INFO] [stdout]  --> src/htn/domain.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::compiler::{Task, self, TaskBody};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `iter::Map` and `slice::Iter`
[INFO] [stdout]  --> src/htn/compiler/domain.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, slice::Iter, iter::Map};
[INFO] [stdout]   |                                 ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/htn/parser/lexer.rs:194:53
[INFO] [stdout]     |
[INFO] [stdout] 194 |         while let Some(_) = self.it.next_if(|(_,c)| (c.is_alphanumeric() || *c == '_')) { len += 1; }
[INFO] [stdout]     |                                                     ^                                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 194 -         while let Some(_) = self.it.next_if(|(_,c)| (c.is_alphanumeric() || *c == '_')) { len += 1; }
[INFO] [stdout] 194 +         while let Some(_) = self.it.next_if(|(_,c)| c.is_alphanumeric() || *c == '_') { len += 1; }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: named argument `depth` is not used by name
[INFO] [stdout]   --> src/htn/parser/statement.rs:61:49
[INFO] [stdout]    |
[INFO] [stdout] 61 |         write!(self.f, "{:>depth$}task {}", "", depth=self.depth)?;
[INFO] [stdout]    |                                        --       ^^^^^ this named argument is referred to by position in formatting string
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        this formatting argument uses named argument `depth` by position
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(named_arguments_used_positionally)]` on by default
[INFO] [stdout] help: use the named argument by name to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 61 |         write!(self.f, "{:>depth$}task {depth}", "", depth=self.depth)?;
[INFO] [stdout]    |                                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TaskBody`
[INFO] [stdout]  --> src/htn/domain.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::compiler::{Task, self, TaskBody};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `iter::Map` and `slice::Iter`
[INFO] [stdout]  --> src/htn/compiler/domain.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, slice::Iter, iter::Map};
[INFO] [stdout]   |                                 ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/htn/parser/lexer.rs:194:53
[INFO] [stdout]     |
[INFO] [stdout] 194 |         while let Some(_) = self.it.next_if(|(_,c)| (c.is_alphanumeric() || *c == '_')) { len += 1; }
[INFO] [stdout]     |                                                     ^                                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 194 -         while let Some(_) = self.it.next_if(|(_,c)| (c.is_alphanumeric() || *c == '_')) { len += 1; }
[INFO] [stdout] 194 +         while let Some(_) = self.it.next_if(|(_,c)| c.is_alphanumeric() || *c == '_') { len += 1; }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/htn/parser.rs:83:22
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Some(Err(e)) => Err(self.lexer.next().unwrap().unwrap_err()),
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `On`
[INFO] [stdout]    --> src/htn/parser.rs:260:75
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           ^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Or`
[INFO] [stdout]     |
[INFO] [stdout] 260 -             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout] 260 +             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:htn::parser::tokens::TokenData::Or,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:_On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/htn/search.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |     while let Some((mut current, total_plan_cost)) = open_set.pop() {
[INFO] [stdout]    |                     ----^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/htn/planner.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn new_state(&self) -> State { 
[INFO] [stdout]    |                      ^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn new_state(&self) -> State<'_> { 
[INFO] [stdout]    |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `On` should have a snake case name
[INFO] [stdout]    --> src/htn/parser.rs:260:75
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           ^^ help: convert the identifier to snake case (notice the capitalization): `on`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/htn/parser/tokens.rs:148:27
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn unwrap_literal(&self) -> Literal {
[INFO] [stdout]     |                           ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn unwrap_literal(&self) -> Literal<'_> {
[INFO] [stdout]     |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: named argument `depth` is not used by name
[INFO] [stdout]   --> src/htn/parser/statement.rs:61:49
[INFO] [stdout]    |
[INFO] [stdout] 61 |         write!(self.f, "{:>depth$}task {}", "", depth=self.depth)?;
[INFO] [stdout]    |                                        --       ^^^^^ this named argument is referred to by position in formatting string
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        this formatting argument uses named argument `depth` by position
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(named_arguments_used_positionally)]` on by default
[INFO] [stdout] help: use the named argument by name to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 61 |         write!(self.f, "{:>depth$}task {depth}", "", depth=self.depth)?;
[INFO] [stdout]    |                                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TaskBody`
[INFO] [stdout]  --> src/htn/domain.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::compiler::{Task, self, TaskBody};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `iter::Map` and `slice::Iter`
[INFO] [stdout]  --> src/htn/compiler/domain.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, slice::Iter, iter::Map};
[INFO] [stdout]   |                                 ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/htn/parser/lexer.rs:194:53
[INFO] [stdout]     |
[INFO] [stdout] 194 |         while let Some(_) = self.it.next_if(|(_,c)| (c.is_alphanumeric() || *c == '_')) { len += 1; }
[INFO] [stdout]     |                                                     ^                                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 194 -         while let Some(_) = self.it.next_if(|(_,c)| (c.is_alphanumeric() || *c == '_')) { len += 1; }
[INFO] [stdout] 194 +         while let Some(_) = self.it.next_if(|(_,c)| c.is_alphanumeric() || *c == '_') { len += 1; }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: named argument `depth` is not used by name
[INFO] [stdout]   --> src/htn/parser/statement.rs:61:49
[INFO] [stdout]    |
[INFO] [stdout] 61 |         write!(self.f, "{:>depth$}task {}", "", depth=self.depth)?;
[INFO] [stdout]    |                                        --       ^^^^^ this named argument is referred to by position in formatting string
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        this formatting argument uses named argument `depth` by position
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(named_arguments_used_positionally)]` on by default
[INFO] [stdout] help: use the named argument by name to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 61 |         write!(self.f, "{:>depth$}task {depth}", "", depth=self.depth)?;
[INFO] [stdout]    |                                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TaskBody`
[INFO] [stdout]  --> src/htn/domain.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::compiler::{Task, self, TaskBody};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `iter::Map` and `slice::Iter`
[INFO] [stdout]  --> src/htn/compiler/domain.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, slice::Iter, iter::Map};
[INFO] [stdout]   |                                 ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/htn/parser/lexer.rs:194:53
[INFO] [stdout]     |
[INFO] [stdout] 194 |         while let Some(_) = self.it.next_if(|(_,c)| (c.is_alphanumeric() || *c == '_')) { len += 1; }
[INFO] [stdout]     |                                                     ^                                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 194 -         while let Some(_) = self.it.next_if(|(_,c)| (c.is_alphanumeric() || *c == '_')) { len += 1; }
[INFO] [stdout] 194 +         while let Some(_) = self.it.next_if(|(_,c)| c.is_alphanumeric() || *c == '_') { len += 1; }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/htn/parser.rs:83:22
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Some(Err(e)) => Err(self.lexer.next().unwrap().unwrap_err()),
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `On`
[INFO] [stdout]    --> src/htn/parser.rs:260:75
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           ^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Or`
[INFO] [stdout]     |
[INFO] [stdout] 260 -             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout] 260 +             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:htn::parser::tokens::TokenData::Or,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:_On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/htn/search.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |     while let Some((mut current, total_plan_cost)) = open_set.pop() {
[INFO] [stdout]    |                     ----^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/htn/planner.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn new_state(&self) -> State { 
[INFO] [stdout]    |                      ^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn new_state(&self) -> State<'_> { 
[INFO] [stdout]    |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `On` should have a snake case name
[INFO] [stdout]    --> src/htn/parser.rs:260:75
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           ^^ help: convert the identifier to snake case (notice the capitalization): `on`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/htn/parser/tokens.rs:148:27
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn unwrap_literal(&self) -> Literal {
[INFO] [stdout]     |                           ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn unwrap_literal(&self) -> Literal<'_> {
[INFO] [stdout]     |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/htn/parser.rs:83:22
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Some(Err(e)) => Err(self.lexer.next().unwrap().unwrap_err()),
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `On`
[INFO] [stdout]    --> src/htn/parser.rs:260:75
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           ^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Or`
[INFO] [stdout]     |
[INFO] [stdout] 260 -             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout] 260 +             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:htn::parser::tokens::TokenData::Or,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:_On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/htn/search.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |     while let Some((mut current, total_plan_cost)) = open_set.pop() {
[INFO] [stdout]    |                     ----^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `main`, `task_mapping`, `operator_mapping`, and `blackboard_mapping` are never used
[INFO] [stdout]    --> src/htn/domain.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  39 | impl Domain {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn main(&self) -> &Task {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn task_mapping(&self) -> &HashMap<String, usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn operator_mapping(&self) -> &HashMap<String, usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn blackboard_mapping(&self) -> &HashMap<String, usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/htn/compiler/state.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl<'a> State<'a> {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn get(&self, key:&str) -> OperandType {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unwrap_str` is never used
[INFO] [stdout]   --> src/htn/parser/tokens.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Literal<'_> {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 13 |     pub fn unwrap_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unwrap_literal` is never used
[INFO] [stdout]    --> src/htn/parser/tokens.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | impl<'a> Token<'a> {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn unwrap_literal(&self) -> Literal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_err` is never used
[INFO] [stdout]    --> src/htn/parser/statement.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl<'a> Stmt<'a> {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn to_err(&self, msg:&str) -> Error {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/htn/planner.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn new_state(&self) -> State { 
[INFO] [stdout]    |                      ^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn new_state(&self) -> State<'_> { 
[INFO] [stdout]    |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `On` should have a snake case name
[INFO] [stdout]    --> src/htn/parser.rs:260:75
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           ^^ help: convert the identifier to snake case (notice the capitalization): `on`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/htn/parser/tokens.rs:148:27
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn unwrap_literal(&self) -> Literal {
[INFO] [stdout]     |                           ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn unwrap_literal(&self) -> Literal<'_> {
[INFO] [stdout]     |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/htn/parser.rs:83:22
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Some(Err(e)) => Err(self.lexer.next().unwrap().unwrap_err()),
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `On`
[INFO] [stdout]    --> src/htn/parser.rs:260:75
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           ^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Or`
[INFO] [stdout]     |
[INFO] [stdout] 260 -             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout] 260 +             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:htn::parser::tokens::TokenData::Or,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:_On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/htn/search.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |     while let Some((mut current, total_plan_cost)) = open_set.pop() {
[INFO] [stdout]    |                     ----^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `main`, `task_mapping`, `operator_mapping`, and `blackboard_mapping` are never used
[INFO] [stdout]    --> src/htn/domain.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  39 | impl Domain {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn main(&self) -> &Task {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn task_mapping(&self) -> &HashMap<String, usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn operator_mapping(&self) -> &HashMap<String, usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn blackboard_mapping(&self) -> &HashMap<String, usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/htn/compiler/state.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl<'a> State<'a> {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn get(&self, key:&str) -> OperandType {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unwrap_str` is never used
[INFO] [stdout]   --> src/htn/parser/tokens.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Literal<'_> {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 13 |     pub fn unwrap_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unwrap_literal` is never used
[INFO] [stdout]    --> src/htn/parser/tokens.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | impl<'a> Token<'a> {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn unwrap_literal(&self) -> Literal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_err` is never used
[INFO] [stdout]    --> src/htn/parser/statement.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl<'a> Stmt<'a> {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn to_err(&self, msg:&str) -> Error {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/htn/planner.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn new_state(&self) -> State { 
[INFO] [stdout]    |                      ^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn new_state(&self) -> State<'_> { 
[INFO] [stdout]    |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `On` should have a snake case name
[INFO] [stdout]    --> src/htn/parser.rs:260:75
[INFO] [stdout]     |
[INFO] [stdout] 260 |             let variable = if self.lexer.next_if(|t| match t { Ok(Token{t:On,..})=>true,_=>false}).is_some() {
[INFO] [stdout]     |                                                                           ^^ help: convert the identifier to snake case (notice the capitalization): `on`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/htn/parser/tokens.rs:148:27
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn unwrap_literal(&self) -> Literal {
[INFO] [stdout]     |                           ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn unwrap_literal(&self) -> Literal<'_> {
[INFO] [stdout]     |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `filename`
[INFO] [stderr]  --> Cargo.toml:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | [dependencies.filename]
[INFO] [stderr]   |               ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `filename`
[INFO] [stderr] warning: `htn_planner` (manifest) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.76s
[INFO] running `Command { std: "docker" "inspect" "f58d0e16ae4877e00cb2b6005fa2226fe33f2589955045a828f2ac1ccba35272", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f58d0e16ae4877e00cb2b6005fa2226fe33f2589955045a828f2ac1ccba35272", kill_on_drop: false }`
[INFO] [stdout] f58d0e16ae4877e00cb2b6005fa2226fe33f2589955045a828f2ac1ccba35272
