[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgslavin%2Fwisp_rust" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gslavin/wisp_rust on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-10/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38a47f92085ee42e16c4cd56c86308af449a206ee8fa02a450952433c058a7eb [INFO] running `Command { std: "docker" "start" "-a" "38a47f92085ee42e16c4cd56c86308af449a206ee8fa02a450952433c058a7eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38a47f92085ee42e16c4cd56c86308af449a206ee8fa02a450952433c058a7eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a47f92085ee42e16c4cd56c86308af449a206ee8fa02a450952433c058a7eb", kill_on_drop: false }` [INFO] [stdout] 38a47f92085ee42e16c4cd56c86308af449a206ee8fa02a450952433c058a7eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7bad1915df09befd2dfab6bd979c9b8d237b561e553495c212d5d69d3ff2310 [INFO] running `Command { std: "docker" "start" "-a" "d7bad1915df09befd2dfab6bd979c9b8d237b561e553495c212d5d69d3ff2310", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 7.40s [INFO] running `Command { std: "docker" "inspect" "d7bad1915df09befd2dfab6bd979c9b8d237b561e553495c212d5d69d3ff2310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7bad1915df09befd2dfab6bd979c9b8d237b561e553495c212d5d69d3ff2310", kill_on_drop: false }` [INFO] [stdout] d7bad1915df09befd2dfab6bd979c9b8d237b561e553495c212d5d69d3ff2310 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9356f7edd6b786fb729e88cc2655c69d60a28d8637176ac6dc5524d43aa059cb [INFO] running `Command { std: "docker" "start" "-a" "9356f7edd6b786fb729e88cc2655c69d60a28d8637176ac6dc5524d43aa059cb", 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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 2.39s [INFO] running `Command { std: "docker" "inspect" "9356f7edd6b786fb729e88cc2655c69d60a28d8637176ac6dc5524d43aa059cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9356f7edd6b786fb729e88cc2655c69d60a28d8637176ac6dc5524d43aa059cb", kill_on_drop: false }` [INFO] [stdout] 9356f7edd6b786fb729e88cc2655c69d60a28d8637176ac6dc5524d43aa059cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf81f16ccbade30f31f788d4569060b883068bf071dba333695d9647f5d20db5 [INFO] running `Command { std: "docker" "start" "-a" "bf81f16ccbade30f31f788d4569060b883068bf071dba333695d9647f5d20db5", 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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wisp-a1b5d7e6b5e72f01) [INFO] [stdout] running 39 tests [INFO] [stdout] test eval::test::context_get_non_existent_define ... ok [INFO] [stdout] test eval::test::simple_div ... ok [INFO] [stdout] test eval::test::simple_if_false ... ok [INFO] [stdout] test eval::test::simple_if_true ... ok [INFO] [stdout] test eval::test::simple_sub ... ok [INFO] [stdout] test eval::test::simple_eval ... ok [INFO] [stdout] test eval::test::simple_lambda ... ok [INFO] [stdout] test eval::test::eval_operator_define ... ok [INFO] [stdout] test eval::test::eval_simple_define ... ok [INFO] [stdout] test eval::test::simple_mult ... ok [INFO] [stdout] test eval::test::nested_eval ... ok [INFO] [stdout] test eval::test::simple_context ... ok [INFO] [stdout] test eval::test::multiple_namespace_context ... ok [INFO] [stdout] test parser::test::lambda_exp_parse ... ok [INFO] [stdout] test parser::test::lambda_parse_const_expr ... ok [INFO] [stdout] test parser::test::lambda_parse ... ok [INFO] [stdout] test parser::test::if_test ... ok [INFO] [stdout] test parser::test::define_lambda_parse ... ok [INFO] [stdout] test parser::test::define_parse ... ok [INFO] [stdout] test parser::test::first_arg_nested_parse ... ok [INFO] [stdout] test parser::test::simple_parse ... ok [INFO] [stdout] test parser::test::nested_parse ... ok [INFO] [stdout] test lexer::test::if_test ... ok [INFO] [stdout] test lexer::test::define_test ... ok [INFO] [stdout] test lexer::test::nested_parse ... ok [INFO] [stdout] test lexer::test::string_test ... ok [INFO] [stdout] test parser::test::string_parse ... ok [INFO] [stdout] test lexer::test::lambda_test ... ok [INFO] [stdout] test lexer::test::floating_point ... ok [INFO] [stdout] test lexer::test::simple_parse ... ok [INFO] [stdout] test lexer::test::valid_ops ... ok [INFO] [stdout] test parser::test::lambda_unexpected ... ok [INFO] [stdout] test parser::test::mismatched_paren_beginning ... ok [INFO] [stdout] test parser::test::lambda_parse_malformed_args ... ok [INFO] [stdout] test parser::test::if_test_too_many_args ... ok [INFO] [stdout] test parser::test::mismatched_paren_end ... ok [INFO] [stdout] test lexer::test::invalid_identifier ... ok [INFO] [stdout] test lexer::test::leading_digit ... ok [INFO] [stdout] test parser::test::if_expected_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bf81f16ccbade30f31f788d4569060b883068bf071dba333695d9647f5d20db5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf81f16ccbade30f31f788d4569060b883068bf071dba333695d9647f5d20db5", kill_on_drop: false }` [INFO] [stdout] bf81f16ccbade30f31f788d4569060b883068bf071dba333695d9647f5d20db5