[INFO] fetching crate ezjs 0.1.1... [INFO] building ezjs-0.1.1 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate ezjs 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate ezjs 0.1.1 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ezjs 0.1.1 [INFO] finished tweaking crates.io crate ezjs 0.1.1 [INFO] tweaked toml for crates.io crate ezjs 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate ezjs 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a16fccaf97cfb82e55af2fda0882c24727b8dbbafa5637f26ddc8e1c3f616dac [INFO] running `Command { std: "docker" "start" "-a" "a16fccaf97cfb82e55af2fda0882c24727b8dbbafa5637f26ddc8e1c3f616dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a16fccaf97cfb82e55af2fda0882c24727b8dbbafa5637f26ddc8e1c3f616dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a16fccaf97cfb82e55af2fda0882c24727b8dbbafa5637f26ddc8e1c3f616dac", kill_on_drop: false }` [INFO] [stdout] a16fccaf97cfb82e55af2fda0882c24727b8dbbafa5637f26ddc8e1c3f616dac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87ec27448e3dfd2b874d11d1b2f712d01574b6d8440696ff8aa02b0800796cf4 [INFO] running `Command { std: "docker" "start" "-a" "87ec27448e3dfd2b874d11d1b2f712d01574b6d8440696ff8aa02b0800796cf4", kill_on_drop: false }` [INFO] [stderr] Compiling ezjs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 140 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 438 | panic!(format!("unexpected token in expression: {:?} @ {}", lookahead, tkr.line())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 438 - panic!(format!("unexpected token in expression: {:?} @ {}", lookahead, tkr.line())); [INFO] [stdout] 438 + panic!("unexpected token in expression: {:?} @ {}", lookahead, tkr.line()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:477:7 [INFO] [stdout] | [INFO] [stdout] 477 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_nan_comparisons)]` on by default [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 477 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 477 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 477 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 477 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1155:8 [INFO] [stdout] | [INFO] [stdout] 1155 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1155 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1155 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1155:25 [INFO] [stdout] | [INFO] [stdout] 1155 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1155 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1155 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1171:8 [INFO] [stdout] | [INFO] [stdout] 1171 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1171 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1171 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1171:25 [INFO] [stdout] | [INFO] [stdout] 1171 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1171 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1171 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1187:8 [INFO] [stdout] | [INFO] [stdout] 1187 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1187 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1187 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1187:25 [INFO] [stdout] | [INFO] [stdout] 1187 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1187 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1187 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1271:8 [INFO] [stdout] | [INFO] [stdout] 1271 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1271 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1271 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1271:25 [INFO] [stdout] | [INFO] [stdout] 1271 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1271 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1271 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1285:8 [INFO] [stdout] | [INFO] [stdout] 1285 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1285 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1285 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1285:25 [INFO] [stdout] | [INFO] [stdout] 1285 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1285 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1285 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1299:8 [INFO] [stdout] | [INFO] [stdout] 1299 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1299 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1299 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1299:25 [INFO] [stdout] | [INFO] [stdout] 1299 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1299 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1299 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "87ec27448e3dfd2b874d11d1b2f712d01574b6d8440696ff8aa02b0800796cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ec27448e3dfd2b874d11d1b2f712d01574b6d8440696ff8aa02b0800796cf4", kill_on_drop: false }` [INFO] [stdout] 87ec27448e3dfd2b874d11d1b2f712d01574b6d8440696ff8aa02b0800796cf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cf224a46c56a996b9bfa4e1bba0f72a939edecad9cfae4fd957c6d9678232a8 [INFO] running `Command { std: "docker" "start" "-a" "6cf224a46c56a996b9bfa4e1bba0f72a939edecad9cfae4fd957c6d9678232a8", kill_on_drop: false }` [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 140 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 438 | panic!(format!("unexpected token in expression: {:?} @ {}", lookahead, tkr.line())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 438 - panic!(format!("unexpected token in expression: {:?} @ {}", lookahead, tkr.line())); [INFO] [stdout] 438 + panic!("unexpected token in expression: {:?} @ {}", lookahead, tkr.line()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:477:7 [INFO] [stdout] | [INFO] [stdout] 477 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_nan_comparisons)]` on by default [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 477 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 477 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 477 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 477 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1155:8 [INFO] [stdout] | [INFO] [stdout] 1155 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1155 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1155 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1155:25 [INFO] [stdout] | [INFO] [stdout] 1155 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1155 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1155 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1171:8 [INFO] [stdout] | [INFO] [stdout] 1171 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1171 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1171 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1171:25 [INFO] [stdout] | [INFO] [stdout] 1171 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1171 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1171 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1187:8 [INFO] [stdout] | [INFO] [stdout] 1187 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1187 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1187 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1187:25 [INFO] [stdout] | [INFO] [stdout] 1187 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1187 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1187 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1271:8 [INFO] [stdout] | [INFO] [stdout] 1271 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1271 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1271 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1271:25 [INFO] [stdout] | [INFO] [stdout] 1271 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1271 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1271 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1285:8 [INFO] [stdout] | [INFO] [stdout] 1285 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1285 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1285 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1285:25 [INFO] [stdout] | [INFO] [stdout] 1285 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1285 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1285 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1299:8 [INFO] [stdout] | [INFO] [stdout] 1299 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1299 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1299 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1299:25 [INFO] [stdout] | [INFO] [stdout] 1299 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1299 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1299 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ezjs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | panic!(err_msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 140 | panic!("{}", err_msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 438 | panic!(format!("unexpected token in expression: {:?} @ {}", lookahead, tkr.line())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 438 - panic!(format!("unexpected token in expression: {:?} @ {}", lookahead, tkr.line())); [INFO] [stdout] 438 + panic!("unexpected token in expression: {:?} @ {}", lookahead, tkr.line()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:477:7 [INFO] [stdout] | [INFO] [stdout] 477 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_nan_comparisons)]` on by default [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 477 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 477 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 477 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 477 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1155:8 [INFO] [stdout] | [INFO] [stdout] 1155 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1155 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1155 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1155:25 [INFO] [stdout] | [INFO] [stdout] 1155 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1155 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1155 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1171:8 [INFO] [stdout] | [INFO] [stdout] 1171 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1171 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1171 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1171:25 [INFO] [stdout] | [INFO] [stdout] 1171 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1171 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1171 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1187:8 [INFO] [stdout] | [INFO] [stdout] 1187 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1187 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1187 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1187:25 [INFO] [stdout] | [INFO] [stdout] 1187 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1187 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1187 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1271:8 [INFO] [stdout] | [INFO] [stdout] 1271 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1271 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1271 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1271:25 [INFO] [stdout] | [INFO] [stdout] 1271 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1271 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1271 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1285:8 [INFO] [stdout] | [INFO] [stdout] 1285 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1285 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1285 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1285:25 [INFO] [stdout] | [INFO] [stdout] 1285 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1285 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1285 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1299:8 [INFO] [stdout] | [INFO] [stdout] 1299 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1299 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1299 + if x.is_nan() || y == f64::NAN { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: incorrect NaN comparison, NaN cannot be directly compared to itself [INFO] [stdout] --> src/runtime.rs:1299:25 [INFO] [stdout] | [INFO] [stdout] 1299 | if x == f64::NAN || y == f64::NAN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `f32::is_nan()` or `f64::is_nan()` instead [INFO] [stdout] | [INFO] [stdout] 1299 - if x == f64::NAN || y == f64::NAN { [INFO] [stdout] 1299 + if x == f64::NAN || y.is_nan() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "6cf224a46c56a996b9bfa4e1bba0f72a939edecad9cfae4fd957c6d9678232a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf224a46c56a996b9bfa4e1bba0f72a939edecad9cfae4fd957c6d9678232a8", kill_on_drop: false }` [INFO] [stdout] 6cf224a46c56a996b9bfa4e1bba0f72a939edecad9cfae4fd957c6d9678232a8