[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] testing yiransheng/basic_rs against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiransheng%2Fbasic_rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yiransheng/basic_rs on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing yiransheng/basic_rs against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiransheng%2Fbasic_rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yiransheng/basic_rs on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing yiransheng/basic_rs against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiransheng%2Fbasic_rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yiransheng/basic_rs on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing yiransheng/basic_rs against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiransheng%2Fbasic_rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yiransheng/basic_rs on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing yiransheng/basic_rs against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiransheng%2Fbasic_rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yiransheng/basic_rs on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4be1ba42bd2d4e72c53240cf12883acce3ee48abbfc5f5a44bef4356c7a2ba35 [INFO] running `Command { std: "docker" "start" "-a" "4be1ba42bd2d4e72c53240cf12883acce3ee48abbfc5f5a44bef4356c7a2ba35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4be1ba42bd2d4e72c53240cf12883acce3ee48abbfc5f5a44bef4356c7a2ba35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be1ba42bd2d4e72c53240cf12883acce3ee48abbfc5f5a44bef4356c7a2ba35", kill_on_drop: false }` [INFO] [stdout] 4be1ba42bd2d4e72c53240cf12883acce3ee48abbfc5f5a44bef4356c7a2ba35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b2277c122fba9047b30c39b2b7b491fd715140c91a18099ae5f87b3f2148fe30 [INFO] running `Command { std: "docker" "start" "-a" "b2277c122fba9047b30c39b2b7b491fd715140c91a18099ae5f87b3f2148fe30", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.4.1 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling error-chain v0.5.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling cpuprofiler v0.0.3 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling nanbox v0.2.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling slotmap v0.3.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling quickcheck v0.8.0 [INFO] [stderr] Compiling multimap v0.4.0 [INFO] [stderr] Compiling structopt-derive v0.2.13 [INFO] [stderr] Compiling indoc-impl v0.2.8 [INFO] [stderr] Compiling keyword-token-derive v0.1.0 (/opt/rustwide/workdir/keyword-token-derive) [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)]` 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] Compiling indoc v0.2.8 [INFO] [stderr] Compiling structopt v0.2.13 [INFO] [stderr] Compiling 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)]` 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)]` 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)]` 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> BlockIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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)]` 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)]` 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)]` 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] [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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> BlockIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.12s [INFO] running `Command { std: "docker" "inspect" "b2277c122fba9047b30c39b2b7b491fd715140c91a18099ae5f87b3f2148fe30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2277c122fba9047b30c39b2b7b491fd715140c91a18099ae5f87b3f2148fe30", kill_on_drop: false }` [INFO] [stdout] b2277c122fba9047b30c39b2b7b491fd715140c91a18099ae5f87b3f2148fe30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ba729af935d0b3e188dbe283c62ed6380b3948396b774315f60133126cbe3a43 [INFO] running `Command { std: "docker" "start" "-a" "ba729af935d0b3e188dbe283c62ed6380b3948396b774315f60133126cbe3a43", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling csv-core v0.1.4 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling walkdir v2.2.7 [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)]` 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] Compiling simplelog v0.5.3 [INFO] [stderr] Compiling criterion-plot v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.81 [INFO] [stderr] Compiling itertools-num v0.1.3 [INFO] [stderr] Compiling failure v0.1.3 [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)]` 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)]` 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)]` 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ir/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn iter(&self) -> BlockIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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] [stderr] Compiling criterion-stats v0.2.5 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling csv v1.0.2 [INFO] [stderr] Compiling handlebars v0.32.4 [INFO] [stderr] Compiling criterion v0.2.5 [INFO] [stderr] Compiling basic_rs v0.1.0 (/opt/rustwide/workdir) [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/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/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/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] 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: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: 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] 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/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: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/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/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/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: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/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/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: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/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/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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)]` 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)]` 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: 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)]` 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)]` 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)]` 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/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/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/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: 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] 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)]` 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" "ba729af935d0b3e188dbe283c62ed6380b3948396b774315f60133126cbe3a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba729af935d0b3e188dbe283c62ed6380b3948396b774315f60133126cbe3a43", kill_on_drop: false }` [INFO] [stdout] ba729af935d0b3e188dbe283c62ed6380b3948396b774315f60133126cbe3a43