[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgslavin%2Fwisp_rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gslavin/wisp_rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-1/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5272f68b48cb2096425e766bf007eda6dab64f06cfacb149773b34a24bcecfc8 [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" "5272f68b48cb2096425e766bf007eda6dab64f06cfacb149773b34a24bcecfc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5272f68b48cb2096425e766bf007eda6dab64f06cfacb149773b34a24bcecfc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5272f68b48cb2096425e766bf007eda6dab64f06cfacb149773b34a24bcecfc8", kill_on_drop: false }` [INFO] [stdout] 5272f68b48cb2096425e766bf007eda6dab64f06cfacb149773b34a24bcecfc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c571362a542e9d1ff7be0e43e34d4d250ea52172003ad7039989b892cca5979 [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" "3c571362a542e9d1ff7be0e43e34d4d250ea52172003ad7039989b892cca5979", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling aho-corasick v0.5.3 [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 11.93s [INFO] running `Command { std: "docker" "inspect" "3c571362a542e9d1ff7be0e43e34d4d250ea52172003ad7039989b892cca5979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c571362a542e9d1ff7be0e43e34d4d250ea52172003ad7039989b892cca5979", kill_on_drop: false }` [INFO] [stdout] 3c571362a542e9d1ff7be0e43e34d4d250ea52172003ad7039989b892cca5979 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", 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] 06131c8177888d361319ed9dfb2bbc930830b209519ed0e42640d42a122501a2 [INFO] running `Command { std: "docker" "start" "-a" "06131c8177888d361319ed9dfb2bbc930830b209519ed0e42640d42a122501a2", 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 3.55s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/wisp-7be099ca5ee1adf9) [INFO] running `Command { std: "docker" "inspect" "06131c8177888d361319ed9dfb2bbc930830b209519ed0e42640d42a122501a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06131c8177888d361319ed9dfb2bbc930830b209519ed0e42640d42a122501a2", kill_on_drop: false }` [INFO] [stdout] 06131c8177888d361319ed9dfb2bbc930830b209519ed0e42640d42a122501a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 1229c99104a040fc6576ac689d464e04316c9076332072651020135b248f1609 [INFO] running `Command { std: "docker" "start" "-a" "1229c99104a040fc6576ac689d464e04316c9076332072651020135b248f1609", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.53s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wisp-7be099ca5ee1adf9) [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test eval::test::eval_operator_define ... ok [INFO] [stdout] test eval::test::nested_eval ... ok [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_lambda ... ok [INFO] [stdout] test eval::test::simple_if_true ... ok [INFO] [stdout] test eval::test::eval_simple_define ... ok [INFO] [stdout] test eval::test::simple_sub ... ok [INFO] [stdout] test eval::test::simple_mult ... ok [INFO] [stdout] test eval::test::simple_if_false ... ok [INFO] [stdout] test eval::test::simple_eval ... ok [INFO] [stdout] test eval::test::simple_div ... ok [INFO] [stdout] test parser::test::define_parse ... ok [INFO] [stdout] test parser::test::first_arg_nested_parse ... ok [INFO] [stdout] test parser::test::lambda_exp_parse ... ok [INFO] [stdout] test parser::test::define_lambda_parse ... ok [INFO] [stdout] test parser::test::lambda_parse ... ok [INFO] [stdout] test parser::test::lambda_parse_const_expr ... ok [INFO] [stdout] test eval::test::simple_context ... ok [INFO] [stdout] test parser::test::if_test ... ok [INFO] [stdout] test lexer::test::lambda_test ... ok [INFO] [stdout] test lexer::test::if_test ... ok [INFO] [stdout] test lexer::test::simple_parse ... ok [INFO] [stdout] test parser::test::nested_parse ... ok [INFO] [stdout] test parser::test::simple_parse ... ok [INFO] [stdout] test lexer::test::define_test ... ok [INFO] [stdout] test lexer::test::floating_point ... ok [INFO] [stdout] test lexer::test::valid_ops ... ok [INFO] [stdout] test lexer::test::nested_parse ... ok [INFO] [stdout] test lexer::test::string_test ... ok [INFO] [stdout] test parser::test::string_parse ... ok [INFO] [stdout] test parser::test::lambda_parse_malformed_args - should panic ... ok [INFO] [stdout] test parser::test::lambda_unexpected - should panic ... ok [INFO] [stdout] test parser::test::if_test_too_many_args - should panic ... ok [INFO] [stdout] test lexer::test::leading_digit - should panic ... ok [INFO] [stdout] test lexer::test::invalid_identifier - 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 parser::test::if_expected_test - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1229c99104a040fc6576ac689d464e04316c9076332072651020135b248f1609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1229c99104a040fc6576ac689d464e04316c9076332072651020135b248f1609", kill_on_drop: false }` [INFO] [stdout] 1229c99104a040fc6576ac689d464e04316c9076332072651020135b248f1609