[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiago-figueredo%2Fmath-lang" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thiago-figueredo/math-lang on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-3-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1de3990059bea52e065fb0dfdf0be6a83a21633bc14f157bc496b34178d8e6b6 [INFO] running `Command { std: "docker" "start" "-a" "1de3990059bea52e065fb0dfdf0be6a83a21633bc14f157bc496b34178d8e6b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1de3990059bea52e065fb0dfdf0be6a83a21633bc14f157bc496b34178d8e6b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de3990059bea52e065fb0dfdf0be6a83a21633bc14f157bc496b34178d8e6b6", kill_on_drop: false }` [INFO] [stdout] 1de3990059bea52e065fb0dfdf0be6a83a21633bc14f157bc496b34178d8e6b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80d8615ce8fe6f4873409fd5c817addea80dc778d27136610e4c4d0158dc23ee [INFO] running `Command { std: "docker" "start" "-a" "80d8615ce8fe6f4873409fd5c817addea80dc778d27136610e4c4d0158dc23ee", 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: `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: `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: 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: 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.11s [INFO] running `Command { std: "docker" "inspect" "80d8615ce8fe6f4873409fd5c817addea80dc778d27136610e4c4d0158dc23ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80d8615ce8fe6f4873409fd5c817addea80dc778d27136610e4c4d0158dc23ee", kill_on_drop: false }` [INFO] [stdout] 80d8615ce8fe6f4873409fd5c817addea80dc778d27136610e4c4d0158dc23ee [INFO] checking thiago-figueredo/math-lang against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiago-figueredo%2Fmath-lang" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thiago-figueredo/math-lang on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-3-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47baed7c2f04f7f70f4aac37f7ef7ca74dcbea949c9f71d0dd846483e8c981f8 [INFO] running `Command { std: "docker" "start" "-a" "47baed7c2f04f7f70f4aac37f7ef7ca74dcbea949c9f71d0dd846483e8c981f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47baed7c2f04f7f70f4aac37f7ef7ca74dcbea949c9f71d0dd846483e8c981f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47baed7c2f04f7f70f4aac37f7ef7ca74dcbea949c9f71d0dd846483e8c981f8", kill_on_drop: false }` [INFO] [stdout] 47baed7c2f04f7f70f4aac37f7ef7ca74dcbea949c9f71d0dd846483e8c981f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f141bbe3e564a3076f0704cfb22fcb93698b4bbdc5665c621ecd7d527c0be823 [INFO] running `Command { std: "docker" "start" "-a" "f141bbe3e564a3076f0704cfb22fcb93698b4bbdc5665c621ecd7d527c0be823", 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: 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: 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 `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: 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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lexer.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from_iter(source: Chars) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Self { [INFO] [stdout] 66 | chars: source.peekable(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lexer.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from_iter(source: Chars) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Self { [INFO] [stdout] 66 | chars: source.peekable(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `math-lang` (bin "math-lang") due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `math-lang` (bin "math-lang" test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f141bbe3e564a3076f0704cfb22fcb93698b4bbdc5665c621ecd7d527c0be823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f141bbe3e564a3076f0704cfb22fcb93698b4bbdc5665c621ecd7d527c0be823", kill_on_drop: false }` [INFO] [stdout] f141bbe3e564a3076f0704cfb22fcb93698b4bbdc5665c621ecd7d527c0be823