[INFO] updating cached repository https://github.com/patallen/SlangVM [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7660c5494308d811895b859bbd512253f72ba01d [INFO] testing patallen/SlangVM against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatallen%2FSlangVM" "work/builds/worker-5/source"` [INFO] [stderr] Cloning into 'work/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/patallen/SlangVM on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/patallen/SlangVM already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 29b8d9b2554a393e7b8daebc5268d06f715516f36f158c9a99fb1a2951834148 [INFO] running `"docker" "start" "-a" "29b8d9b2554a393e7b8daebc5268d06f715516f36f158c9a99fb1a2951834148"` [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Compiling humantime v1.0.0 [INFO] [stderr] Compiling itertools v0.6.0 [INFO] [stderr] Compiling ordered-float v0.4.0 [INFO] [stderr] Compiling serde_yaml v0.7.0 [INFO] [stderr] Compiling serde_derive_internals v0.15.0 [INFO] [stderr] Compiling serde-value v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.4 [INFO] [stderr] Compiling flate2 v0.2.19 [INFO] [stderr] Compiling log4rs v0.7.0 [INFO] [stderr] Compiling slang v0.1.0 (/opt/rustwide/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: 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: variant is never constructed: `Ident` [INFO] [stderr] --> src/compiler/lex.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Ident(String), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Number` [INFO] [stderr] --> src/compiler/lex.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Number(f64), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Operator` [INFO] [stderr] --> src/compiler/lex.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Operator(String, u8), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LeftParen` [INFO] [stderr] --> src/compiler/lex.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | LeftParen, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RightParen` [INFO] [stderr] --> src/compiler/lex.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | RightParen, [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] Finished dev [unoptimized + debuginfo] target(s) in 27.13s [INFO] running `"docker" "inspect" "29b8d9b2554a393e7b8daebc5268d06f715516f36f158c9a99fb1a2951834148"` [INFO] running `"docker" "rm" "-f" "29b8d9b2554a393e7b8daebc5268d06f715516f36f158c9a99fb1a2951834148"` [INFO] [stdout] 29b8d9b2554a393e7b8daebc5268d06f715516f36f158c9a99fb1a2951834148 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] a2e7c51118503857899b78c3774f7450bf1c32a9d3121b674f39d1af54d2a57e [INFO] running `"docker" "start" "-a" "a2e7c51118503857899b78c3774f7450bf1c32a9d3121b674f39d1af54d2a57e"` [INFO] [stderr] Compiling slang v0.1.0 (/opt/rustwide/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: 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: variant is never constructed: `Ident` [INFO] [stderr] --> src/compiler/lex.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Ident(String), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Number` [INFO] [stderr] --> src/compiler/lex.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Number(f64), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Operator` [INFO] [stderr] --> src/compiler/lex.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Operator(String, u8), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LeftParen` [INFO] [stderr] --> src/compiler/lex.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | LeftParen, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RightParen` [INFO] [stderr] --> src/compiler/lex.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | RightParen, [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: 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 2.80s [INFO] running `"docker" "inspect" "a2e7c51118503857899b78c3774f7450bf1c32a9d3121b674f39d1af54d2a57e"` [INFO] running `"docker" "rm" "-f" "a2e7c51118503857899b78c3774f7450bf1c32a9d3121b674f39d1af54d2a57e"` [INFO] [stdout] a2e7c51118503857899b78c3774f7450bf1c32a9d3121b674f39d1af54d2a57e [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen"` [INFO] [stdout] 6b71f7c3d423de88dc77c2e556e3167b6d44d5f7ba00f4cd5d43506aa614ecdc [INFO] running `"docker" "start" "-a" "6b71f7c3d423de88dc77c2e556e3167b6d44d5f7ba00f4cd5d43506aa614ecdc"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/slang-990524eef2899959 [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test assembler::test_to_bytes_32 ... ok [INFO] [stdout] test program::test_jump_to ... ok [INFO] [stdout] test assembler::test_new_assembler ... ok [INFO] [stdout] test program::test_load_bytes ... ok [INFO] [stdout] test program::test_next_byte ... ok [INFO] [stdout] test program::test_next_code ... ok [INFO] [stdout] test program::test_next_halfword ... ok [INFO] [stdout] test stack::test_stack_init ... ok [INFO] [stdout] test program::test_reset ... ok [INFO] [stdout] test stack::test_stack_peek ... ok [INFO] [stdout] test stack::test_stack_pull ... ok [INFO] [stdout] test stack::test_stack_push ... ok [INFO] [stdout] test vm::test_fetch_instruction ... ok [INFO] [stdout] test vm::test_swap_instruction ... ok [INFO] [stdout] test vm::test_vm_new ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "6b71f7c3d423de88dc77c2e556e3167b6d44d5f7ba00f4cd5d43506aa614ecdc"` [INFO] running `"docker" "rm" "-f" "6b71f7c3d423de88dc77c2e556e3167b6d44d5f7ba00f4cd5d43506aa614ecdc"` [INFO] [stdout] 6b71f7c3d423de88dc77c2e556e3167b6d44d5f7ba00f4cd5d43506aa614ecdc