[INFO] cloning repository https://github.com/lupuchard/rust-expr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lupuchard/rust-expr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flupuchard%2Frust-expr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flupuchard%2Frust-expr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 869f62bb01f622ea95866fc71b464fc120a65cf8 [INFO] testing lupuchard/rust-expr against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flupuchard%2Frust-expr" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lupuchard/rust-expr on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lupuchard/rust-expr [INFO] finished tweaking git repo https://github.com/lupuchard/rust-expr [INFO] tweaked toml for git repo https://github.com/lupuchard/rust-expr written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/lupuchard/rust-expr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1533cc3ecd6c3e2ab2e35573a2409d83716a1ba77b44e89afa32cadd1897cfe9 [INFO] running `Command { std: "docker" "start" "-a" "1533cc3ecd6c3e2ab2e35573a2409d83716a1ba77b44e89afa32cadd1897cfe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1533cc3ecd6c3e2ab2e35573a2409d83716a1ba77b44e89afa32cadd1897cfe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1533cc3ecd6c3e2ab2e35573a2409d83716a1ba77b44e89afa32cadd1897cfe9", kill_on_drop: false }` [INFO] [stdout] 1533cc3ecd6c3e2ab2e35573a2409d83716a1ba77b44e89afa32cadd1897cfe9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32587f709764734e6a2a7198f19e64abcfe31c9276bade13d04d073e0a0fb8fb [INFO] running `Command { std: "docker" "start" "-a" "32587f709764734e6a2a7198f19e64abcfe31c9276bade13d04d073e0a0fb8fb", 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:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | if token[].contains(".") { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/expr.rs:331:37 [INFO] [stdout] | [INFO] [stdout] 331 | 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:333:39 [INFO] [stdout] | [INFO] [stdout] 333 | 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[E0432]: unresolved import `std::fmt::Show` [INFO] [stdout] --> src/expr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::Show; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Show` in `fmt` [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:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[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:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[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:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | #[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:65:3 [INFO] [stdout] | [INFO] [stdout] 65 | #[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:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | 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:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | 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:77:37 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ExprParser { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] 76 | functions: Vec<()>, [INFO] [stdout] 77 | 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:292:37 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct Expr { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 292 | 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:297:23 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn len(&self) -> 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:302:33 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn num_variables(&self) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/expr.rs:374:15 [INFO] [stdout] | [INFO] [stdout] 374 | for i in range(0, num_args) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/expr.rs:384:15 [INFO] [stdout] | [INFO] [stdout] 384 | for _ in range(0, num_args) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/expr.rs:431:50 [INFO] [stdout] | [INFO] [stdout] 431 | 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 beta 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 beta 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:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | 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] 202 - expr.rpn_stack.push(Token::Var((*i))); [INFO] [stdout] 202 + 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:210:34 [INFO] [stdout] | [INFO] [stdout] 210 | expr.rpn_stack.push(Token::Var((i))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 210 - expr.rpn_stack.push(Token::Var((i))); [INFO] [stdout] 210 + 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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [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: aborting due to 25 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0463, E0554, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `expr` due to 26 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "32587f709764734e6a2a7198f19e64abcfe31c9276bade13d04d073e0a0fb8fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32587f709764734e6a2a7198f19e64abcfe31c9276bade13d04d073e0a0fb8fb", kill_on_drop: false }` [INFO] [stdout] 32587f709764734e6a2a7198f19e64abcfe31c9276bade13d04d073e0a0fb8fb