[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83fa0ecba9ecb660fcbbe7dc6d1f14b5bcd9042a [INFO] testing gslavin/wisp_rust against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgslavin%2Fwisp_rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gslavin/wisp_rust on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-5/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d6e1d787c0fd275eec9694d09c8ff1038001044e326ab0e9fe19db502b3e193 [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" "6d6e1d787c0fd275eec9694d09c8ff1038001044e326ab0e9fe19db502b3e193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d6e1d787c0fd275eec9694d09c8ff1038001044e326ab0e9fe19db502b3e193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d6e1d787c0fd275eec9694d09c8ff1038001044e326ab0e9fe19db502b3e193", kill_on_drop: false }` [INFO] [stdout] 6d6e1d787c0fd275eec9694d09c8ff1038001044e326ab0e9fe19db502b3e193 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dddbec5ba91c32c03939e3016998a94a5a097bafba196112a458bf9970d6514a [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" "dddbec5ba91c32c03939e3016998a94a5a097bafba196112a458bf9970d6514a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling wisp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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: 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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 11.20s [INFO] running `Command { std: "docker" "inspect" "dddbec5ba91c32c03939e3016998a94a5a097bafba196112a458bf9970d6514a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dddbec5ba91c32c03939e3016998a94a5a097bafba196112a458bf9970d6514a", kill_on_drop: false }` [INFO] [stdout] dddbec5ba91c32c03939e3016998a94a5a097bafba196112a458bf9970d6514a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 519fc6e53b49334b78d5b33da9a39464becf9a6f71ed39ba86c80bd8e11a7146 [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" "519fc6e53b49334b78d5b33da9a39464becf9a6f71ed39ba86c80bd8e11a7146", kill_on_drop: false }` [INFO] [stderr] Compiling wisp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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: 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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 2.80s [INFO] running `Command { std: "docker" "inspect" "519fc6e53b49334b78d5b33da9a39464becf9a6f71ed39ba86c80bd8e11a7146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "519fc6e53b49334b78d5b33da9a39464becf9a6f71ed39ba86c80bd8e11a7146", kill_on_drop: false }` [INFO] [stdout] 519fc6e53b49334b78d5b33da9a39464becf9a6f71ed39ba86c80bd8e11a7146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eb73151322f765cbd164944cd259b5d3a025ed3516d0d6d8d11596aad84a25dd [INFO] running `Command { std: "docker" "start" "-a" "eb73151322f765cbd164944cd259b5d3a025ed3516d0d6d8d11596aad84a25dd", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item '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 item '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: 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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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.08s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/wisp-a366fa45e9671baa [INFO] [stdout] [INFO] [stdout] running 39 tests [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::eval_simple_define ... ok [INFO] [stdout] test eval::test::simple_context ... ok [INFO] [stdout] test eval::test::multiple_namespace_context ... ok [INFO] [stdout] test eval::test::simple_mult ... ok [INFO] [stdout] test eval::test::eval_operator_define ... ok [INFO] [stdout] test eval::test::simple_eval ... ok [INFO] [stdout] test eval::test::simple_lambda ... ok [INFO] [stdout] test eval::test::simple_div ... ok [INFO] [stdout] test eval::test::nested_eval ... ok [INFO] [stdout] test eval::test::context_get_non_existent_define ... ok [INFO] [stdout] test parser::test::define_lambda_parse ... ok [INFO] [stdout] test parser::test::lambda_exp_parse ... ok [INFO] [stdout] test parser::test::define_parse ... ok [INFO] [stdout] test parser::test::if_test ... ok [INFO] [stdout] test parser::test::first_arg_nested_parse ... ok [INFO] [stdout] test parser::test::lambda_parse ... ok [INFO] [stdout] test parser::test::lambda_parse_const_expr ... ok [INFO] [stdout] test lexer::test::if_test ... ok [INFO] [stdout] test lexer::test::floating_point ... ok [INFO] [stdout] test lexer::test::lambda_test ... ok [INFO] [stdout] test lexer::test::simple_parse ... ok [INFO] [stdout] test parser::test::string_parse ... ok [INFO] [stdout] test parser::test::nested_parse ... ok [INFO] [stdout] test parser::test::simple_parse ... ok [INFO] [stdout] test lexer::test::nested_parse ... ok [INFO] [stdout] test lexer::test::valid_ops ... ok [INFO] [stdout] test lexer::test::string_test ... ok [INFO] [stdout] test lexer::test::define_test ... ok [INFO] [stdout] test lexer::test::leading_digit ... ok [INFO] [stdout] test parser::test::if_expected_test ... ok [INFO] [stdout] test parser::test::if_test_too_many_args ... ok [INFO] [stdout] test parser::test::mismatched_paren_beginning ... ok [INFO] [stdout] test parser::test::lambda_unexpected ... ok [INFO] [stdout] test parser::test::mismatched_paren_end ... ok [INFO] [stdout] test lexer::test::invalid_identifier ... ok [INFO] [stdout] test parser::test::lambda_parse_malformed_args ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eb73151322f765cbd164944cd259b5d3a025ed3516d0d6d8d11596aad84a25dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb73151322f765cbd164944cd259b5d3a025ed3516d0d6d8d11596aad84a25dd", kill_on_drop: false }` [INFO] [stdout] eb73151322f765cbd164944cd259b5d3a025ed3516d0d6d8d11596aad84a25dd