[INFO] cloning repository https://github.com/yiransheng/basic_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yiransheng/basic_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiransheng%2Fbasic_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiransheng%2Fbasic_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddd64e2eacfc2b36354e32e2b6abdb97989bd3a2 [INFO] checking yiransheng/basic_rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiransheng%2Fbasic_rs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yiransheng/basic_rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-14/source/Cargo.toml [INFO] crate git repo https://github.com/yiransheng/basic_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nanbox v0.2.0 [INFO] [stderr] Downloaded indoc v0.2.8 [INFO] [stderr] Downloaded indoc-impl v0.2.8 [INFO] [stderr] Downloaded quickcheck v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 054e5f6d66a83bf1d5ec4630609efbc6a1417e21845481236c74b68805ec1679 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "054e5f6d66a83bf1d5ec4630609efbc6a1417e21845481236c74b68805ec1679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "054e5f6d66a83bf1d5ec4630609efbc6a1417e21845481236c74b68805ec1679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "054e5f6d66a83bf1d5ec4630609efbc6a1417e21845481236c74b68805ec1679", kill_on_drop: false }` [INFO] [stdout] 054e5f6d66a83bf1d5ec4630609efbc6a1417e21845481236c74b68805ec1679 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bf3f06c2a910a7eb9152c96e46c39a8fc6fb7708ba883e01da3d3c2d3fb1f61 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7bf3f06c2a910a7eb9152c96e46c39a8fc6fb7708ba883e01da3d3c2d3fb1f61", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v0.15.22 (as host dependency): extra-traits, visit [INFO] [stderr] [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.1 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking slotmap v0.3.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Compiling proc-macro-hack v0.4.1 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking nanbox v0.2.0 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking criterion-plot v0.2.5 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking itertools-num v0.1.3 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking criterion-stats v0.2.5 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Checking error-chain v0.5.0 [INFO] [stderr] Checking cpuprofiler v0.0.3 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking quickcheck v0.8.0 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking csv v1.0.2 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling multimap v0.4.0 [INFO] [stderr] Checking handlebars v0.32.4 [INFO] [stderr] Compiling indoc-impl v0.2.8 [INFO] [stderr] Compiling structopt-derive v0.2.13 [INFO] [stderr] Compiling keyword-token-derive v0.1.0 (/tmp/fixit/keyword-token-derive) [INFO] [stderr] Compiling serde_derive v1.0.81 [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] Checking indoc v0.2.8 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Checking structopt v0.2.13 [INFO] [stderr] Checking basic_rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking criterion v0.2.5 [INFO] [stderr] Fixed src/scanner/number.rs (3 fixes) [INFO] [stderr] Fixed src/relooper/mod.rs (1 fix) [INFO] [stderr] Fixed src/ast/variable.rs (7 fixes) [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: `#[warn(unused_attributes)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: associated function is never used: `line_predecessors` [INFO] [stdout] --> src/compile/control_flow_context.rs:255:12 [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: associated function is never used: `reset` [INFO] [stdout] --> src/vm/data.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SimpleFused` [INFO] [stdout] --> src/relooper/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | SimpleFused(SimpleShape, MultiShape), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fuse` [INFO] [stdout] --> src/relooper/mod.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn fuse(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fuse_simple` [INFO] [stdout] --> src/relooper/mod.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn fuse_simple(&mut self) { [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating benches/pi_sim.rs from 2018 edition to 2021 [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/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/compile/non_loop.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 348 | | " [INFO] [stdout] 349 | | 10 LET X = 1 [INFO] [stdout] 350 | | 20 GOSUB 70 [INFO] [stdout] ... | [INFO] [stdout] 354 | | 99 RETURN" [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 325 | | " [INFO] [stdout] 326 | | 10 REM Comment [INFO] [stdout] 327 | | 20 GOTO 40 [INFO] [stdout] 328 | | 30 PRINT \"Ok\" [INFO] [stdout] 329 | | 40 GOTO 30" [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 302 | | " [INFO] [stdout] 303 | | 10 REM Comment [INFO] [stdout] 304 | | 20 IF X = 10 THEN 99 [INFO] [stdout] 305 | | 30 PRINT \"Ok\" [INFO] [stdout] 306 | | 99 END" [INFO] [stdout] 307 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 279 | | " [INFO] [stdout] 280 | | 10 REM Comment [INFO] [stdout] 281 | | 20 LET X = 10 [INFO] [stdout] 282 | | 30 LET Y = X + 1 [INFO] [stdout] 283 | | 99 END" [INFO] [stdout] 284 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/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: 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: `#[warn(unused_attributes)]` on by default [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] [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: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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] error: aborting due to 24 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `basic_rs` due to 25 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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: `#[warn(unused_attributes)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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] 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/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/compile/non_loop.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 348 | | " [INFO] [stdout] 349 | | 10 LET X = 1 [INFO] [stdout] 350 | | 20 GOSUB 70 [INFO] [stdout] ... | [INFO] [stdout] 354 | | 99 RETURN" [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 325 | | " [INFO] [stdout] 326 | | 10 REM Comment [INFO] [stdout] 327 | | 20 GOTO 40 [INFO] [stdout] 328 | | 30 PRINT \"Ok\" [INFO] [stdout] 329 | | 40 GOTO 30" [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 302 | | " [INFO] [stdout] 303 | | 10 REM Comment [INFO] [stdout] 304 | | 20 IF X = 10 THEN 99 [INFO] [stdout] 305 | | 30 PRINT \"Ok\" [INFO] [stdout] 306 | | 99 END" [INFO] [stdout] 307 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/compile/non_loop.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | let program = indoc!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 279 | | " [INFO] [stdout] 280 | | 10 REM Comment [INFO] [stdout] 281 | | 20 LET X = 10 [INFO] [stdout] 282 | | 30 LET Y = X + 1 [INFO] [stdout] 283 | | 99 END" [INFO] [stdout] 284 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `indoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: `#[warn(unused_attributes)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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: associated function is never used: `line_predecessors` [INFO] [stdout] --> src/compile/control_flow_context.rs:255:12 [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: associated function is never used: `reset` [INFO] [stdout] --> src/vm/data.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ValueError` [INFO] [stdout] --> src/vm/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | ValueError(&'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/vm/mod.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/vm/mod.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn run( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed benches/pi_sim.rs (10 fixes) [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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: variable `local_6` is assigned to, but never used [INFO] [stdout] --> benches/pi_sim.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut local_6: f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_local_6` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_1` is never read [INFO] [stdout] --> benches/pi_sim.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | local_1 = 0f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_2` is never read [INFO] [stdout] --> benches/pi_sim.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | local_2 = 0f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_3` is never read [INFO] [stdout] --> benches/pi_sim.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | local_3 = 0f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_4` is never read [INFO] [stdout] --> benches/pi_sim.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | local_4 = 0f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_5` is never read [INFO] [stdout] --> benches/pi_sim.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | local_5 = 0f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_6` is never read [INFO] [stdout] --> benches/pi_sim.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | local_6 = 0f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_7` is never read [INFO] [stdout] --> benches/pi_sim.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | local_7 = 0f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `local_6` is never read [INFO] [stdout] --> benches/pi_sim.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | local_6 = (4f64 * local_3) / local_2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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] error: aborting due to 24 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7bf3f06c2a910a7eb9152c96e46c39a8fc6fb7708ba883e01da3d3c2d3fb1f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf3f06c2a910a7eb9152c96e46c39a8fc6fb7708ba883e01da3d3c2d3fb1f61", kill_on_drop: false }` [INFO] [stdout] 7bf3f06c2a910a7eb9152c96e46c39a8fc6fb7708ba883e01da3d3c2d3fb1f61