[INFO] updating cached repository patallen/SlangVM [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/patallen/SlangVM [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/patallen/SlangVM" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/patallen/SlangVM"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/patallen/SlangVM'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/patallen/SlangVM" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/patallen/SlangVM"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/patallen/SlangVM'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7660c5494308d811895b859bbd512253f72ba01d [INFO] sha for GitHub repo patallen/SlangVM: 7660c5494308d811895b859bbd512253f72ba01d [INFO] validating manifest of patallen/SlangVM on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of patallen/SlangVM on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing patallen/SlangVM [INFO] finished frobbing patallen/SlangVM [INFO] frobbed toml for patallen/SlangVM written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/patallen/SlangVM/Cargo.toml [INFO] started frobbing patallen/SlangVM [INFO] finished frobbing patallen/SlangVM [INFO] frobbed toml for patallen/SlangVM written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/patallen/SlangVM/Cargo.toml [INFO] crate patallen/SlangVM already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking patallen/SlangVM against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-3/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/patallen/SlangVM:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 9a7e9769cc0ff3b9de60d06e285d09e6795b796be8d3e79d12165172e3918521 [INFO] running `"docker" "start" "-a" "9a7e9769cc0ff3b9de60d06e285d09e6795b796be8d3e79d12165172e3918521"` [INFO] [stderr] Checking serde v1.0.4 [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking thread-id v3.1.0 [INFO] [stderr] Checking humantime v1.0.0 [INFO] [stderr] Checking ordered-float v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.4 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking flate2 v0.2.19 [INFO] [stderr] Checking serde-value v0.5.0 [INFO] [stderr] Checking serde_json v1.0.2 [INFO] [stderr] Checking serde_yaml v0.7.0 [INFO] [stderr] Checking log4rs v0.7.0 [INFO] [stderr] Checking slang v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/compiler/lex.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | 'a'...'z' | '_' => tokens.push(consume_ident(&mut chars)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/compiler/lex.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | '0'...'9' => tokens.push(consume_number(&mut chars)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/compiler/lex.rs:61:16 [INFO] [stderr] | [INFO] [stderr] 61 | 'a'...'z' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/compiler/lex.rs:65:16 [INFO] [stderr] | [INFO] [stderr] 65 | '0'...'9' | '.' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: unused import: `assembler::lexer::Lexer` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use assembler::lexer::Lexer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Tokenizer`, `shunting_yard` [INFO] [stderr] --> src/main.rs:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | use compiler::lex::{Tokenizer, shunting_yard}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/compiler/lex.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | 'a'...'z' | '_' => tokens.push(consume_ident(&mut chars)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/compiler/lex.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | '0'...'9' => tokens.push(consume_number(&mut chars)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/compiler/lex.rs:61:16 [INFO] [stderr] | [INFO] [stderr] 61 | 'a'...'z' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/compiler/lex.rs:65:16 [INFO] [stderr] | [INFO] [stderr] 65 | '0'...'9' | '.' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: unused import: `assembler::lexer::Lexer` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use assembler::lexer::Lexer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Tokenizer`, `shunting_yard` [INFO] [stderr] --> src/main.rs:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | use compiler::lex::{Tokenizer, shunting_yard}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/assembler/lexer.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stderr] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stderr] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/assembler/lexer.rs:72:30 [INFO] [stderr] | [INFO] [stderr] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left': superseded by `trim_start` [INFO] [stderr] --> src/assembler/lexer.rs:72:53 [INFO] [stderr] | [INFO] [stderr] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated item: `trim_start` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/assembler/lexer.rs:72:30 [INFO] [stderr] | [INFO] [stderr] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left': superseded by `trim_start` [INFO] [stderr] --> src/assembler/lexer.rs:72:53 [INFO] [stderr] | [INFO] [stderr] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated item: `trim_start` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `next_code` [INFO] [stderr] --> src/program.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn next_code(&mut self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `reset` [INFO] [stderr] --> src/program.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn reset(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Token` [INFO] [stderr] --> src/compiler/lex.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum Token { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `ConsumeType` [INFO] [stderr] --> src/compiler/lex.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | enum ConsumeType { Ident, Number } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Tokenizer` [INFO] [stderr] --> src/compiler/lex.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Tokenizer<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/compiler/lex.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new(input: &'a str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `tokenize` [INFO] [stderr] --> src/compiler/lex.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn tokenize(&mut self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `consume_ident` [INFO] [stderr] --> src/compiler/lex.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | fn consume_ident(peekable: &mut Peekable) -> Token { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `consume_number` [INFO] [stderr] --> src/compiler/lex.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | fn consume_number(peekable: &mut Peekable) -> Token { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `valid_token_char` [INFO] [stderr] --> src/compiler/lex.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | fn valid_token_char(ch: &char, tt: ConsumeType) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `shunting_yard` [INFO] [stderr] --> src/compiler/lex.rs:71:1 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn shunting_yard(tokens: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `current_line` [INFO] [stderr] --> src/assembler/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | current_line: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `errors` [INFO] [stderr] --> src/assembler/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | errors: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/compiler/lex.rs:38:73 [INFO] [stderr] | [INFO] [stderr] 38 | ')' => {tokens.push(Token::RightParen); chars.take(1).collect::();}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/compiler/lex.rs:39:72 [INFO] [stderr] | [INFO] [stderr] 39 | '(' => {tokens.push(Token::LeftParen); chars.take(1).collect::();}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/compiler/lex.rs:40:42 [INFO] [stderr] | [INFO] [stderr] 40 | ' ' => { chars.take(1).collect::(); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Token` [INFO] [stderr] --> src/compiler/lex.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum Token { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `ConsumeType` [INFO] [stderr] --> src/compiler/lex.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | enum ConsumeType { Ident, Number } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Tokenizer` [INFO] [stderr] --> src/compiler/lex.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Tokenizer<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/compiler/lex.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new(input: &'a str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `tokenize` [INFO] [stderr] --> src/compiler/lex.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn tokenize(&mut self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `consume_ident` [INFO] [stderr] --> src/compiler/lex.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | fn consume_ident(peekable: &mut Peekable) -> Token { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `consume_number` [INFO] [stderr] --> src/compiler/lex.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | fn consume_number(peekable: &mut Peekable) -> Token { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `valid_token_char` [INFO] [stderr] --> src/compiler/lex.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | fn valid_token_char(ch: &char, tt: ConsumeType) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `shunting_yard` [INFO] [stderr] --> src/compiler/lex.rs:71:1 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn shunting_yard(tokens: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/compiler/lex.rs:38:73 [INFO] [stderr] | [INFO] [stderr] 38 | ')' => {tokens.push(Token::RightParen); chars.take(1).collect::();}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/compiler/lex.rs:39:72 [INFO] [stderr] | [INFO] [stderr] 39 | '(' => {tokens.push(Token::LeftParen); chars.take(1).collect::();}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/compiler/lex.rs:40:42 [INFO] [stderr] | [INFO] [stderr] 40 | ' ' => { chars.take(1).collect::(); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.37s [INFO] running `"docker" "inspect" "9a7e9769cc0ff3b9de60d06e285d09e6795b796be8d3e79d12165172e3918521"` [INFO] running `"docker" "rm" "-f" "9a7e9769cc0ff3b9de60d06e285d09e6795b796be8d3e79d12165172e3918521"` [INFO] [stdout] 9a7e9769cc0ff3b9de60d06e285d09e6795b796be8d3e79d12165172e3918521