[INFO] cloning repository https://github.com/patallen/SlangVM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patallen/SlangVM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatallen%2FSlangVM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatallen%2FSlangVM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7660c5494308d811895b859bbd512253f72ba01d [INFO] testing patallen/SlangVM against try#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatallen%2FSlangVM" "/workspace/builds/worker-108/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/patallen/SlangVM on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/patallen/SlangVM [INFO] finished tweaking git repo https://github.com/patallen/SlangVM [INFO] tweaked toml for git repo https://github.com/patallen/SlangVM written to /workspace/builds/worker-108/source/Cargo.toml [INFO] crate git repo https://github.com/patallen/SlangVM already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce13d1856fd4366a1e699aee71b24ce9966d540b5bedeb181bf5397ab899c82a [INFO] running `Command { std: "docker" "start" "-a" "ce13d1856fd4366a1e699aee71b24ce9966d540b5bedeb181bf5397ab899c82a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce13d1856fd4366a1e699aee71b24ce9966d540b5bedeb181bf5397ab899c82a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce13d1856fd4366a1e699aee71b24ce9966d540b5bedeb181bf5397ab899c82a", kill_on_drop: false }` [INFO] [stdout] ce13d1856fd4366a1e699aee71b24ce9966d540b5bedeb181bf5397ab899c82a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0166080738ab46a18388f27515cb399880733f8846e7f6338f6d9ae1ba2a5fa3 [INFO] running `Command { std: "docker" "start" "-a" "0166080738ab46a18388f27515cb399880733f8846e7f6338f6d9ae1ba2a5fa3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling gcc v0.3.46 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling serde v1.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.0 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling unsafe-any v0.4.1 [INFO] [stderr] Compiling humantime v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling itertools v0.6.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling thread-id v3.1.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling ordered-float v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling chrono v0.3.1 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.2 [INFO] [stderr] Compiling serde_yaml v0.7.0 [INFO] [stderr] Compiling serde-value v0.5.0 [INFO] [stderr] Compiling serde_derive_internals v0.15.0 [INFO] [stderr] Compiling flate2 v0.2.19 [INFO] [stderr] Compiling serde_derive v1.0.4 [INFO] [stderr] Compiling log4rs v0.7.0 [INFO] [stderr] Compiling slang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/lex.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | 'a'...'z' | '_' => tokens.push(consume_ident(&mut chars)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/lex.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | '0'...'9' => tokens.push(consume_number(&mut chars)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/lex.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | 'a'...'z' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/lex.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | '0'...'9' | '.' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembler::lexer::Lexer` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use assembler::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tokenizer`, `shunting_yard` [INFO] [stdout] --> src/main.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | use compiler::lex::{Tokenizer, shunting_yard}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/assembler/lexer.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/assembler/lexer.rs:72:53 [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_code` [INFO] [stdout] --> src/program.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn next_code(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/program.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ident` [INFO] [stdout] --> src/compiler/lex.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Ident(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler/lex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/compiler/lex.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Number(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler/lex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Operator` [INFO] [stdout] --> src/compiler/lex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Operator(String, u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler/lex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftParen` [INFO] [stdout] --> src/compiler/lex.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | LeftParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler/lex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RightParen` [INFO] [stdout] --> src/compiler/lex.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | RightParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler/lex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ConsumeType` [INFO] [stdout] --> src/compiler/lex.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum ConsumeType { Ident, Number } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Tokenizer` [INFO] [stdout] --> src/compiler/lex.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Tokenizer<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/lex.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(input: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tokenize` [INFO] [stdout] --> src/compiler/lex.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn tokenize(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_ident` [INFO] [stdout] --> src/compiler/lex.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn consume_ident(peekable: &mut Peekable) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_number` [INFO] [stdout] --> src/compiler/lex.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn consume_number(peekable: &mut Peekable) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `valid_token_char` [INFO] [stdout] --> src/compiler/lex.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn valid_token_char(ch: &char, tt: ConsumeType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shunting_yard` [INFO] [stdout] --> src/compiler/lex.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn shunting_yard(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_line` [INFO] [stdout] --> src/assembler/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | current_line: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `errors` [INFO] [stdout] --> src/assembler/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | errors: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytecode` [INFO] [stdout] --> src/assembler/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | bytecode: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GlobalSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/assembler/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:38:73 [INFO] [stdout] | [INFO] [stdout] 38 | ')' => {tokens.push(Token::RightParen); chars.take(1).collect::();}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:39:72 [INFO] [stdout] | [INFO] [stdout] 39 | '(' => {tokens.push(Token::LeftParen); chars.take(1).collect::();}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | ' ' => { chars.take(1).collect::(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.39s [INFO] running `Command { std: "docker" "inspect" "0166080738ab46a18388f27515cb399880733f8846e7f6338f6d9ae1ba2a5fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0166080738ab46a18388f27515cb399880733f8846e7f6338f6d9ae1ba2a5fa3", kill_on_drop: false }` [INFO] [stdout] 0166080738ab46a18388f27515cb399880733f8846e7f6338f6d9ae1ba2a5fa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69b9cf57245ed480a50da3087c1c8a3099c8e5d8aac0626070988dcf9c68dcb3 [INFO] running `Command { std: "docker" "start" "-a" "69b9cf57245ed480a50da3087c1c8a3099c8e5d8aac0626070988dcf9c68dcb3", kill_on_drop: false }` [INFO] [stderr] Compiling slang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/lex.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | 'a'...'z' | '_' => tokens.push(consume_ident(&mut chars)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/lex.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | '0'...'9' => tokens.push(consume_number(&mut chars)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/lex.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | 'a'...'z' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/compiler/lex.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | '0'...'9' | '.' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembler::lexer::Lexer` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use assembler::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tokenizer`, `shunting_yard` [INFO] [stdout] --> src/main.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | use compiler::lex::{Tokenizer, shunting_yard}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/assembler/lexer.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref REGEX_DIRECTIVE: Regex = Regex::new(r"^@([a-zA-Z]+$)").unwrap(); [INFO] [stdout] 5 | | static ref REGEX_GLABEL: Regex = Regex::new(r"^\.\w+:$").unwrap(); [INFO] [stdout] 6 | | static ref REGEX_LLABEL: Regex = Regex::new(r"^'\w+:$").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 12 | | static ref REGEX_COMMENT: Regex = Regex::new(r"^;.+").unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/assembler/lexer.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/assembler/lexer.rs:72:53 [INFO] [stdout] | [INFO] [stdout] 72 | let ret = string.trim_left_matches(';').trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ident` [INFO] [stdout] --> src/compiler/lex.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Ident(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler/lex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/compiler/lex.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Number(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler/lex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Operator` [INFO] [stdout] --> src/compiler/lex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Operator(String, u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler/lex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftParen` [INFO] [stdout] --> src/compiler/lex.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | LeftParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler/lex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RightParen` [INFO] [stdout] --> src/compiler/lex.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | RightParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler/lex.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ConsumeType` [INFO] [stdout] --> src/compiler/lex.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum ConsumeType { Ident, Number } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Tokenizer` [INFO] [stdout] --> src/compiler/lex.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Tokenizer<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/lex.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(input: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tokenize` [INFO] [stdout] --> src/compiler/lex.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn tokenize(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_ident` [INFO] [stdout] --> src/compiler/lex.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn consume_ident(peekable: &mut Peekable) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_number` [INFO] [stdout] --> src/compiler/lex.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn consume_number(peekable: &mut Peekable) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `valid_token_char` [INFO] [stdout] --> src/compiler/lex.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn valid_token_char(ch: &char, tt: ConsumeType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shunting_yard` [INFO] [stdout] --> src/compiler/lex.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn shunting_yard(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytecode` [INFO] [stdout] --> src/assembler/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | bytecode: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GlobalSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/assembler/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:38:73 [INFO] [stdout] | [INFO] [stdout] 38 | ')' => {tokens.push(Token::RightParen); chars.take(1).collect::();}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:39:72 [INFO] [stdout] | [INFO] [stdout] 39 | '(' => {tokens.push(Token::LeftParen); chars.take(1).collect::();}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/compiler/lex.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | ' ' => { chars.take(1).collect::(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 21.83s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/slang-5676fe00f501b35b) [INFO] running `Command { std: "docker" "inspect" "69b9cf57245ed480a50da3087c1c8a3099c8e5d8aac0626070988dcf9c68dcb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b9cf57245ed480a50da3087c1c8a3099c8e5d8aac0626070988dcf9c68dcb3", kill_on_drop: false }` [INFO] [stdout] 69b9cf57245ed480a50da3087c1c8a3099c8e5d8aac0626070988dcf9c68dcb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf7b3ec6f92d2da0879c74bebee769e5231d68f342f9017b4f3c78346bc420ad [INFO] running `Command { std: "docker" "start" "-a" "cf7b3ec6f92d2da0879c74bebee769e5231d68f342f9017b4f3c78346bc420ad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "cf7b3ec6f92d2da0879c74bebee769e5231d68f342f9017b4f3c78346bc420ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7b3ec6f92d2da0879c74bebee769e5231d68f342f9017b4f3c78346bc420ad", kill_on_drop: false }` [INFO] [stdout] cf7b3ec6f92d2da0879c74bebee769e5231d68f342f9017b4f3c78346bc420ad