[INFO] fetching crate oni-comb-toys-rs 0.0.2... [INFO] checking oni-comb-toys-rs-0.0.2 against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] extracting crate oni-comb-toys-rs 0.0.2 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate oni-comb-toys-rs 0.0.2 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oni-comb-toys-rs 0.0.2 [INFO] finished tweaking crates.io crate oni-comb-toys-rs 0.0.2 [INFO] tweaked toml for crates.io crate oni-comb-toys-rs 0.0.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate oni-comb-toys-rs 0.0.2 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oni-comb-parser-rs v0.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ea6254f98caf34095c83071816231d3282fb27c5a11d9f444cc1d81498f4aec [INFO] running `Command { std: "docker" "start" "-a" "9ea6254f98caf34095c83071816231d3282fb27c5a11d9f444cc1d81498f4aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ea6254f98caf34095c83071816231d3282fb27c5a11d9f444cc1d81498f4aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea6254f98caf34095c83071816231d3282fb27c5a11d9f444cc1d81498f4aec", kill_on_drop: false }` [INFO] [stdout] 9ea6254f98caf34095c83071816231d3282fb27c5a11d9f444cc1d81498f4aec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aa15bbf728fe11b4ead9d3aa0d02c0bfa8a3e6e879e55cfc652d1625cc63ba3 [INFO] running `Command { std: "docker" "start" "-a" "7aa15bbf728fe11b4ead9d3aa0d02c0bfa8a3e6e879e55cfc652d1625cc63ba3", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oni-comb-parser-rs v0.0.5 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking oni-comb-toys-rs v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/parsers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LabelledParameter` is imported redundantly [INFO] [stdout] --> src/parsers.rs:328:7 [INFO] [stdout] | [INFO] [stdout] 326 | use super::*; [INFO] [stdout] | -------- the item `LabelledParameter` is already imported here [INFO] [stdout] 327 | use crate::interpreter::Interpreter; [INFO] [stdout] 328 | use crate::labelled_parameter::LabelledParameter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/parsers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bindings_mut` is never used [INFO] [stdout] --> src/environment.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Environment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 12 | pub fn as_bindings_mut(&mut self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Plus`, and `Minus` are never constructed [INFO] [stdout] --> src/expr.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | Plus(Rc), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Minus(Rc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of_binary` is never used [INFO] [stdout] --> src/expr.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl Expr { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn of_binary(operator: Operator, lhs: Rc, rhs: Rc) -> Rc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `get_value` are never used [INFO] [stdout] --> src/interpreter.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_value(&self, name: &str) -> &Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lines` is never used [INFO] [stdout] --> src/parsers.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn lines<'a>() -> Parser<'a, char, Vec>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Array` is never constructed [INFO] [stdout] --> src/values.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: method `as_string` is never used [INFO] [stdout] --> src/values.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 26 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bindings_mut` is never used [INFO] [stdout] --> src/environment.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Environment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 12 | pub fn as_bindings_mut(&mut self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Plus`, and `Minus` are never constructed [INFO] [stdout] --> src/expr.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | Plus(Rc), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Minus(Rc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `get_value` are never used [INFO] [stdout] --> src/interpreter.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_value(&self, name: &str) -> &Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lines` is never used [INFO] [stdout] --> src/parsers.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn lines<'a>() -> Parser<'a, char, Vec>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Array` is never constructed [INFO] [stdout] --> src/values.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: method `as_string` is never used [INFO] [stdout] --> src/values.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 26 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "7aa15bbf728fe11b4ead9d3aa0d02c0bfa8a3e6e879e55cfc652d1625cc63ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aa15bbf728fe11b4ead9d3aa0d02c0bfa8a3e6e879e55cfc652d1625cc63ba3", kill_on_drop: false }` [INFO] [stdout] 7aa15bbf728fe11b4ead9d3aa0d02c0bfa8a3e6e879e55cfc652d1625cc63ba3 [INFO] checking oni-comb-toys-rs-0.0.2 against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] extracting crate oni-comb-toys-rs 0.0.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate oni-comb-toys-rs 0.0.2 on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oni-comb-toys-rs 0.0.2 [INFO] finished tweaking crates.io crate oni-comb-toys-rs 0.0.2 [INFO] tweaked toml for crates.io crate oni-comb-toys-rs 0.0.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate oni-comb-toys-rs 0.0.2 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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b61245c0586b238598009220fc51c667c0255e7ab062f8b17b7fc1d6ad78334e [INFO] running `Command { std: "docker" "start" "-a" "b61245c0586b238598009220fc51c667c0255e7ab062f8b17b7fc1d6ad78334e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b61245c0586b238598009220fc51c667c0255e7ab062f8b17b7fc1d6ad78334e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b61245c0586b238598009220fc51c667c0255e7ab062f8b17b7fc1d6ad78334e", kill_on_drop: false }` [INFO] [stdout] b61245c0586b238598009220fc51c667c0255e7ab062f8b17b7fc1d6ad78334e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5febc7b3225602f0dfd418db7adf50b6f1986beac56ac45961b307816ec325a3 [INFO] running `Command { std: "docker" "start" "-a" "5febc7b3225602f0dfd418db7adf50b6f1986beac56ac45961b307816ec325a3", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking oni-comb-parser-rs v0.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking oni-comb-toys-rs v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/parsers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/parsers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LabelledParameter` is imported redundantly [INFO] [stdout] --> src/parsers.rs:328:7 [INFO] [stdout] | [INFO] [stdout] 326 | use super::*; [INFO] [stdout] | -------- the item `LabelledParameter` is already imported here [INFO] [stdout] 327 | use crate::interpreter::Interpreter; [INFO] [stdout] 328 | use crate::labelled_parameter::LabelledParameter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bindings_mut` is never used [INFO] [stdout] --> src/environment.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Environment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 12 | pub fn as_bindings_mut(&mut self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Plus`, and `Minus` are never constructed [INFO] [stdout] --> src/expr.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | Plus(Rc), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Minus(Rc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of_binary` is never used [INFO] [stdout] --> src/expr.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 30 | impl Expr { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn of_binary(operator: Operator, lhs: Rc, rhs: Rc) -> Rc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `get_value` are never used [INFO] [stdout] --> src/interpreter.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_value(&self, name: &str) -> &Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lines` is never used [INFO] [stdout] --> src/parsers.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn lines<'a>() -> Parser<'a, char, Vec>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Array` is never constructed [INFO] [stdout] --> src/values.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: method `as_string` is never used [INFO] [stdout] --> src/values.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 26 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bindings_mut` is never used [INFO] [stdout] --> src/environment.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Environment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 12 | pub fn as_bindings_mut(&mut self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Plus`, and `Minus` are never constructed [INFO] [stdout] --> src/expr.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | Plus(Rc), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Minus(Rc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `get_value` are never used [INFO] [stdout] --> src/interpreter.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_value(&self, name: &str) -> &Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lines` is never used [INFO] [stdout] --> src/parsers.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn lines<'a>() -> Parser<'a, char, Vec>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Array` is never constructed [INFO] [stdout] --> src/values.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: method `as_string` is never used [INFO] [stdout] --> src/values.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 26 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "5febc7b3225602f0dfd418db7adf50b6f1986beac56ac45961b307816ec325a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5febc7b3225602f0dfd418db7adf50b6f1986beac56ac45961b307816ec325a3", kill_on_drop: false }` [INFO] [stdout] 5febc7b3225602f0dfd418db7adf50b6f1986beac56ac45961b307816ec325a3