[INFO] cloning repository https://github.com/gslavin/wisp_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gslavin/wisp_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgslavin%2Fwisp_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgslavin%2Fwisp_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83fa0ecba9ecb660fcbbe7dc6d1f14b5bcd9042a [INFO] testing gslavin/wisp_rust against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgslavin%2Fwisp_rust" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gslavin/wisp_rust on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gslavin/wisp_rust [INFO] finished tweaking git repo https://github.com/gslavin/wisp_rust [INFO] tweaked toml for git repo https://github.com/gslavin/wisp_rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/gslavin/wisp_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcd60d521d0b73584c772c1e42f9e5e8daed7e86cbca3dd6fd3e47da9c8eab84 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dcd60d521d0b73584c772c1e42f9e5e8daed7e86cbca3dd6fd3e47da9c8eab84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcd60d521d0b73584c772c1e42f9e5e8daed7e86cbca3dd6fd3e47da9c8eab84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcd60d521d0b73584c772c1e42f9e5e8daed7e86cbca3dd6fd3e47da9c8eab84", kill_on_drop: false }` [INFO] [stdout] dcd60d521d0b73584c772c1e42f9e5e8daed7e86cbca3dd6fd3e47da9c8eab84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d28e314423937fa9bc61fda427acb3861bfc15b3b082787d6fe7f354791a9dbe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d28e314423937fa9bc61fda427acb3861bfc15b3b082787d6fe7f354791a9dbe", kill_on_drop: false }` [INFO] [stderr] Compiling wisp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/eval.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | return AstNode::Number((sum)); [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | let mut f = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/eval.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref BUILTINS: BTreeSet<&'static str> = ["+", "-", "*", "/"].iter().cloned().collect(); [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/eval.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref BUILTINS: BTreeSet<&'static str> = ["+", "-", "*", "/"].iter().cloned().collect(); [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.71s [INFO] running `Command { std: "docker" "inspect" "d28e314423937fa9bc61fda427acb3861bfc15b3b082787d6fe7f354791a9dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d28e314423937fa9bc61fda427acb3861bfc15b3b082787d6fe7f354791a9dbe", kill_on_drop: false }` [INFO] [stdout] d28e314423937fa9bc61fda427acb3861bfc15b3b082787d6fe7f354791a9dbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c5b1327762b5d799496974818e7b837918655225ddf4d33d97f252293cbcfee [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2c5b1327762b5d799496974818e7b837918655225ddf4d33d97f252293cbcfee", kill_on_drop: false }` [INFO] [stderr] Compiling wisp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/eval.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | return AstNode::Number((sum)); [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/eval.rs:271:47 [INFO] [stdout] | [INFO] [stdout] 271 | let expected_result = AstNode::Number((-1.0)); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/eval.rs:293:47 [INFO] [stdout] | [INFO] [stdout] 293 | let expected_result = AstNode::Number((0.75)); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/eval.rs:318:47 [INFO] [stdout] | [INFO] [stdout] 318 | let expected_result = AstNode::Number((3.0)); [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/eval.rs:329:47 [INFO] [stdout] | [INFO] [stdout] 329 | let expected_result = AstNode::Number((4.0)); [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | let mut f = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lexer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stdout] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stdout] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/eval.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref BUILTINS: BTreeSet<&'static str> = ["+", "-", "*", "/"].iter().cloned().collect(); [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/eval.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / lazy_static! { [INFO] [stdout] 46 | | static ref BUILTINS: BTreeSet<&'static str> = ["+", "-", "*", "/"].iter().cloned().collect(); [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.32s [INFO] running `Command { std: "docker" "inspect" "2c5b1327762b5d799496974818e7b837918655225ddf4d33d97f252293cbcfee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c5b1327762b5d799496974818e7b837918655225ddf4d33d97f252293cbcfee", kill_on_drop: false }` [INFO] [stdout] 2c5b1327762b5d799496974818e7b837918655225ddf4d33d97f252293cbcfee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 108c8b746af469405fb47b77fd07878376d528e0fe1afd12b34704d2fa8ca501 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "108c8b746af469405fb47b77fd07878376d528e0fe1afd12b34704d2fa8ca501", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/eval.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | return AstNode::Number((sum)); [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/eval.rs:271:47 [INFO] [stderr] | [INFO] [stderr] 271 | let expected_result = AstNode::Number((-1.0)); [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/eval.rs:293:47 [INFO] [stderr] | [INFO] [stderr] 293 | let expected_result = AstNode::Number((0.75)); [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/eval.rs:318:47 [INFO] [stderr] | [INFO] [stderr] 318 | let expected_result = AstNode::Number((3.0)); [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/eval.rs:329:47 [INFO] [stderr] | [INFO] [stderr] 329 | let expected_result = AstNode::Number((4.0)); [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | let mut f = try!(File::open(filename)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:15:2 [INFO] [stderr] | [INFO] [stderr] 15 | try!(f.read_to_string(&mut s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref DEFINE: Regex = Regex::new(r"define").unwrap(); [INFO] [stderr] 27 | | static ref LAMBDA: Regex = Regex::new(r"lambda").unwrap(); [INFO] [stderr] 28 | | static ref IF: Regex = Regex::new(r"if").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 33 | | static ref WHITESPACE: Regex = Regex::new(r"[:space:]").unwrap(); [INFO] [stderr] 34 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/eval.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | / lazy_static! { [INFO] [stderr] 46 | | static ref BUILTINS: BTreeSet<&'static str> = ["+", "-", "*", "/"].iter().cloned().collect(); [INFO] [stderr] 47 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/eval.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | / lazy_static! { [INFO] [stderr] 46 | | static ref BUILTINS: BTreeSet<&'static str> = ["+", "-", "*", "/"].iter().cloned().collect(); [INFO] [stderr] 47 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 25 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/wisp-170a5ae70c6cee7b [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test eval::test::eval_operator_define ... ok [INFO] [stdout] test eval::test::eval_simple_define ... ok [INFO] [stdout] test eval::test::multiple_namespace_context ... ok [INFO] [stdout] test eval::test::simple_lambda ... ok [INFO] [stdout] test eval::test::simple_mult ... ok [INFO] [stdout] test eval::test::simple_sub ... ok [INFO] [stdout] test eval::test::simple_if_true ... ok [INFO] [stdout] test eval::test::simple_if_false ... ok [INFO] [stdout] test eval::test::context_get_non_existent_define ... ok [INFO] [stdout] test eval::test::nested_eval ... ok [INFO] [stdout] test eval::test::simple_context ... ok [INFO] [stdout] test eval::test::simple_div ... ok [INFO] [stdout] test eval::test::simple_eval ... ok [INFO] [stdout] test parser::test::first_arg_nested_parse ... ok [INFO] [stdout] test parser::test::define_parse ... ok [INFO] [stdout] test parser::test::if_test ... ok [INFO] [stdout] test parser::test::lambda_parse ... ok [INFO] [stdout] test parser::test::lambda_parse_const_expr ... ok [INFO] [stdout] test parser::test::define_lambda_parse ... ok [INFO] [stdout] test parser::test::lambda_exp_parse ... ok [INFO] [stdout] test lexer::test::valid_ops ... ok [INFO] [stdout] test lexer::test::nested_parse ... ok [INFO] [stdout] test lexer::test::floating_point ... ok [INFO] [stdout] test parser::test::nested_parse ... ok [INFO] [stdout] test lexer::test::define_test ... ok [INFO] [stdout] test parser::test::string_parse ... ok [INFO] [stdout] test parser::test::simple_parse ... ok [INFO] [stdout] test lexer::test::if_test ... ok [INFO] [stdout] test lexer::test::string_test ... ok [INFO] [stdout] test lexer::test::lambda_test ... ok [INFO] [stdout] test lexer::test::simple_parse ... ok [INFO] [stdout] test parser::test::if_test_too_many_args ... ok [INFO] [stdout] test parser::test::if_expected_test ... ok [INFO] [stdout] test parser::test::lambda_parse_malformed_args ... ok [INFO] [stdout] test parser::test::lambda_unexpected ... ok [INFO] [stdout] test parser::test::mismatched_paren_end ... ok [INFO] [stdout] test parser::test::mismatched_paren_beginning ... ok [INFO] [stdout] test lexer::test::leading_digit ... ok [INFO] [stdout] test lexer::test::invalid_identifier ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "108c8b746af469405fb47b77fd07878376d528e0fe1afd12b34704d2fa8ca501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "108c8b746af469405fb47b77fd07878376d528e0fe1afd12b34704d2fa8ca501", kill_on_drop: false }` [INFO] [stdout] 108c8b746af469405fb47b77fd07878376d528e0fe1afd12b34704d2fa8ca501