[INFO] cloning repository https://github.com/patallen/SlangVM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patallen/SlangVM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatallen%2FSlangVM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatallen%2FSlangVM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7660c5494308d811895b859bbd512253f72ba01d [INFO] checking patallen/SlangVM against master#b286722878e18db29a7fbe672be7c4d3b02e8e4d for pr-127655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatallen%2FSlangVM" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/patallen/SlangVM on toolchain b286722878e18db29a7fbe672be7c4d3b02e8e4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/patallen/SlangVM [INFO] finished tweaking git repo https://github.com/patallen/SlangVM [INFO] tweaked toml for git repo https://github.com/patallen/SlangVM written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/patallen/SlangVM 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" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v0.4.0 [INFO] [stderr] Downloaded gcc v0.3.46 [INFO] [stderr] Downloaded quick-error v1.2.0 [INFO] [stderr] Downloaded serde-value v0.5.0 [INFO] [stderr] Downloaded humantime v1.0.0 [INFO] [stderr] Downloaded chrono v0.3.1 [INFO] [stderr] Downloaded flate2 v0.2.19 [INFO] [stderr] Downloaded log4rs v0.7.0 [INFO] [stderr] Downloaded serde_yaml v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75959983a1e64931a4d52a40d6a619d918da8d1528bfa27dd63ec3f60f4a3f99 [INFO] running `Command { std: "docker" "start" "-a" "75959983a1e64931a4d52a40d6a619d918da8d1528bfa27dd63ec3f60f4a3f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75959983a1e64931a4d52a40d6a619d918da8d1528bfa27dd63ec3f60f4a3f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75959983a1e64931a4d52a40d6a619d918da8d1528bfa27dd63ec3f60f4a3f99", kill_on_drop: false }` [INFO] [stdout] 75959983a1e64931a4d52a40d6a619d918da8d1528bfa27dd63ec3f60f4a3f99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8813e557400eab3bc13b33e9b1f6ee0b85ba4289199ed19660d7df3b93e93dd6 [INFO] running `Command { std: "docker" "start" "-a" "8813e557400eab3bc13b33e9b1f6ee0b85ba4289199ed19660d7df3b93e93dd6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling gcc v0.3.46 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking serde v1.0.4 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking unsafe-any v0.4.1 [INFO] [stderr] Checking dtoa v0.4.1 [INFO] [stderr] Checking linked-hash-map v0.4.2 [INFO] [stderr] Checking num-integer v0.1.34 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.1.0 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Checking ordered-float v0.4.0 [INFO] [stderr] Checking quick-error v1.2.0 [INFO] [stderr] Checking itoa v0.3.1 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking humantime v1.0.0 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking log v0.3.7 [INFO] [stderr] Checking chrono v0.3.1 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking itertools v0.6.0 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Compiling serde_derive_internals v0.15.0 [INFO] [stderr] Checking flate2 v0.2.19 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.4 [INFO] [stderr] Checking serde_yaml v0.7.0 [INFO] [stderr] Checking serde_json v1.0.2 [INFO] [stderr] Checking serde-value v0.5.0 [INFO] [stderr] Checking log4rs v0.7.0 [INFO] [stderr] Checking slang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/lex.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | 'a'...'z' | '_' => tokens.push(consume_ident(&mut chars)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/compiler/lex.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | '0'...'9' => tokens.push(consume_number(&mut chars)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/compiler/lex.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | 'a'...'z' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/compiler/lex.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | '0'...'9' | '.' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembler::lexer::Lexer` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use assembler::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tokenizer` and `shunting_yard` [INFO] [stdout] --> src/main.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | use compiler::lex::{Tokenizer, shunting_yard}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/lex.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | 'a'...'z' | '_' => tokens.push(consume_ident(&mut chars)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/compiler/lex.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | '0'...'9' => tokens.push(consume_number(&mut chars)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/compiler/lex.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | 'a'...'z' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/compiler/lex.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | '0'...'9' | '.' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembler::lexer::Lexer` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use assembler::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tokenizer` and `shunting_yard` [INFO] [stdout] --> src/main.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | use compiler::lex::{Tokenizer, shunting_yard}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/assembler/lexer.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_start_matches(';').trim_left(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/assembler/lexer.rs:72:53 [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_left_matches(';').trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/assembler/lexer.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_start_matches(';').trim_left(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/assembler/lexer.rs:72:53 [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_left_matches(';').trim_start(); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/lex.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Ident(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 8 | Ident(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/lex.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Number(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 9 | Number(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/compiler/lex.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Operator(String, u8), [INFO] [stdout] | -------- ^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 10 | Operator((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shunting_yard` is never used [INFO] [stdout] --> src/compiler/lex.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn shunting_yard(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_line` and `errors` are never read [INFO] [stdout] --> src/assembler/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Assembler { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | current_line: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytecode` is never read [INFO] [stdout] --> src/assembler/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct GlobalSection<'g> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | bytecode: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/assembler/lexer.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Comment(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 47 | Comment(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:38:73 [INFO] [stdout] | [INFO] [stdout] 38 | ')' => {tokens.push(Token::RightParen); chars.take(1).collect::();}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | ')' => {tokens.push(Token::RightParen); let _ = chars.take(1).collect::();}, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:39:72 [INFO] [stdout] | [INFO] [stdout] 39 | '(' => {tokens.push(Token::LeftParen); chars.take(1).collect::();}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | '(' => {tokens.push(Token::LeftParen); let _ = chars.take(1).collect::();}, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | ' ' => { chars.take(1).collect::(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | ' ' => { let _ = chars.take(1).collect::(); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/assembler/lexer.rs:75:73 [INFO] [stdout] | [INFO] [stdout] 75 | Err(format!("{} did not match any tokens during lexing.", string.clone())) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/lex.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | Ident(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 8 | Ident(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/lex.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Number(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 9 | Number(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/compiler/lex.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Operator(String, u8), [INFO] [stdout] | -------- ^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 10 | Operator((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shunting_yard` is never used [INFO] [stdout] --> src/compiler/lex.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn shunting_yard(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytecode` is never read [INFO] [stdout] --> src/assembler/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct GlobalSection<'g> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | bytecode: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/assembler/lexer.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Comment(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] 47 | Comment(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:38:73 [INFO] [stdout] | [INFO] [stdout] 38 | ')' => {tokens.push(Token::RightParen); chars.take(1).collect::();}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | ')' => {tokens.push(Token::RightParen); let _ = chars.take(1).collect::();}, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:39:72 [INFO] [stdout] | [INFO] [stdout] 39 | '(' => {tokens.push(Token::LeftParen); chars.take(1).collect::();}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | '(' => {tokens.push(Token::LeftParen); let _ = chars.take(1).collect::();}, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | ' ' => { chars.take(1).collect::(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | ' ' => { let _ = chars.take(1).collect::(); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/assembler/lexer.rs:75:73 [INFO] [stdout] | [INFO] [stdout] 75 | Err(format!("{} did not match any tokens during lexing.", string.clone())) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8813e557400eab3bc13b33e9b1f6ee0b85ba4289199ed19660d7df3b93e93dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8813e557400eab3bc13b33e9b1f6ee0b85ba4289199ed19660d7df3b93e93dd6", kill_on_drop: false }` [INFO] [stdout] 8813e557400eab3bc13b33e9b1f6ee0b85ba4289199ed19660d7df3b93e93dd6