[INFO] cloning repository https://github.com/yiransheng/basic_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yiransheng/basic_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiransheng%2Fbasic_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiransheng%2Fbasic_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddd64e2eacfc2b36354e32e2b6abdb97989bd3a2 [INFO] checking yiransheng/basic_rs/ddd64e2eacfc2b36354e32e2b6abdb97989bd3a2 against master#f5e2df741b4a9820a7579f0c8eccc951706a8782 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiransheng%2Fbasic_rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yiransheng/basic_rs [INFO] finished tweaking git repo https://github.com/yiransheng/basic_rs [INFO] tweaked toml for git repo https://github.com/yiransheng/basic_rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yiransheng/basic_rs on toolchain f5e2df741b4a9820a7579f0c8eccc951706a8782 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yiransheng/basic_rs 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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded structopt v0.2.13 [INFO] [stderr] Downloaded rustc-hash v1.0.1 [INFO] [stderr] Downloaded structopt-derive v0.2.13 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded indoc v0.2.8 [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded failure_derive v0.1.3 [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded thread-scoped v1.0.2 [INFO] [stderr] Downloaded handlebars v0.32.4 [INFO] [stderr] Downloaded unindent v0.1.3 [INFO] [stderr] Downloaded indoc-impl v0.2.8 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded criterion-plot v0.2.5 [INFO] [stderr] Downloaded backtrace v0.2.3 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded cc v1.0.25 [INFO] [stderr] Downloaded rand v0.6.4 [INFO] [stderr] Downloaded failure v0.1.3 [INFO] [stderr] Downloaded ryu v0.2.7 [INFO] [stderr] Downloaded cpuprofiler v0.0.3 [INFO] [stderr] Downloaded serde v1.0.81 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded csv-core v0.1.4 [INFO] [stderr] Downloaded pest v1.0.6 [INFO] [stderr] Downloaded pest_derive v1.0.8 [INFO] [stderr] Downloaded criterion v0.2.5 [INFO] [stderr] Downloaded criterion-stats v0.2.5 [INFO] [stderr] Downloaded proc-macro-hack v0.4.1 [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded rand_chacha v0.1.0 [INFO] [stderr] Downloaded rand_os v0.1.1 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded rand_xorshift v0.1.0 [INFO] [stderr] Downloaded itoa v0.4.3 [INFO] [stderr] Downloaded simplelog v0.5.3 [INFO] [stderr] Downloaded sequence_trie v0.3.6 [INFO] [stderr] Downloaded csv v1.0.2 [INFO] [stderr] Downloaded num-derive v0.2.3 [INFO] [stderr] Downloaded autocfg v0.1.1 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.1 [INFO] [stderr] Downloaded multimap v0.4.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded nanbox v0.2.0 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded byteorder v1.2.7 [INFO] [stderr] Downloaded serde_derive v1.0.81 [INFO] [stderr] Downloaded ordermap v0.3.5 [INFO] [stderr] Downloaded quickcheck v0.8.0 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded walkdir v2.2.7 [INFO] [stderr] Downloaded rand_pcg v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6afba0db271f0bae1e974a3fb0bbe8ebcdcff09ce52db053f3302092cf65f54 [INFO] running `Command { std: "docker" "start" "-a" "b6afba0db271f0bae1e974a3fb0bbe8ebcdcff09ce52db053f3302092cf65f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6afba0db271f0bae1e974a3fb0bbe8ebcdcff09ce52db053f3302092cf65f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6afba0db271f0bae1e974a3fb0bbe8ebcdcff09ce52db053f3302092cf65f54", kill_on_drop: false }` [INFO] [stdout] b6afba0db271f0bae1e974a3fb0bbe8ebcdcff09ce52db053f3302092cf65f54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94801b57829658cbef4d837bae362e482b9fc1b205689b11c59d59ed5c840220 [INFO] running `Command { std: "docker" "start" "-a" "94801b57829658cbef4d837bae362e482b9fc1b205689b11c59d59ed5c840220", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.4.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking nanbox v0.2.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking slotmap v0.3.0 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking itertools-num v0.1.3 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking criterion-stats v0.2.5 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Checking criterion-plot v0.2.5 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking error-chain v0.5.0 [INFO] [stderr] Checking cpuprofiler v0.0.3 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking quickcheck v0.8.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.2.13 [INFO] [stderr] Compiling indoc-impl v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.81 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking csv v1.0.2 [INFO] [stderr] Checking indoc v0.2.8 [INFO] [stderr] Compiling multimap v0.4.0 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Compiling keyword-token-derive v0.1.0 (/opt/rustwide/workdir/keyword-token-derive) [INFO] [stderr] Checking structopt v0.2.13 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> keyword-token-derive/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> keyword-token-derive/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking handlebars v0.32.4 [INFO] [stderr] Checking basic_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | Some(b'0'...b'9') => try_natural!(self.natural()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `allow` [INFO] [stdout] --> src/vm/chunk.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | #[allow(clippy::write_literal)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `write` [INFO] [stdout] --> src/vm/chunk.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | write!(&mut self.out, "{} {:04}", " | ", self.ip) [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | b'A'...b'Z' => Ok(Variable([b, 0])), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | b'a'...b'z' => Err(NameError::LowerCase), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | b'0'...b'9' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | b'A'...b'Z' => Ok(Variable([a, d])), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | (b'A'...b'Z', 0) => write!(f, "{}", b0 as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | (b'A'...b'Z', b'0'...b'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | (b'A'...b'Z', b'0'...b'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config` and `Dot` [INFO] [stdout] --> src/relooper/mod.rs:714:29 [INFO] [stdout] | [INFO] [stdout] 714 | use petgraph::dot::{Config, Dot}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let desc = error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | let desc = error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/array.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ast/variable.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/compile/control_flow_context.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/compile/error.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | InterpreterError::IoFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:81:49 [INFO] [stdout] | [INFO] [stdout] 81 | InterpreterError::ParseFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:82:51 [INFO] [stdout] | [INFO] [stdout] 82 | InterpreterError::CompileFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | InterpreterError::CodegenFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:84:53 [INFO] [stdout] | [INFO] [stdout] 84 | InterpreterError::Runtime(e) => e.error.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | ErrorInner::ScanError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | self.value.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | Error::BadIdentifier(Some(e)) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/print.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | PrintError::Io(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:115:47 [INFO] [stdout] | [INFO] [stdout] 115 | ExecError::ArrayError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:116:47 [INFO] [stdout] | [INFO] [stdout] 116 | ExecError::PrintError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `line_predecessors` is never used [INFO] [stdout] --> src/compile/control_flow_context.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl CfCtx { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn line_predecessors<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/vm/data.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl DataStack { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SimpleFused` is never constructed [INFO] [stdout] --> src/relooper/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | enum ShapeKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 52 | Simple(SimpleShape), [INFO] [stdout] 53 | SimpleFused(SimpleShape, MultiShape), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fuse` and `fuse_simple` are never used [INFO] [stdout] --> src/relooper/mod.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl Shape { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 70 | fn fuse(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn fuse_simple(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm/value.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | Debug, Copy, Clone, Hash, Eq, PartialEq, FromPrimitive, ToPrimitive, Default, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_FUNCID` [INFO] [stdout] 17 | )] [INFO] [stdout] 18 | pub struct FuncId(u8); [INFO] [stdout] | ------ `FuncId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm/value.rs:16:61 [INFO] [stdout] | [INFO] [stdout] 16 | Debug, Copy, Clone, Hash, Eq, PartialEq, FromPrimitive, ToPrimitive, Default, [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_FUNCID` [INFO] [stdout] 17 | )] [INFO] [stdout] 18 | pub struct FuncId(u8); [INFO] [stdout] | ------ `FuncId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm/opcode.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_OPCODE` [INFO] [stdout] 4 | pub enum OpCode { [INFO] [stdout] | ------ `OpCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm/opcode.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_OPCODE` [INFO] [stdout] 4 | pub enum OpCode { [INFO] [stdout] | ------ `OpCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast/function.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_FUNC` [INFO] [stdout] ... [INFO] [stdout] 16 | pub enum Func { [INFO] [stdout] | ---- `Func` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast/function.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ToPrimitive, [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_FUNC` [INFO] [stdout] 15 | )] [INFO] [stdout] 16 | pub enum Func { [INFO] [stdout] | ---- `Func` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast/keyword.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_KEYWORD` [INFO] [stdout] ... [INFO] [stdout] 16 | pub enum Keyword { [INFO] [stdout] | ------- `Keyword` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast/keyword.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ToPrimitive, [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_KEYWORD` [INFO] [stdout] 15 | )] [INFO] [stdout] 16 | pub enum Keyword { [INFO] [stdout] | ------- `Keyword` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ir/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> BlockIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> BlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/relooper/mod.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | / ::std::mem::replace( [INFO] [stdout] 283 | | branch, [INFO] [stdout] 284 | | Branch::Processed(ProcessedBranch { [INFO] [stdout] 285 | | ancestor: ancester_shape, [INFO] [stdout] ... | [INFO] [stdout] 289 | | }), [INFO] [stdout] 290 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 282 | let _ = ::std::mem::replace( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | b'A'...b'Z' => Ok(Variable([b, 0])), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | b'a'...b'z' => Err(NameError::LowerCase), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | b'0'...b'9' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | b'A'...b'Z' => Ok(Variable([a, d])), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | (b'A'...b'Z', 0) => write!(f, "{}", b0 as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | (b'A'...b'Z', b'0'...b'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | (b'A'...b'Z', b'0'...b'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | Some(b'0'...b'9') => try_natural!(self.natural()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `allow` [INFO] [stdout] --> src/vm/chunk.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | #[allow(clippy::write_literal)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `write` [INFO] [stdout] --> src/vm/chunk.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | write!(&mut self.out, "{} {:04}", " | ", self.ip) [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ast/variable.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let desc = error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | let desc = error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/array.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/compile/control_flow_context.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/compile/error.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | InterpreterError::IoFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:81:49 [INFO] [stdout] | [INFO] [stdout] 81 | InterpreterError::ParseFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:82:51 [INFO] [stdout] | [INFO] [stdout] 82 | InterpreterError::CompileFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | InterpreterError::CodegenFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:84:53 [INFO] [stdout] | [INFO] [stdout] 84 | InterpreterError::Runtime(e) => e.error.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | ErrorInner::ScanError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | self.value.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | Error::BadIdentifier(Some(e)) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/print.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | PrintError::Io(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:115:47 [INFO] [stdout] | [INFO] [stdout] 115 | ExecError::ArrayError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:116:47 [INFO] [stdout] | [INFO] [stdout] 116 | ExecError::PrintError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.2.5 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/token.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | Int(num::ParseIntError), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 - Int(num::ParseIntError), [INFO] [stdout] 90 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/token.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | Float(num::ParseFloatError), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 91 - Float(num::ParseFloatError), [INFO] [stdout] 91 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/token.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | VarnameError(NameError), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 92 - VarnameError(NameError), [INFO] [stdout] 92 + VarnameError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `line_predecessors` is never used [INFO] [stdout] --> src/compile/control_flow_context.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl CfCtx { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn line_predecessors<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ValueError` is never constructed [INFO] [stdout] --> src/vm/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum ExecError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 71 | ValueError(&'static str), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `run` are never used [INFO] [stdout] --> src/vm/mod.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn run( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/vm/data.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl DataStack { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast/function.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_FUNC` [INFO] [stdout] ... [INFO] [stdout] 16 | pub enum Func { [INFO] [stdout] | ---- `Func` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast/function.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ToPrimitive, [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_FUNC` [INFO] [stdout] 15 | )] [INFO] [stdout] 16 | pub enum Func { [INFO] [stdout] | ---- `Func` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast/keyword.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_KEYWORD` [INFO] [stdout] ... [INFO] [stdout] 16 | pub enum Keyword { [INFO] [stdout] | ------- `Keyword` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast/keyword.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ToPrimitive, [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_KEYWORD` [INFO] [stdout] 15 | )] [INFO] [stdout] 16 | pub enum Keyword { [INFO] [stdout] | ------- `Keyword` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ir/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> BlockIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> BlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm/value.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | Debug, Copy, Clone, Hash, Eq, PartialEq, FromPrimitive, ToPrimitive, Default, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_FUNCID` [INFO] [stdout] 17 | )] [INFO] [stdout] 18 | pub struct FuncId(u8); [INFO] [stdout] | ------ `FuncId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm/value.rs:16:61 [INFO] [stdout] | [INFO] [stdout] 16 | Debug, Copy, Clone, Hash, Eq, PartialEq, FromPrimitive, ToPrimitive, Default, [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_FUNCID` [INFO] [stdout] 17 | )] [INFO] [stdout] 18 | pub struct FuncId(u8); [INFO] [stdout] | ------ `FuncId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm/opcode.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_OPCODE` [INFO] [stdout] 4 | pub enum OpCode { [INFO] [stdout] | ------ `OpCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm/opcode.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_OPCODE` [INFO] [stdout] 4 | pub enum OpCode { [INFO] [stdout] | ------ `OpCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> benches/pi_sim.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | if ((local_1 - local_0) > 0f64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - if ((local_1 - local_0) > 0f64) { [INFO] [stdout] 68 + if (local_1 - local_0) > 0f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> benches/pi_sim.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | local_4 = ((local_7 * local_7) + (local_5 * local_5)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - local_4 = ((local_7 * local_7) + (local_5 * local_5)); [INFO] [stdout] 76 + local_4 = (local_7 * local_7) + (local_5 * local_5) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> benches/pi_sim.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | if (local_4 > 1f64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - if (local_4 > 1f64) { [INFO] [stdout] 77 + if local_4 > 1f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> benches/pi_sim.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | if (__label__ == 4) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - if (__label__ == 4) { [INFO] [stdout] 84 + if __label__ == 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> benches/pi_sim.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | local_3 = (local_3 + 1f64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - local_3 = (local_3 + 1f64); [INFO] [stdout] 85 + local_3 = local_3 + 1f64 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> benches/pi_sim.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | local_1 = (local_1 + 1f64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - local_1 = (local_1 + 1f64); [INFO] [stdout] 92 + local_1 = local_1 + 1f64 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> benches/pi_sim.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | local_6 = ((4f64 * local_3) / local_2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - local_6 = ((4f64 * local_3) / local_2); [INFO] [stdout] 96 + local_6 = (4f64 * local_3) / local_2 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/non_loop.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 279 | | " [INFO] [stdout] 280 | | 10 REM Comment [INFO] [stdout] 281 | | 20 LET X = 10 [INFO] [stdout] 282 | | 30 LET Y = X + 1 [INFO] [stdout] 283 | | 99 END" [INFO] [stdout] 284 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/non_loop.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 302 | | " [INFO] [stdout] 303 | | 10 REM Comment [INFO] [stdout] 304 | | 20 IF X = 10 THEN 99 [INFO] [stdout] 305 | | 30 PRINT \"Ok\" [INFO] [stdout] 306 | | 99 END" [INFO] [stdout] 307 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/non_loop.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 325 | | " [INFO] [stdout] 326 | | 10 REM Comment [INFO] [stdout] 327 | | 20 GOTO 40 [INFO] [stdout] 328 | | 30 PRINT \"Ok\" [INFO] [stdout] 329 | | 40 GOTO 30" [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/non_loop.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 348 | | " [INFO] [stdout] 349 | | 10 LET X = 1 [INFO] [stdout] 350 | | 20 GOSUB 70 [INFO] [stdout] ... | [INFO] [stdout] 354 | | 99 RETURN" [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/non_loop.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 279 | | " [INFO] [stdout] 280 | | 10 REM Comment [INFO] [stdout] 281 | | 20 LET X = 10 [INFO] [stdout] 282 | | 30 LET Y = X + 1 [INFO] [stdout] 283 | | 99 END" [INFO] [stdout] 284 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/non_loop.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 302 | | " [INFO] [stdout] 303 | | 10 REM Comment [INFO] [stdout] 304 | | 20 IF X = 10 THEN 99 [INFO] [stdout] 305 | | 30 PRINT \"Ok\" [INFO] [stdout] 306 | | 99 END" [INFO] [stdout] 307 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 55 | | " [INFO] [stdout] 56 | | 10 REM Comment [INFO] [stdout] 57 | | 20 FOR I = 1 TO 10 STEP 2 [INFO] [stdout] ... | [INFO] [stdout] 62 | | 70 RETURN" [INFO] [stdout] 63 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/non_loop.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 325 | | " [INFO] [stdout] 326 | | 10 REM Comment [INFO] [stdout] 327 | | 20 GOTO 40 [INFO] [stdout] 328 | | 30 PRINT \"Ok\" [INFO] [stdout] 329 | | 40 GOTO 30" [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/mod.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 76 | | " [INFO] [stdout] 77 | | 10 GOTO 50 [INFO] [stdout] 78 | | 20 PRINT I [INFO] [stdout] ... | [INFO] [stdout] 82 | | 60 GOTO 20" [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/non_loop.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 348 | | " [INFO] [stdout] 349 | | 10 LET X = 1 [INFO] [stdout] 350 | | 20 GOSUB 70 [INFO] [stdout] ... | [INFO] [stdout] 354 | | 99 RETURN" [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 55 | | " [INFO] [stdout] 56 | | 10 REM Comment [INFO] [stdout] 57 | | 20 FOR I = 1 TO 10 STEP 2 [INFO] [stdout] ... | [INFO] [stdout] 62 | | 70 RETURN" [INFO] [stdout] 63 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/compile/mod.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 76 | | " [INFO] [stdout] 77 | | 10 GOTO 50 [INFO] [stdout] 78 | | 20 PRINT I [INFO] [stdout] ... | [INFO] [stdout] 82 | | 60 GOTO 20" [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/parser.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 672 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 673 | | " [INFO] [stdout] 674 | | 10 REM line: 10 [INFO] [stdout] 675 | | 10 REM line: 10 [INFO] [stdout] 676 | | 99 END" [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/parser.rs:689:23 [INFO] [stdout] | [INFO] [stdout] 689 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 690 | | " [INFO] [stdout] 691 | | 30 REM line: 30 [INFO] [stdout] 692 | | 10 REM line: 10 [INFO] [stdout] 693 | | 99 END" [INFO] [stdout] 694 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/parser.rs:706:23 [INFO] [stdout] | [INFO] [stdout] 706 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 707 | | " [INFO] [stdout] 708 | | 10 REM line: 10 [INFO] [stdout] 709 | | 20 REM line: 20 [INFO] [stdout] ... | [INFO] [stdout] 712 | | 99 END" [INFO] [stdout] 713 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/pi_sim.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut local_0: f64; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/pi_sim.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut data: Vec = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/parser.rs:804:23 [INFO] [stdout] | [INFO] [stdout] 804 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 805 | | " [INFO] [stdout] 806 | | 10 REM POWER TABLE [INFO] [stdout] 807 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 828 | | 99 END" [INFO] [stdout] 829 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/parser.rs:831:22 [INFO] [stdout] | [INFO] [stdout] 831 | let parsed = indoc!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 832 | | " [INFO] [stdout] 833 | | 10 REM [INFO] [stdout] 834 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 854 | | 99 END" [INFO] [stdout] 855 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/parser.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 672 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 673 | | " [INFO] [stdout] 674 | | 10 REM line: 10 [INFO] [stdout] 675 | | 10 REM line: 10 [INFO] [stdout] 676 | | 99 END" [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `local_6` is assigned to, but never used [INFO] [stdout] --> benches/pi_sim.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut local_6: f64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_local_6` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_1` is never read [INFO] [stdout] --> benches/pi_sim.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | local_1 = 0f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/parser.rs:689:23 [INFO] [stdout] | [INFO] [stdout] 689 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 690 | | " [INFO] [stdout] 691 | | 30 REM line: 30 [INFO] [stdout] 692 | | 10 REM line: 10 [INFO] [stdout] 693 | | 99 END" [INFO] [stdout] 694 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_2` is never read [INFO] [stdout] --> benches/pi_sim.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | local_2 = 0f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_3` is never read [INFO] [stdout] --> benches/pi_sim.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | local_3 = 0f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_4` is never read [INFO] [stdout] --> benches/pi_sim.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | local_4 = 0f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_5` is never read [INFO] [stdout] --> benches/pi_sim.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | local_5 = 0f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_6` is never read [INFO] [stdout] --> benches/pi_sim.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | local_6 = 0f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_6` is never read [INFO] [stdout] --> benches/pi_sim.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | local_6 = ((4f64 * local_3) / local_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/parser.rs:706:23 [INFO] [stdout] | [INFO] [stdout] 706 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 707 | | " [INFO] [stdout] 708 | | 10 REM line: 10 [INFO] [stdout] 709 | | 20 REM line: 20 [INFO] [stdout] ... | [INFO] [stdout] 712 | | 99 END" [INFO] [stdout] 713 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_7` is never read [INFO] [stdout] --> benches/pi_sim.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | local_7 = 0f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> benches/pi_sim.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut data: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/scanner/mod.rs:404:23 [INFO] [stdout] | [INFO] [stdout] 404 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 405 | | " [INFO] [stdout] 406 | | 10 REM POWER TABLE [INFO] [stdout] 407 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 424 | | 99 END" [INFO] [stdout] 425 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/parser.rs:804:23 [INFO] [stdout] | [INFO] [stdout] 804 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 805 | | " [INFO] [stdout] 806 | | 10 REM POWER TABLE [INFO] [stdout] 807 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 828 | | 99 END" [INFO] [stdout] 829 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/parser.rs:831:22 [INFO] [stdout] | [INFO] [stdout] 831 | let parsed = indoc!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 832 | | " [INFO] [stdout] 833 | | 10 REM [INFO] [stdout] 834 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 854 | | 99 END" [INFO] [stdout] 855 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/scanner/mod.rs:404:23 [INFO] [stdout] | [INFO] [stdout] 404 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 405 | | " [INFO] [stdout] 406 | | 10 REM POWER TABLE [INFO] [stdout] 407 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 424 | | 99 END" [INFO] [stdout] 425 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/scanner/mod.rs:404:23 [INFO] [stdout] | [INFO] [stdout] 404 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 405 | | " [INFO] [stdout] 406 | | 10 REM POWER TABLE [INFO] [stdout] 407 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 424 | | 99 END" [INFO] [stdout] 425 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/parser.rs:831:22 [INFO] [stdout] | [INFO] [stdout] 831 | let parsed = indoc!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 832 | | " [INFO] [stdout] 833 | | 10 REM [INFO] [stdout] 834 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 854 | | 99 END" [INFO] [stdout] 855 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/parser.rs:804:23 [INFO] [stdout] | [INFO] [stdout] 804 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 805 | | " [INFO] [stdout] 806 | | 10 REM POWER TABLE [INFO] [stdout] 807 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 828 | | 99 END" [INFO] [stdout] 829 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/parser.rs:706:23 [INFO] [stdout] | [INFO] [stdout] 706 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 707 | | " [INFO] [stdout] 708 | | 10 REM line: 10 [INFO] [stdout] 709 | | 20 REM line: 20 [INFO] [stdout] ... | [INFO] [stdout] 712 | | 99 END" [INFO] [stdout] 713 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/scanner/mod.rs:404:23 [INFO] [stdout] | [INFO] [stdout] 404 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 405 | | " [INFO] [stdout] 406 | | 10 REM POWER TABLE [INFO] [stdout] 407 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 424 | | 99 END" [INFO] [stdout] 425 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/parser.rs:689:23 [INFO] [stdout] | [INFO] [stdout] 689 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 690 | | " [INFO] [stdout] 691 | | 30 REM line: 30 [INFO] [stdout] 692 | | 10 REM line: 10 [INFO] [stdout] 693 | | 99 END" [INFO] [stdout] 694 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/parser.rs:831:22 [INFO] [stdout] | [INFO] [stdout] 831 | let parsed = indoc!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 832 | | " [INFO] [stdout] 833 | | 10 REM [INFO] [stdout] 834 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 854 | | 99 END" [INFO] [stdout] 855 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/parser.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 672 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 673 | | " [INFO] [stdout] 674 | | 10 REM line: 10 [INFO] [stdout] 675 | | 10 REM line: 10 [INFO] [stdout] 676 | | 99 END" [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/mod.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 76 | | " [INFO] [stdout] 77 | | 10 GOTO 50 [INFO] [stdout] 78 | | 20 PRINT I [INFO] [stdout] ... | [INFO] [stdout] 82 | | 60 GOTO 20" [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/parser.rs:804:23 [INFO] [stdout] | [INFO] [stdout] 804 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 805 | | " [INFO] [stdout] 806 | | 10 REM POWER TABLE [INFO] [stdout] 807 | | 11 DATA 8, 4 [INFO] [stdout] ... | [INFO] [stdout] 828 | | 99 END" [INFO] [stdout] 829 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 55 | | " [INFO] [stdout] 56 | | 10 REM Comment [INFO] [stdout] 57 | | 20 FOR I = 1 TO 10 STEP 2 [INFO] [stdout] ... | [INFO] [stdout] 62 | | 70 RETURN" [INFO] [stdout] 63 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/parser.rs:706:23 [INFO] [stdout] | [INFO] [stdout] 706 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 707 | | " [INFO] [stdout] 708 | | 10 REM line: 10 [INFO] [stdout] 709 | | 20 REM line: 20 [INFO] [stdout] ... | [INFO] [stdout] 712 | | 99 END" [INFO] [stdout] 713 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 348 | | " [INFO] [stdout] 349 | | 10 LET X = 1 [INFO] [stdout] 350 | | 20 GOSUB 70 [INFO] [stdout] ... | [INFO] [stdout] 354 | | 99 RETURN" [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/parser.rs:689:23 [INFO] [stdout] | [INFO] [stdout] 689 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 690 | | " [INFO] [stdout] 691 | | 30 REM line: 30 [INFO] [stdout] 692 | | 10 REM line: 10 [INFO] [stdout] 693 | | 99 END" [INFO] [stdout] 694 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 325 | | " [INFO] [stdout] 326 | | 10 REM Comment [INFO] [stdout] 327 | | 20 GOTO 40 [INFO] [stdout] 328 | | 30 PRINT \"Ok\" [INFO] [stdout] 329 | | 40 GOTO 30" [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/parser.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 672 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 673 | | " [INFO] [stdout] 674 | | 10 REM line: 10 [INFO] [stdout] 675 | | 10 REM line: 10 [INFO] [stdout] 676 | | 99 END" [INFO] [stdout] 677 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 302 | | " [INFO] [stdout] 303 | | 10 REM Comment [INFO] [stdout] 304 | | 20 IF X = 10 THEN 99 [INFO] [stdout] 305 | | 30 PRINT \"Ok\" [INFO] [stdout] 306 | | 99 END" [INFO] [stdout] 307 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 279 | | " [INFO] [stdout] 280 | | 10 REM Comment [INFO] [stdout] 281 | | 20 LET X = 10 [INFO] [stdout] 282 | | 30 LET Y = X + 1 [INFO] [stdout] 283 | | 99 END" [INFO] [stdout] 284 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/mod.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 76 | | " [INFO] [stdout] 77 | | 10 GOTO 50 [INFO] [stdout] 78 | | 20 PRINT I [INFO] [stdout] ... | [INFO] [stdout] 82 | | 60 GOTO 20" [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 55 | | " [INFO] [stdout] 56 | | 10 REM Comment [INFO] [stdout] 57 | | 20 FOR I = 1 TO 10 STEP 2 [INFO] [stdout] ... | [INFO] [stdout] 62 | | 70 RETURN" [INFO] [stdout] 63 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 348 | | " [INFO] [stdout] 349 | | 10 LET X = 1 [INFO] [stdout] 350 | | 20 GOSUB 70 [INFO] [stdout] ... | [INFO] [stdout] 354 | | 99 RETURN" [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 325 | | " [INFO] [stdout] 326 | | 10 REM Comment [INFO] [stdout] 327 | | 20 GOTO 40 [INFO] [stdout] 328 | | 30 PRINT \"Ok\" [INFO] [stdout] 329 | | 40 GOTO 30" [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 302 | | " [INFO] [stdout] 303 | | 10 REM Comment [INFO] [stdout] 304 | | 20 IF X = 10 THEN 99 [INFO] [stdout] 305 | | 30 PRINT \"Ok\" [INFO] [stdout] 306 | | 99 END" [INFO] [stdout] 307 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 279 | | " [INFO] [stdout] 280 | | 10 REM Comment [INFO] [stdout] 281 | | 20 LET X = 10 [INFO] [stdout] 282 | | 30 LET Y = X + 1 [INFO] [stdout] 283 | | 99 END" [INFO] [stdout] 284 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | b'A'...b'Z' => Ok(Variable([b, 0])), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | b'a'...b'z' => Err(NameError::LowerCase), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | b'0'...b'9' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | b'A'...b'Z' => Ok(Variable([a, d])), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | (b'A'...b'Z', 0) => write!(f, "{}", b0 as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | (b'A'...b'Z', b'0'...b'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | (b'A'...b'Z', b'0'...b'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | Some(b'0'...b'9') => try_natural!(self.natural()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `allow` [INFO] [stdout] --> src/vm/chunk.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | #[allow(clippy::write_literal)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `write` [INFO] [stdout] --> src/vm/chunk.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | write!(&mut self.out, "{} {:04}", " | ", self.ip) [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | Some(b'0'...b'9') => try_natural!(self.natural()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/scanner/number.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `allow` [INFO] [stdout] --> src/vm/chunk.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | #[allow(clippy::write_literal)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `write` [INFO] [stdout] --> src/vm/chunk.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | write!(&mut self.out, "{} {:04}", " | ", self.ip) [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | b'A'...b'Z' => Ok(Variable([b, 0])), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | b'a'...b'z' => Err(NameError::LowerCase), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | b'0'...b'9' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | b'A'...b'Z' => Ok(Variable([a, d])), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | (b'A'...b'Z', 0) => write!(f, "{}", b0 as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | (b'A'...b'Z', b'0'...b'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ast/variable.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | (b'A'...b'Z', b'0'...b'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `matches::*` [INFO] [stdout] --> src/relooper/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use matches::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config` and `Dot` [INFO] [stdout] --> src/relooper/mod.rs:714:29 [INFO] [stdout] | [INFO] [stdout] 714 | use petgraph::dot::{Config, Dot}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ast/variable.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let desc = error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | let desc = error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/array.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let desc = error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | let desc = error::Error::description(self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/array.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ast/variable.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/compile/control_flow_context.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/compile/control_flow_context.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/compile/error.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/compile/error.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | InterpreterError::IoFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:81:49 [INFO] [stdout] | [INFO] [stdout] 81 | InterpreterError::ParseFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:82:51 [INFO] [stdout] | [INFO] [stdout] 82 | InterpreterError::CompileFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | InterpreterError::CodegenFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:84:53 [INFO] [stdout] | [INFO] [stdout] 84 | InterpreterError::Runtime(e) => e.error.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | InterpreterError::IoFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:81:49 [INFO] [stdout] | [INFO] [stdout] 81 | InterpreterError::ParseFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:82:51 [INFO] [stdout] | [INFO] [stdout] 82 | InterpreterError::CompileFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | InterpreterError::CodegenFail(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_print.rs:84:53 [INFO] [stdout] | [INFO] [stdout] 84 | InterpreterError::Runtime(e) => e.error.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | ErrorInner::ScanError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | ErrorInner::ScanError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | self.value.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | Error::BadIdentifier(Some(e)) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | self.value.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/print.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | PrintError::Io(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/scanner/mod.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | Error::BadIdentifier(Some(e)) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:115:47 [INFO] [stdout] | [INFO] [stdout] 115 | ExecError::ArrayError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:116:47 [INFO] [stdout] | [INFO] [stdout] 116 | ExecError::PrintError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/print.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | PrintError::Io(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | let desc = self.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:115:47 [INFO] [stdout] | [INFO] [stdout] 115 | ExecError::ArrayError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/vm/mod.rs:116:47 [INFO] [stdout] | [INFO] [stdout] 116 | ExecError::PrintError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `basic_rs` (bin "basic_rs" test) due to 24 previous errors; 30 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/relooper/tests.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | fn target_reachable_by_break(&self, target: NodeId) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/relooper/tests.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | fn target_reachable_by_continue(&self, target: NodeId) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/relooper/tests.rs:147:41 [INFO] [stdout] | [INFO] [stdout] 147 | fn target_reachable_by_break(&self, target: NodeId) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/relooper/tests.rs:166:41 [INFO] [stdout] | [INFO] [stdout] 166 | fn target_reachable_by_break(&self, target: NodeId) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/relooper/tests.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | fn target_reachable_by_continue(&self, target: NodeId) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `basic_rs` (lib test) due to 24 previous errors; 37 warnings emitted [INFO] running `Command { std: "docker" "inspect" "94801b57829658cbef4d837bae362e482b9fc1b205689b11c59d59ed5c840220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94801b57829658cbef4d837bae362e482b9fc1b205689b11c59d59ed5c840220", kill_on_drop: false }` [INFO] [stdout] 94801b57829658cbef4d837bae362e482b9fc1b205689b11c59d59ed5c840220