[INFO] cloning repository https://github.com/Supercolbat/ic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Supercolbat/ic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSupercolbat%2Fic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSupercolbat%2Fic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b2df8173d2625f648211aac23c1661b357a5762 [INFO] checking Supercolbat/ic against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSupercolbat%2Fic" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Supercolbat/ic [INFO] finished tweaking git repo https://github.com/Supercolbat/ic [INFO] tweaked toml for git repo https://github.com/Supercolbat/ic written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Supercolbat/ic on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Supercolbat/ic 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Supercolbat/ic against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSupercolbat%2Fic" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Supercolbat/ic [INFO] finished tweaking git repo https://github.com/Supercolbat/ic [INFO] tweaked toml for git repo https://github.com/Supercolbat/ic written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Supercolbat/ic on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Supercolbat/ic 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Supercolbat/ic against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSupercolbat%2Fic" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Supercolbat/ic [INFO] finished tweaking git repo https://github.com/Supercolbat/ic [INFO] tweaked toml for git repo https://github.com/Supercolbat/ic written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Supercolbat/ic on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Supercolbat/ic 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Supercolbat/ic against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSupercolbat%2Fic" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Supercolbat/ic [INFO] finished tweaking git repo https://github.com/Supercolbat/ic [INFO] tweaked toml for git repo https://github.com/Supercolbat/ic written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Supercolbat/ic on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Supercolbat/ic 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Supercolbat/ic against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSupercolbat%2Fic" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Supercolbat/ic [INFO] finished tweaking git repo https://github.com/Supercolbat/ic [INFO] tweaked toml for git repo https://github.com/Supercolbat/ic written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Supercolbat/ic on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Supercolbat/ic 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bef11b032522619b486f8dce6d44fdb87ddb6532b2eb498566df79f93cb396cc [INFO] running `Command { std: "docker" "start" "-a" "bef11b032522619b486f8dce6d44fdb87ddb6532b2eb498566df79f93cb396cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bef11b032522619b486f8dce6d44fdb87ddb6532b2eb498566df79f93cb396cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef11b032522619b486f8dce6d44fdb87ddb6532b2eb498566df79f93cb396cc", kill_on_drop: false }` [INFO] [stdout] bef11b032522619b486f8dce6d44fdb87ddb6532b2eb498566df79f93cb396cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e187951ba40b4d1bbdc5d0bca1cb2d75db34016c78b754717dfa0d53ee7dfb8 [INFO] running `Command { std: "docker" "start" "-a" "8e187951ba40b4d1bbdc5d0bca1cb2d75db34016c78b754717dfa0d53ee7dfb8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.5 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling rug v1.27.0 [INFO] [stderr] Checking ego-tree v0.10.0 [INFO] [stderr] Checking ic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/evaluator/eval.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Deref, Index}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/evaluator/eval.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Deref, Index}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Float`, `PowAssign`, and `Pow` [INFO] [stdout] --> src/evaluator/eval.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | ops::{Pow, PowAssign}, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] 8 | Float, Rational, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Float`, `PowAssign`, and `Pow` [INFO] [stdout] --> src/evaluator/eval.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | ops::{Pow, PowAssign}, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] 8 | Float, Rational, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/evaluator/eval.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | Op::Fun { name, args } => todo!("not implemented: fun"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/evaluator/eval.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | Op::Fun { name, args } => todo!("not implemented: fun"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/evaluator/eval.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | Op::Fun { name, args } => todo!("not implemented: fun"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/evaluator/eval.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | Op::Fun { name, args } => todo!("not implemented: fun"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_expr` [INFO] [stdout] --> src/evaluator/eval.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn update_expr(self: &mut Self, index: usize, new_expr: Expr) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/evaluator/eval.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let expr = self.exprs.index(index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_expr` [INFO] [stdout] --> src/evaluator/eval.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn update_expr(self: &mut Self, index: usize, new_expr: Expr) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/evaluator/eval.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let expr = self.exprs.index(index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_get_define` is never used [INFO] [stdout] --> src/evaluator/ast.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Expr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 11 | pub fn try_get_define(self: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Variable` is never constructed [INFO] [stdout] --> src/evaluator/ast.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Lit { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 23 | Number(Rational), [INFO] [stdout] 24 | Variable(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/evaluator/ast.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Lit { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 28 | pub fn to_string(self: Self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Un` and `Fun` are never constructed [INFO] [stdout] --> src/evaluator/ast.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 37 | /// Unary (e.g. |x|) [INFO] [stdout] 38 | Un { op: UnOp, expr: Box }, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 48 | Fun { name: String, args: Vec }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_get_define` is never used [INFO] [stdout] --> src/evaluator/ast.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Expr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 11 | pub fn try_get_define(self: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Abs` and `Neg` are never constructed [INFO] [stdout] --> src/evaluator/ast.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum UnOp { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 53 | Abs, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Variable` is never constructed [INFO] [stdout] --> src/evaluator/ast.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Lit { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 23 | Number(Rational), [INFO] [stdout] 24 | Variable(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sub`, `Mul`, `Div`, `Pow`, and `Eq` are never constructed [INFO] [stdout] --> src/evaluator/ast.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 59 | Add, Sub, Mul, Div, [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] 60 | Pow, [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | [INFO] [stdout] 62 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/evaluator/ast.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Lit { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 28 | pub fn to_string(self: Self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `funcs` is never read [INFO] [stdout] --> src/evaluator/eval.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Evaluator { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | vars: HashMap, [INFO] [stdout] 15 | funcs: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Un` and `Fun` are never constructed [INFO] [stdout] --> src/evaluator/ast.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 37 | /// Unary (e.g. |x|) [INFO] [stdout] 38 | Un { op: UnOp, expr: Box }, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 48 | Fun { name: String, args: Vec }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Abs` and `Neg` are never constructed [INFO] [stdout] --> src/evaluator/ast.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum UnOp { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 53 | Abs, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete_expr` and `update_expr` are never used [INFO] [stdout] --> src/evaluator/eval.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Evaluator { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn delete_expr(self: &mut Self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn update_expr(self: &mut Self, index: usize, new_expr: Expr) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sub`, `Mul`, `Div`, `Pow`, and `Eq` are never constructed [INFO] [stdout] --> src/evaluator/ast.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 59 | Add, Sub, Mul, Div, [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] 60 | Pow, [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | [INFO] [stdout] 62 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expr`, `defines`, and `depends_on` are never read [INFO] [stdout] --> src/evaluator/eval.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct ExprExt { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 126 | /// The whole expression [INFO] [stdout] 127 | expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 128 | /// Variable the expression defines [INFO] [stdout] 129 | defines: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 130 | /// Variables the expression uses [INFO] [stdout] 131 | depends_on: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `funcs` is never read [INFO] [stdout] --> src/evaluator/eval.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Evaluator { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | vars: HashMap, [INFO] [stdout] 15 | funcs: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/evaluator/eval.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl ExprExt { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 137 | fn new(expr: Expr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete_expr` and `update_expr` are never used [INFO] [stdout] --> src/evaluator/eval.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Evaluator { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn delete_expr(self: &mut Self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn update_expr(self: &mut Self, index: usize, new_expr: Expr) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/parser/tokens.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Op` is never used [INFO] [stdout] --> src/parser/tokens.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Op { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expr`, `defines`, and `depends_on` are never read [INFO] [stdout] --> src/evaluator/eval.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct ExprExt { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 126 | /// The whole expression [INFO] [stdout] 127 | expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 128 | /// Variable the expression defines [INFO] [stdout] 129 | defines: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 130 | /// Variables the expression uses [INFO] [stdout] 131 | depends_on: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContextOp` is never used [INFO] [stdout] --> src/parser/tokens.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum ContextOp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/evaluator/eval.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl ExprExt { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 137 | fn new(expr: Expr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/parser/tokens.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Op` is never used [INFO] [stdout] --> src/parser/tokens.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Op { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContextOp` is never used [INFO] [stdout] --> src/parser/tokens.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum ContextOp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "8e187951ba40b4d1bbdc5d0bca1cb2d75db34016c78b754717dfa0d53ee7dfb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e187951ba40b4d1bbdc5d0bca1cb2d75db34016c78b754717dfa0d53ee7dfb8", kill_on_drop: false }` [INFO] [stdout] 8e187951ba40b4d1bbdc5d0bca1cb2d75db34016c78b754717dfa0d53ee7dfb8