[INFO] cloning repository https://github.com/thiago-figueredo/math-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thiago-figueredo/math-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiago-figueredo%2Fmath-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiago-figueredo%2Fmath-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de3fd2cc3bc875dc11ae7f74ca86304fd7163666 [INFO] checking thiago-figueredo/math-lang against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiago-figueredo%2Fmath-lang" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thiago-figueredo/math-lang on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thiago-figueredo/math-lang [INFO] finished tweaking git repo https://github.com/thiago-figueredo/math-lang [INFO] tweaked toml for git repo https://github.com/thiago-figueredo/math-lang written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thiago-figueredo/math-lang 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0d8c1f752c36841dcd695a0749ad554d8ee1a32c32dea94a9f754993d05e4cb [INFO] running `Command { std: "docker" "start" "-a" "e0d8c1f752c36841dcd695a0749ad554d8ee1a32c32dea94a9f754993d05e4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0d8c1f752c36841dcd695a0749ad554d8ee1a32c32dea94a9f754993d05e4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d8c1f752c36841dcd695a0749ad554d8ee1a32c32dea94a9f754993d05e4cb", kill_on_drop: false }` [INFO] [stdout] e0d8c1f752c36841dcd695a0749ad554d8ee1a32c32dea94a9f754993d05e4cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8091f219baf9117d5633666608aeeecf6c9e67d01d0de69cb19cfa7eeee776f4 [INFO] running `Command { std: "docker" "start" "-a" "8091f219baf9117d5633666608aeeecf6c9e67d01d0de69cb19cfa7eeee776f4", kill_on_drop: false }` [INFO] [stderr] Checking math-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Bindings` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use expr::{Bindings, Expr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rule::Rule` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rule::Rule; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bindings` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use expr::{Bindings, Expr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rule::Rule` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rule::Rule; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sentence` is never constructed [INFO] [stdout] --> src/expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 7 | Symbol(String), [INFO] [stdout] 8 | Sentence(Vec), [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bindings` is never used [INFO] [stdout] --> src/expr.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub type Bindings = HashMap; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `sentence`, `pattern_match`, and `pattern_matches` are never used [INFO] [stdout] --> src/expr.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Expr { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn sentence(args: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn pattern_match(&self, expr: &Expr) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn pattern_matches(pattern: &Expr, expr: &Expr, bindings: &mut Bindings) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make`, `apply_all`, and `substitute_bindings` are never used [INFO] [stdout] --> src/rule.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Rule { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | #[inline] [INFO] [stdout] 18 | pub fn make(head: Expr, body: Expr) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn apply_all(&self, expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn substitute_bindings(&self, bindings: &Bindings, expr: &Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/expr.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | write!(f, "{}", expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sentence` is never constructed [INFO] [stdout] --> src/expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 7 | Symbol(String), [INFO] [stdout] 8 | Sentence(Vec), [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bindings` is never used [INFO] [stdout] --> src/expr.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub type Bindings = HashMap; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `sentence`, `pattern_match`, and `pattern_matches` are never used [INFO] [stdout] --> src/expr.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Expr { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn sentence(args: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn pattern_match(&self, expr: &Expr) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn pattern_matches(pattern: &Expr, expr: &Expr, bindings: &mut Bindings) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make`, `apply_all`, and `substitute_bindings` are never used [INFO] [stdout] --> src/rule.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Rule { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | #[inline] [INFO] [stdout] 18 | pub fn make(head: Expr, body: Expr) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn apply_all(&self, expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn substitute_bindings(&self, bindings: &Bindings, expr: &Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/expr.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | write!(f, "{}", expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "8091f219baf9117d5633666608aeeecf6c9e67d01d0de69cb19cfa7eeee776f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8091f219baf9117d5633666608aeeecf6c9e67d01d0de69cb19cfa7eeee776f4", kill_on_drop: false }` [INFO] [stdout] 8091f219baf9117d5633666608aeeecf6c9e67d01d0de69cb19cfa7eeee776f4 [INFO] checking thiago-figueredo/math-lang against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiago-figueredo%2Fmath-lang" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thiago-figueredo/math-lang on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thiago-figueredo/math-lang [INFO] finished tweaking git repo https://github.com/thiago-figueredo/math-lang [INFO] tweaked toml for git repo https://github.com/thiago-figueredo/math-lang written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thiago-figueredo/math-lang 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 675df96017e1939e29ccb6f2ef0574b0ec3c2fac21a8530ecb4d67d0b61f03a9 [INFO] running `Command { std: "docker" "start" "-a" "675df96017e1939e29ccb6f2ef0574b0ec3c2fac21a8530ecb4d67d0b61f03a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "675df96017e1939e29ccb6f2ef0574b0ec3c2fac21a8530ecb4d67d0b61f03a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "675df96017e1939e29ccb6f2ef0574b0ec3c2fac21a8530ecb4d67d0b61f03a9", kill_on_drop: false }` [INFO] [stdout] 675df96017e1939e29ccb6f2ef0574b0ec3c2fac21a8530ecb4d67d0b61f03a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6808b70acb2e2f3db86af0e2021afacb6eeee0b3c9dc535531ce8feaee08c5a [INFO] running `Command { std: "docker" "start" "-a" "e6808b70acb2e2f3db86af0e2021afacb6eeee0b3c9dc535531ce8feaee08c5a", kill_on_drop: false }` [INFO] [stderr] Checking math-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Bindings` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use expr::{Bindings, Expr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rule::Rule` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rule::Rule; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bindings` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use expr::{Bindings, Expr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rule::Rule` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rule::Rule; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sentence` is never constructed [INFO] [stdout] --> src/expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 7 | Symbol(String), [INFO] [stdout] 8 | Sentence(Vec), [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bindings` is never used [INFO] [stdout] --> src/expr.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub type Bindings = HashMap; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `sentence`, `pattern_match`, and `pattern_matches` are never used [INFO] [stdout] --> src/expr.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Expr { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn sentence(args: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn pattern_match(&self, expr: &Expr) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn pattern_matches(pattern: &Expr, expr: &Expr, bindings: &mut Bindings) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make`, `apply_all`, and `substitute_bindings` are never used [INFO] [stdout] --> src/rule.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Rule { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | #[inline] [INFO] [stdout] 18 | pub fn make(head: Expr, body: Expr) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn apply_all(&self, expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn substitute_bindings(&self, bindings: &Bindings, expr: &Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/expr.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | write!(f, "{}", expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sentence` is never constructed [INFO] [stdout] --> src/expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 7 | Symbol(String), [INFO] [stdout] 8 | Sentence(Vec), [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bindings` is never used [INFO] [stdout] --> src/expr.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub type Bindings = HashMap; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `sentence`, `pattern_match`, and `pattern_matches` are never used [INFO] [stdout] --> src/expr.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Expr { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn sentence(args: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn pattern_match(&self, expr: &Expr) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn pattern_matches(pattern: &Expr, expr: &Expr, bindings: &mut Bindings) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make`, `apply_all`, and `substitute_bindings` are never used [INFO] [stdout] --> src/rule.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Rule { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | #[inline] [INFO] [stdout] 18 | pub fn make(head: Expr, body: Expr) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn apply_all(&self, expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn substitute_bindings(&self, bindings: &Bindings, expr: &Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/expr.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | write!(f, "{}", expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "e6808b70acb2e2f3db86af0e2021afacb6eeee0b3c9dc535531ce8feaee08c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6808b70acb2e2f3db86af0e2021afacb6eeee0b3c9dc535531ce8feaee08c5a", kill_on_drop: false }` [INFO] [stdout] e6808b70acb2e2f3db86af0e2021afacb6eeee0b3c9dc535531ce8feaee08c5a