[INFO] cloning repository https://github.com/dotjpg3141/simple_lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dotjpg3141/simple_lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotjpg3141%2Fsimple_lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotjpg3141%2Fsimple_lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfae46d61aaab41cf530750af2c332cf297a86fb [INFO] testing dotjpg3141/simple_lang against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotjpg3141%2Fsimple_lang" "/workspace/builds/worker-45/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-45/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dotjpg3141/simple_lang on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dotjpg3141/simple_lang [INFO] finished tweaking git repo https://github.com/dotjpg3141/simple_lang [INFO] tweaked toml for git repo https://github.com/dotjpg3141/simple_lang written to /workspace/builds/worker-45/source/Cargo.toml [INFO] crate git repo https://github.com/dotjpg3141/simple_lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3a3be34a9d0c478d6de81d2235eb3818a6d10d15d784a09960d09221995c075 [INFO] running `Command { std: "docker" "start" "-a" "c3a3be34a9d0c478d6de81d2235eb3818a6d10d15d784a09960d09221995c075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3a3be34a9d0c478d6de81d2235eb3818a6d10d15d784a09960d09221995c075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3a3be34a9d0c478d6de81d2235eb3818a6d10d15d784a09960d09221995c075", kill_on_drop: false }` [INFO] [stdout] c3a3be34a9d0c478d6de81d2235eb3818a6d10d15d784a09960d09221995c075 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bf71a090ff3570b2cc9c47370762cc3187f49f513af497188d2c5329385235e [INFO] running `Command { std: "docker" "start" "-a" "5bf71a090ff3570b2cc9c47370762cc3187f49f513af497188d2c5329385235e", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling simple_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/simplelang/lexer.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | ('0' <= c && c <= '9') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 184 - ('0' <= c && c <= '9') [INFO] [stdout] 184 + '0' <= c && c <= '9' [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] 8 | | [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] 8 | | [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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: field is never read: `start` [INFO] [stdout] --> src/simplelang/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | start: TextPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/simplelang/mod.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[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: field is never read: `end` [INFO] [stdout] --> src/simplelang/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | end: TextPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/simplelang/mod.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[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: field is never read: `message` [INFO] [stdout] --> src/simplelang/mod.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/simplelang/mod.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[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: associated function is never used: `at_range` [INFO] [stdout] --> src/simplelang/mod.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn at_range(start: TextPosition, end: TextPosition, message: String) -> SyntaxResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_slice` [INFO] [stdout] --> src/simplelang/indexed_slice.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from_slice(slice: &'a [T]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.70s [INFO] running `Command { std: "docker" "inspect" "5bf71a090ff3570b2cc9c47370762cc3187f49f513af497188d2c5329385235e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bf71a090ff3570b2cc9c47370762cc3187f49f513af497188d2c5329385235e", kill_on_drop: false }` [INFO] [stdout] 5bf71a090ff3570b2cc9c47370762cc3187f49f513af497188d2c5329385235e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 579280f511bd3073f3a2929a6c783356cb8457af5536dae0fc5bc270ab778776 [INFO] running `Command { std: "docker" "start" "-a" "579280f511bd3073f3a2929a6c783356cb8457af5536dae0fc5bc270ab778776", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling simple_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/simplelang/lexer.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | ('0' <= c && c <= '9') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 184 - ('0' <= c && c <= '9') [INFO] [stdout] 184 + '0' <= c && c <= '9' [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] 8 | | [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] 8 | | [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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: field is never read: `start` [INFO] [stdout] --> src/simplelang/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | start: TextPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/simplelang/mod.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[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: field is never read: `end` [INFO] [stdout] --> src/simplelang/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | end: TextPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/simplelang/mod.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[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: field is never read: `message` [INFO] [stdout] --> src/simplelang/mod.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/simplelang/mod.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[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: associated function is never used: `at_range` [INFO] [stdout] --> src/simplelang/mod.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn at_range(start: TextPosition, end: TextPosition, message: String) -> SyntaxResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "579280f511bd3073f3a2929a6c783356cb8457af5536dae0fc5bc270ab778776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "579280f511bd3073f3a2929a6c783356cb8457af5536dae0fc5bc270ab778776", kill_on_drop: false }` [INFO] [stdout] 579280f511bd3073f3a2929a6c783356cb8457af5536dae0fc5bc270ab778776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d47e129f0bd7b9575c4a472dbd289f23b9d6b255a7d01beefcbc92d07fef817d [INFO] running `Command { std: "docker" "start" "-a" "d47e129f0bd7b9575c4a472dbd289f23b9d6b255a7d01beefcbc92d07fef817d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/simplelang/lexer.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | ('0' <= c && c <= '9') [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 184 - ('0' <= c && c <= '9') [INFO] [stderr] 184 + '0' <= c && c <= '9' [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/simplelang/lexer.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / lazy_static! { [INFO] [stderr] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stderr] 12 | | map! { [INFO] [stderr] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stderr] 14 | | } [INFO] [stderr] 15 | | }; [INFO] [stderr] 16 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/simplelang/lexer.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / lazy_static! { [INFO] [stderr] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stderr] 12 | | map! { [INFO] [stderr] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stderr] 14 | | } [INFO] [stderr] 15 | | }; [INFO] [stderr] 16 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/simplelang/parser.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | static ref OPERATORS: HashMap = { [INFO] [stderr] 7 | | let mut map = HashMap::new(); [INFO] [stderr] 8 | | [INFO] [stderr] ... | [INFO] [stderr] 22 | | }; [INFO] [stderr] 23 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `start` [INFO] [stderr] --> src/simplelang/mod.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | start: TextPosition, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/simplelang/mod.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end` [INFO] [stderr] --> src/simplelang/mod.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | end: TextPosition, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/simplelang/mod.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `message` [INFO] [stderr] --> src/simplelang/mod.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | message: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/simplelang/mod.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `at_range` [INFO] [stderr] --> src/simplelang/mod.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 89 | fn at_range(start: TextPosition, end: TextPosition, message: String) -> SyntaxResult { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `simple_lang` (bin "simple_lang" test) generated 10 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/simple_lang-23d8519e898f1382) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test tests::indexed_slice::basic_slice ... ok [INFO] [stdout] test tests::indexed_slice::slice_first ... ok [INFO] [stdout] test tests::indexed_slice::slice_pop_first ... ok [INFO] [stdout] test tests::indexed_slice::slice_range ... ok [INFO] [stdout] test tests::indexed_slice::slice_range_from ... ok [INFO] [stdout] test tests::indexed_slice::slice_range_full ... ok [INFO] [stdout] test tests::indexed_slice::slice_range_to ... ok [INFO] [stdout] test tests::lexer::empty ... ok [INFO] [stdout] test tests::lexer::op_tokens ... ok [INFO] [stdout] test tests::lexer::tokens ... ok [INFO] [stdout] test tests::lexer::whitespace ... ok [INFO] [stdout] test tests::parser::expr_binary ... ok [INFO] [stdout] test tests::parser::expr_binary_associativity ... ok [INFO] [stdout] test tests::parser::expr_integer ... ok [INFO] [stdout] test tests::parser::expr_binary_precendence ... ok [INFO] [stdout] test tests::parser::expr_parenthesis ... ok [INFO] [stdout] test tests::parser::expr_unary_postfix ... ok [INFO] [stdout] test tests::parser::expr_string ... ok [INFO] [stdout] test tests::parser::expr_unary_prefix ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d47e129f0bd7b9575c4a472dbd289f23b9d6b255a7d01beefcbc92d07fef817d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47e129f0bd7b9575c4a472dbd289f23b9d6b255a7d01beefcbc92d07fef817d", kill_on_drop: false }` [INFO] [stdout] d47e129f0bd7b9575c4a472dbd289f23b9d6b255a7d01beefcbc92d07fef817d