[INFO] fetching crate expr 0.0.1... [INFO] testing expr-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate expr 0.0.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate expr 0.0.1 [INFO] finished tweaking crates.io crate expr 0.0.1 [INFO] tweaked toml for crates.io crate expr 0.0.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate expr 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44694070e985875301c869c1fe520410d6fad6cd9ce33373ab402f232de4cc5c [INFO] running `Command { std: "docker" "start" "-a" "44694070e985875301c869c1fe520410d6fad6cd9ce33373ab402f232de4cc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44694070e985875301c869c1fe520410d6fad6cd9ce33373ab402f232de4cc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44694070e985875301c869c1fe520410d6fad6cd9ce33373ab402f232de4cc5c", kill_on_drop: false }` [INFO] [stdout] 44694070e985875301c869c1fe520410d6fad6cd9ce33373ab402f232de4cc5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 118fcc65292ad48e7dff0be710a72e49e813399f7b37e4b68ab847dd12597593 [INFO] running `Command { std: "docker" "start" "-a" "118fcc65292ad48e7dff0be710a72e49e813399f7b37e4b68ab847dd12597593", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling expr v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/expr.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | if token[].contains(".") { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/expr.rs:317:37 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn set_variables(&mut self, f: |&str| -> Val) { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/expr.rs:319:39 [INFO] [stdout] | [INFO] [stdout] 319 | self.variables[*idx] = Some(f(name[])); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex_macros` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate regex_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Int`, `std::num::Float` [INFO] [stdout] --> src/expr.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::num::{Int, Float}; [INFO] [stdout] | ^^^ ^^^^^ no `Float` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Int` in `num` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] expr::Val::Int [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] expr::Val::Float [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[phase(plugin)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/expr.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[deriving(Clone, Show, PartialEq, PartialOrd)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/expr.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[deriving(Clone, Show, Eq, PartialEq, Ord, PartialOrd)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/expr.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | #[deriving(Clone, Show, PartialEq, PartialOrd)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/expr.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[deriving(Clone, Show, Eq, PartialEq, Ord, PartialOrd)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/expr.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | Var(uint), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/expr.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | function_name_map: HashMap, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ExprParser { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/expr.rs:288:37 [INFO] [stdout] | [INFO] [stdout] 288 | variable_name_map: HashMap, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 285 | pub struct Expr { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/expr.rs:377:50 [INFO] [stdout] | [INFO] [stdout] 377 | Op::Pow if b >= 0 => Some(Val::Int(a.pow(b as uint))), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/expr.rs:198:36 [INFO] [stdout] | [INFO] [stdout] 198 | expr.rpn_stack.push(Token::Var((*i))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 198 - expr.rpn_stack.push(Token::Var((*i))); [INFO] [stdout] 198 + expr.rpn_stack.push(Token::Var(*i)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/expr.rs:206:34 [INFO] [stdout] | [INFO] [stdout] 206 | expr.rpn_stack.push(Token::Var((i))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 206 - expr.rpn_stack.push(Token::Var((i))); [INFO] [stdout] 206 + expr.rpn_stack.push(Token::Var(i)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slicing_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Op` [INFO] [stdout] --> src/expr.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | *self == Op::Pow [INFO] [stdout] | ----- ^^ ------- Op [INFO] [stdout] | | [INFO] [stdout] | Op [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Op` [INFO] [stdout] --> src/expr.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum Op { [INFO] [stdout] | ^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Op` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(PartialEq)] [INFO] [stdout] 36 | enum Op { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/expr.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | let parser: ExprParser<()> = ExprParser::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `ExprParser` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Clone` [INFO] [stdout] note: required by a bound in `ExprParser::::new` [INFO] [stdout] --> src/expr.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | impl ExprParser { [INFO] [stdout] | ^^^^^ required by this bound in `ExprParser::::new` [INFO] [stdout] 85 | pub fn new() -> ExprParser { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 81 | let parser: ExprParser<()> = ExprParser::::new(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/expr.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | let next_token = expression[start..end]; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 105 | let next_token = &expression[start..end]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expr.rs:107:61 [INFO] [stdout] | [INFO] [stdout] 107 | match self.parse_token(&mut expr, &mut op_stack, token, next_token) { [INFO] [stdout] | ----------- ^^^^^^^^^^ expected `&str`, found `str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/expr.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | fn parse_token(&self, expr: &mut Expr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 135 | op_stack: &mut Vec, [INFO] [stdout] 136 | token: &str, next_token: &str) [INFO] [stdout] | ---------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 107 | match self.parse_token(&mut expr, &mut op_stack, token, &next_token) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expr.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 102 | let mut token = ""; [INFO] [stdout] | -- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 112 | token = next_token; [INFO] [stdout] | ^^^^^^^^^^ expected `&str`, found `str` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 112 | token = &next_token; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Op` [INFO] [stdout] --> src/expr.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | if op == Op::Paren { return Err(Error::MismatchedParenthesis); } [INFO] [stdout] | -- ^^ --------- Op [INFO] [stdout] | | [INFO] [stdout] | Op [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Op` [INFO] [stdout] --> src/expr.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum Op { [INFO] [stdout] | ^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Op` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(PartialEq)] [INFO] [stdout] 36 | enum Op { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Op` [INFO] [stdout] --> src/expr.rs:241:59 [INFO] [stdout] | [INFO] [stdout] 241 | if op_stack.is_empty() || op_stack[op_stack.len() - 1] == Op::Paren { [INFO] [stdout] | ---------------------------- ^^ --------- Op [INFO] [stdout] | | [INFO] [stdout] | Op [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Op` [INFO] [stdout] --> src/expr.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum Op { [INFO] [stdout] | ^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Op` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(PartialEq)] [INFO] [stdout] 36 | enum Op { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Op` [INFO] [stdout] --> src/expr.rs:255:23 [INFO] [stdout] | [INFO] [stdout] 255 | Some(op) => if op == Op::Paren { [INFO] [stdout] | -- ^^ --------- Op [INFO] [stdout] | | [INFO] [stdout] | Op [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Op` [INFO] [stdout] --> src/expr.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum Op { [INFO] [stdout] | ^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Op` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(PartialEq)] [INFO] [stdout] 36 | enum Op { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Op` [INFO] [stdout] --> src/expr.rs:275:36 [INFO] [stdout] | [INFO] [stdout] 275 | if op_stack[op_stack.len() - 1] == Op::Paren { [INFO] [stdout] | ---------------------------- ^^ --------- Op [INFO] [stdout] | | [INFO] [stdout] | Op [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Op` [INFO] [stdout] --> src/expr.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum Op { [INFO] [stdout] | ^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Op` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(PartialEq)] [INFO] [stdout] 36 | enum Op { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expr.rs:331:63 [INFO] [stdout] | [INFO] [stdout] 331 | Token::Op(ref op) => if !Expr::operate(&mut eval_stack, op.clone()) { return None; }, // TODO: what [INFO] [stdout] | ------------- ^^^^^^^^^^ expected `Op`, found `&Op` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: `Op` does not implement `Clone`, so `&Op` was cloned instead [INFO] [stdout] --> src/expr.rs:331:63 [INFO] [stdout] | [INFO] [stdout] 331 | Token::Op(ref op) => if !Expr::operate(&mut eval_stack, op.clone()) { return None; }, // TODO: what [INFO] [stdout] | ^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/expr.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | fn operate(eval_stack: &mut Vec>, op: Op) -> bool { [INFO] [stdout] | ^^^^^^^ ------ [INFO] [stdout] help: consider annotating `Op` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Clone)] [INFO] [stdout] 36 | enum Op { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expr.rs:332:44 [INFO] [stdout] | [INFO] [stdout] 332 | Token::Val(ref val) => eval_stack.push(val.clone()), [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `Val`, found `&Val` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Val<_>` [INFO] [stdout] found reference `&Val<_>` [INFO] [stdout] note: `Val` does not implement `Clone`, so `&Val` was cloned instead [INFO] [stdout] --> src/expr.rs:332:44 [INFO] [stdout] | [INFO] [stdout] 332 | Token::Val(ref val) => eval_stack.push(val.clone()), [INFO] [stdout] | ^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/vec/mod.rs:2474:12 [INFO] [stdout] help: consider annotating `Val` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Clone)] [INFO] [stdout] 8 | pub enum Val { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/expr.rs:335:43 [INFO] [stdout] | [INFO] [stdout] 335 | Some(ref val) => eval_stack.push(val.clone()), [INFO] [stdout] | ^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0283, E0308, E0369, E0412, E0432, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `expr` (lib) due to 28 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "118fcc65292ad48e7dff0be710a72e49e813399f7b37e4b68ab847dd12597593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118fcc65292ad48e7dff0be710a72e49e813399f7b37e4b68ab847dd12597593", kill_on_drop: false }` [INFO] [stdout] 118fcc65292ad48e7dff0be710a72e49e813399f7b37e4b68ab847dd12597593