[INFO] fetching crate expr 0.0.1... [INFO] testing expr-0.0.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate expr 0.0.1 into /workspace/builds/worker-48/source [INFO] validating manifest of crates.io crate expr 0.0.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-48/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bdd20ddde2f417f3b92f2d8faa92866e2d5c55d4620f315df9805e51692488d [INFO] running `Command { std: "docker" "start" "-a" "6bdd20ddde2f417f3b92f2d8faa92866e2d5c55d4620f315df9805e51692488d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bdd20ddde2f417f3b92f2d8faa92866e2d5c55d4620f315df9805e51692488d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bdd20ddde2f417f3b92f2d8faa92866e2d5c55d4620f315df9805e51692488d", kill_on_drop: false }` [INFO] [stdout] 6bdd20ddde2f417f3b92f2d8faa92866e2d5c55d4620f315df9805e51692488d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 638dbf5976c961ad239befdbd8f79793c6d968da93defb018af4edd0313ac619 [INFO] running `Command { std: "docker" "start" "-a" "638dbf5976c961ad239befdbd8f79793c6d968da93defb018af4edd0313ac619", kill_on_drop: false }` [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] [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[E0433]: failed to resolve: use of undeclared type `Regex` [INFO] [stdout] --> src/expr.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | let re = Regex::new(r#"[\d\w\._]+|[!<>=]=|&&|\|\||"[^"]+"|[^\s]"#).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Regex` [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] 73 | pub struct ExprParser { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] 74 | functions: Vec<()>, [INFO] [stdout] 75 | function_name_map: HashMap, [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:288:37 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct Expr { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 288 | variable_name_map: HashMap, [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: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] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slicing_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(phase)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] error[E0392]: parameter `T` is never used [INFO] [stdout] --> src/expr.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ExprParser { [INFO] [stdout] | ^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: usize` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412, E0432, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `expr` due to 20 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "638dbf5976c961ad239befdbd8f79793c6d968da93defb018af4edd0313ac619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "638dbf5976c961ad239befdbd8f79793c6d968da93defb018af4edd0313ac619", kill_on_drop: false }` [INFO] [stdout] 638dbf5976c961ad239befdbd8f79793c6d968da93defb018af4edd0313ac619