[INFO] cloning repository https://github.com/bool-rus/math-ast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bool-rus/math-ast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbool-rus%2Fmath-ast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbool-rus%2Fmath-ast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b47521bb9d45247ef7a56b7646c0b5baa6a29f0b [INFO] checking bool-rus/math-ast against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbool-rus%2Fmath-ast" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bool-rus/math-ast on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bool-rus/math-ast [INFO] finished tweaking git repo https://github.com/bool-rus/math-ast [INFO] tweaked toml for git repo https://github.com/bool-rus/math-ast written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/bool-rus/math-ast already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f74ee5e45c5187c663cd9cabb0aed68021afd05708805f4fbb3167c3d7a63f0 [INFO] running `Command { std: "docker" "start" "-a" "0f74ee5e45c5187c663cd9cabb0aed68021afd05708805f4fbb3167c3d7a63f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f74ee5e45c5187c663cd9cabb0aed68021afd05708805f4fbb3167c3d7a63f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f74ee5e45c5187c663cd9cabb0aed68021afd05708805f4fbb3167c3d7a63f0", kill_on_drop: false }` [INFO] [stdout] 0f74ee5e45c5187c663cd9cabb0aed68021afd05708805f4fbb3167c3d7a63f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10f6b8e0dc3d8c5a6d83d48bf8f6e41334c3b806a6f2a75d19c538cb4017fc5d [INFO] running `Command { std: "docker" "start" "-a" "10f6b8e0dc3d8c5a6d83d48bf8f6e41334c3b806a6f2a75d19c538cb4017fc5d", kill_on_drop: false }` [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking math-ast v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/parser/lexem.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/parser/lexem.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/parser/lexem.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Num` [INFO] [stdout] --> src/parser/lexem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::num::Num; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Integer` [INFO] [stdout] --> src/parser/lexem.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::num::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lexem.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn make_fn(ch: char) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lexem.rs:97:42 [INFO] [stdout] | [INFO] [stdout] 97 | impl Into>> for Operand { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lexem.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | fn into(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:52 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Float` [INFO] [stdout] --> src/parser/tree.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/tree.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | Operation(Box>, Vec>), [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::faces::Function` [INFO] [stdout] --> src/parser/tree.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use parser::faces::Function; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/builder.rs:54:71 [INFO] [stdout] | [INFO] [stdout] 54 | fn functions() -> HashMap>> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::builder::BuildResult` [INFO] [stdout] --> src/parser/builder.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | use parser::builder::BuildResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/parser/builder.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/parser/builder.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/parser/faces.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Float` [INFO] [stdout] --> src/parser/faces.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/faces.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | type RawFn = &'static Fn(Vec) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/faces.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(name:S, func: RawFn) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/parser/lexem.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/parser/lexem.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/parser/lexem.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Num` [INFO] [stdout] --> src/parser/lexem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::num::Num; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Integer` [INFO] [stdout] --> src/parser/lexem.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::num::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lexem.rs:97:42 [INFO] [stdout] | [INFO] [stdout] 97 | impl Into>> for Operand { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lexem.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | fn into(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:52 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Float` [INFO] [stdout] --> src/parser/tree.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/tree.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | Operation(Box>, Vec>), [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/builder.rs:54:71 [INFO] [stdout] | [INFO] [stdout] 54 | fn functions() -> HashMap>> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/parser/faces.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Float` [INFO] [stdout] --> src/parser/faces.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/faces.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | type RawFn = &'static Fn(Vec) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/faces.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(name:S, func: RawFn) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Function` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/parser/lexem.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/parser/lexem.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/parser/lexem.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Div` [INFO] [stdout] --> src/parser/lexem.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/parser/lexem.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/parser/lexem.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/parser/lexem.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Div` [INFO] [stdout] --> src/parser/lexem.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Constant` [INFO] [stdout] --> src/parser/tree.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Constant(T), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Variable` [INFO] [stdout] --> src/parser/tree.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Variable(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Operation` [INFO] [stdout] --> src/parser/tree.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Operation(Box>, Vec>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sin` [INFO] [stdout] --> src/parser/builder.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn sin(args: Vec) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cos` [INFO] [stdout] --> src/parser/builder.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn cos(args: Vec) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `functions` [INFO] [stdout] --> src/parser/builder.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn functions() -> HashMap>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `simple_err` [INFO] [stdout] --> src/parser/builder.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn simple_err(s: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ast` [INFO] [stdout] --> src/parser/builder.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ast(self) -> Result, BuilderErr> where T: Float { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ast_inner` [INFO] [stdout] --> src/parser/builder.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn ast_inner(self) -> Result, BuilderErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/builder.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | fn new(desc: Builder, value: Builder) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/builder.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | fn new(desc: Builder, value: Builder) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.71s [INFO] running `Command { std: "docker" "inspect" "10f6b8e0dc3d8c5a6d83d48bf8f6e41334c3b806a6f2a75d19c538cb4017fc5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f6b8e0dc3d8c5a6d83d48bf8f6e41334c3b806a6f2a75d19c538cb4017fc5d", kill_on_drop: false }` [INFO] [stdout] 10f6b8e0dc3d8c5a6d83d48bf8f6e41334c3b806a6f2a75d19c538cb4017fc5d