[INFO] cloning repository https://github.com/gslavin/wisp_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gslavin/wisp_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgslavin%2Fwisp_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgslavin%2Fwisp_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83fa0ecba9ecb660fcbbe7dc6d1f14b5bcd9042a [INFO] testing gslavin/wisp_rust against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgslavin%2Fwisp_rust" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gslavin/wisp_rust on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-25/source/Cargo.toml [INFO] crate git repo https://github.com/gslavin/wisp_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f32e4e345364806ad281cf765826e94c2528215618f2aa223ec4b108fa32fac9 [INFO] running `Command { std: "docker" "start" "-a" "f32e4e345364806ad281cf765826e94c2528215618f2aa223ec4b108fa32fac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f32e4e345364806ad281cf765826e94c2528215618f2aa223ec4b108fa32fac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32e4e345364806ad281cf765826e94c2528215618f2aa223ec4b108fa32fac9", kill_on_drop: false }` [INFO] [stdout] f32e4e345364806ad281cf765826e94c2528215618f2aa223ec4b108fa32fac9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a3c8abc57615ff9706828b89bbb3c704bbc068318005d89bc0e4ee7f245753d [INFO] running `Command { std: "docker" "start" "-a" "9a3c8abc57615ff9706828b89bbb3c704bbc068318005d89bc0e4ee7f245753d", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - return AstNode::Number((sum)); [INFO] [stdout] 66 + return AstNode::Number(sum); [INFO] [stdout] | [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] = 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:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | let mut f = try!(File::open(filename)); [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 6.24s [INFO] running `Command { std: "docker" "inspect" "9a3c8abc57615ff9706828b89bbb3c704bbc068318005d89bc0e4ee7f245753d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3c8abc57615ff9706828b89bbb3c704bbc068318005d89bc0e4ee7f245753d", kill_on_drop: false }` [INFO] [stdout] 9a3c8abc57615ff9706828b89bbb3c704bbc068318005d89bc0e4ee7f245753d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95d814d5902e3b344e156d791162c160ecb9b90d3590c5e2466f0e20eb29dae7 [INFO] running `Command { std: "docker" "start" "-a" "95d814d5902e3b344e156d791162c160ecb9b90d3590c5e2466f0e20eb29dae7", 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - return AstNode::Number((sum)); [INFO] [stdout] 66 + return AstNode::Number(sum); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 271 - let expected_result = AstNode::Number((-1.0)); [INFO] [stdout] 271 + let expected_result = AstNode::Number(-1.0); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 293 - let expected_result = AstNode::Number((0.75)); [INFO] [stdout] 293 + let expected_result = AstNode::Number(0.75); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 318 - let expected_result = AstNode::Number((3.0)); [INFO] [stdout] 318 + let expected_result = AstNode::Number(3.0); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 329 - let expected_result = AstNode::Number((4.0)); [INFO] [stdout] 329 + let expected_result = AstNode::Number(4.0); [INFO] [stdout] | [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] = 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:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | let mut f = try!(File::open(filename)); [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 1.51s [INFO] running `Command { std: "docker" "inspect" "95d814d5902e3b344e156d791162c160ecb9b90d3590c5e2466f0e20eb29dae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d814d5902e3b344e156d791162c160ecb9b90d3590c5e2466f0e20eb29dae7", kill_on_drop: false }` [INFO] [stdout] 95d814d5902e3b344e156d791162c160ecb9b90d3590c5e2466f0e20eb29dae7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f059d1e4efe4d184c827045ff97ebb46d3b2cf23a42d68d9e27c6bf7a42566ff [INFO] running `Command { std: "docker" "start" "-a" "f059d1e4efe4d184c827045ff97ebb46d3b2cf23a42d68d9e27c6bf7a42566ff", 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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 66 - return AstNode::Number((sum)); [INFO] [stderr] 66 + return AstNode::Number(sum); [INFO] [stderr] | [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 271 - let expected_result = AstNode::Number((-1.0)); [INFO] [stderr] 271 + let expected_result = AstNode::Number(-1.0); [INFO] [stderr] | [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 293 - let expected_result = AstNode::Number((0.75)); [INFO] [stderr] 293 + let expected_result = AstNode::Number(0.75); [INFO] [stderr] | [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 318 - let expected_result = AstNode::Number((3.0)); [INFO] [stderr] 318 + let expected_result = AstNode::Number(3.0); [INFO] [stderr] | [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 329 - let expected_result = AstNode::Number((4.0)); [INFO] [stderr] 329 + let expected_result = AstNode::Number(4.0); [INFO] [stderr] | [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] = 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:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | let mut f = try!(File::open(filename)); [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/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: `wisp` (bin "wisp" test) generated 25 warnings (16 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wisp-7be099ca5ee1adf9) [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test eval::test::multiple_namespace_context ... ok [INFO] [stdout] test eval::test::context_get_non_existent_define ... ok [INFO] [stdout] test eval::test::simple_context ... ok [INFO] [stdout] test eval::test::simple_if_false ... ok [INFO] [stdout] test eval::test::simple_div ... ok [INFO] [stdout] test eval::test::simple_eval ... ok [INFO] [stdout] test eval::test::nested_eval ... ok [INFO] [stdout] test eval::test::eval_simple_define ... ok [INFO] [stdout] test eval::test::simple_lambda ... ok [INFO] [stdout] test eval::test::eval_operator_define ... ok [INFO] [stdout] test eval::test::simple_if_true ... ok [INFO] [stdout] test eval::test::simple_mult ... ok [INFO] [stdout] test eval::test::simple_sub ... ok [INFO] [stdout] test parser::test::define_lambda_parse ... ok [INFO] [stdout] test parser::test::first_arg_nested_parse ... ok [INFO] [stdout] test parser::test::define_parse ... ok [INFO] [stdout] test parser::test::if_test ... ok [INFO] [stdout] test parser::test::lambda_exp_parse ... ok [INFO] [stdout] test parser::test::lambda_parse ... ok [INFO] [stdout] test parser::test::lambda_parse_const_expr ... ok [INFO] [stdout] test parser::test::simple_parse ... ok [INFO] [stdout] test parser::test::nested_parse ... ok [INFO] [stdout] test parser::test::string_parse ... ok [INFO] [stdout] test lexer::test::string_test ... ok [INFO] [stdout] test lexer::test::nested_parse ... ok [INFO] [stdout] test lexer::test::lambda_test ... ok [INFO] [stdout] test lexer::test::define_test ... ok [INFO] [stdout] test lexer::test::if_test ... ok [INFO] [stdout] test lexer::test::simple_parse ... ok [INFO] [stdout] test lexer::test::floating_point ... ok [INFO] [stdout] test lexer::test::valid_ops ... ok [INFO] [stdout] test parser::test::if_expected_test - should panic ... ok [INFO] [stdout] test parser::test::if_test_too_many_args - should panic ... ok [INFO] [stdout] test parser::test::lambda_parse_malformed_args - should panic ... ok [INFO] [stdout] test parser::test::lambda_unexpected - should panic ... ok [INFO] [stdout] test parser::test::mismatched_paren_beginning - should panic ... ok [INFO] [stdout] test parser::test::mismatched_paren_end - should panic ... ok [INFO] [stdout] test lexer::test::invalid_identifier - should panic ... ok [INFO] [stdout] test lexer::test::leading_digit - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f059d1e4efe4d184c827045ff97ebb46d3b2cf23a42d68d9e27c6bf7a42566ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f059d1e4efe4d184c827045ff97ebb46d3b2cf23a42d68d9e27c6bf7a42566ff", kill_on_drop: false }` [INFO] [stdout] f059d1e4efe4d184c827045ff97ebb46d3b2cf23a42d68d9e27c6bf7a42566ff