[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatallen%2FSlangVM" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/patallen/SlangVM on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v3.1.0 [INFO] [stderr] Downloaded unsafe-any v0.4.1 [INFO] [stderr] Downloaded unreachable v0.1.1 [INFO] [stderr] Downloaded ordered-float v0.4.0 [INFO] [stderr] Downloaded fnv v1.0.5 [INFO] [stderr] Downloaded num-integer v0.1.34 [INFO] [stderr] Downloaded num-iter v0.1.33 [INFO] [stderr] Downloaded redox_syscall v0.1.17 [INFO] [stderr] Downloaded quick-error v1.2.0 [INFO] [stderr] Downloaded humantime v1.0.0 [INFO] [stderr] Downloaded time v0.1.37 [INFO] [stderr] Downloaded itertools v0.6.0 [INFO] [stderr] Downloaded num v0.1.37 [INFO] [stderr] Downloaded chrono v0.3.1 [INFO] [stderr] Downloaded crossbeam v0.2.10 [INFO] [stderr] Downloaded miniz-sys v0.1.9 [INFO] [stderr] Downloaded flate2 v0.2.19 [INFO] [stderr] Downloaded dtoa v0.4.1 [INFO] [stderr] Downloaded itoa v0.3.1 [INFO] [stderr] Downloaded serde_json v1.0.2 [INFO] [stderr] Downloaded serde v1.0.4 [INFO] [stderr] Downloaded libc v0.2.22 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded gcc v0.3.46 [INFO] [stderr] Downloaded num-traits v0.1.37 [INFO] [stderr] Downloaded log v0.3.7 [INFO] [stderr] Downloaded serde_derive_internals v0.15.0 [INFO] [stderr] Downloaded serde_derive v1.0.4 [INFO] [stderr] Downloaded log4rs v0.7.0 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded thread_local v0.3.3 [INFO] [stderr] Downloaded serde-value v0.5.0 [INFO] [stderr] Downloaded serde_yaml v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b66334f74e15d6272d4e2b6b5055ded2bcc4a8a6a68d0614b1ccf41e96778cdf [INFO] running `Command { std: "docker" "start" "-a" "b66334f74e15d6272d4e2b6b5055ded2bcc4a8a6a68d0614b1ccf41e96778cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b66334f74e15d6272d4e2b6b5055ded2bcc4a8a6a68d0614b1ccf41e96778cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b66334f74e15d6272d4e2b6b5055ded2bcc4a8a6a68d0614b1ccf41e96778cdf", kill_on_drop: false }` [INFO] [stdout] b66334f74e15d6272d4e2b6b5055ded2bcc4a8a6a68d0614b1ccf41e96778cdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 781df91b6811a8e6436b57929348ab492fe1f4b5281706a946cbca06b13e5b17 [INFO] running `Command { std: "docker" "start" "-a" "781df91b6811a8e6436b57929348ab492fe1f4b5281706a946cbca06b13e5b17", kill_on_drop: false }` [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] Checking serde v1.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking unsafe-any v0.4.1 [INFO] [stderr] Checking linked-hash-map v0.4.2 [INFO] [stderr] Checking quick-error v1.2.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking num-integer v0.1.34 [INFO] [stderr] Checking ordered-float v0.4.0 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking thread-id v3.1.0 [INFO] [stderr] Checking itoa v0.3.1 [INFO] [stderr] Checking dtoa v0.4.1 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking humantime v1.0.0 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking chrono v0.3.1 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Checking log v0.3.7 [INFO] [stderr] Checking regex-syntax v0.4.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 regex v0.2.1 [INFO] [stderr] Checking flate2 v0.2.19 [INFO] [stderr] Compiling serde_derive v1.0.4 [INFO] [stderr] Checking serde_yaml v0.7.0 [INFO] [stderr] Checking serde-value v0.5.0 [INFO] [stderr] Checking serde_json v1.0.2 [INFO] [stderr] Checking log4rs v0.7.0 [INFO] [stderr] Checking slang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/vm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/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] [INFO] [stdout] warning: unused imports: `Tokenizer`, `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: the item `std` is imported redundantly [INFO] [stdout] --> src/vm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/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: 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: `...` 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: 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: `...` 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] [INFO] [stdout] warning: unused imports: `Tokenizer`, `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: 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 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: enum `Token` is never used [INFO] [stdout] --> src/compiler/lex.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Token { [INFO] [stdout] | ^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: enum `ConsumeType` is never used [INFO] [stdout] --> src/compiler/lex.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum ConsumeType { Ident, Number } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tokenizer` is never constructed [INFO] [stdout] --> src/compiler/lex.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Tokenizer<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `tokenize` are never used [INFO] [stdout] --> src/compiler/lex.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> Tokenizer<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(input: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn tokenize(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_ident` is never used [INFO] [stdout] --> src/compiler/lex.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn consume_ident(peekable: &mut Peekable) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_number` is never used [INFO] [stdout] --> src/compiler/lex.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn consume_number(peekable: &mut Peekable) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_token_char` is never used [INFO] [stdout] --> src/compiler/lex.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn valid_token_char(ch: &char, tt: ConsumeType) -> bool { [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] 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: methods `next_code` and `reset` are never used [INFO] [stdout] --> src/program.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Program { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn next_code(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: enum `Token` is never used [INFO] [stdout] --> src/compiler/lex.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Token { [INFO] [stdout] | ^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: enum `ConsumeType` is never used [INFO] [stdout] --> src/compiler/lex.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum ConsumeType { Ident, Number } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tokenizer` is never constructed [INFO] [stdout] --> src/compiler/lex.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Tokenizer<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `tokenize` are never used [INFO] [stdout] --> src/compiler/lex.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> Tokenizer<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(input: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn tokenize(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_ident` is never used [INFO] [stdout] --> src/compiler/lex.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn consume_ident(peekable: &mut Peekable) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_number` is never used [INFO] [stdout] --> src/compiler/lex.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn consume_number(peekable: &mut Peekable) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_token_char` is never used [INFO] [stdout] --> src/compiler/lex.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn valid_token_char(ch: &char, tt: ConsumeType) -> bool { [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] 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: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: 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: 41 warnings emitted [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: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.22s [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" "781df91b6811a8e6436b57929348ab492fe1f4b5281706a946cbca06b13e5b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "781df91b6811a8e6436b57929348ab492fe1f4b5281706a946cbca06b13e5b17", kill_on_drop: false }` [INFO] [stdout] 781df91b6811a8e6436b57929348ab492fe1f4b5281706a946cbca06b13e5b17