[INFO] cloning repository https://github.com/JoshuaRadin37/modular_lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoshuaRadin37/modular_lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fmodular_lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fmodular_lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b3a5165042f23fa89755219dd049d9da2465e7c [INFO] checking JoshuaRadin37/modular_lang/6b3a5165042f23fa89755219dd049d9da2465e7c against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fmodular_lang" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoshuaRadin37/modular_lang on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JoshuaRadin37/modular_lang [INFO] finished tweaking git repo https://github.com/JoshuaRadin37/modular_lang [INFO] tweaked toml for git repo https://github.com/JoshuaRadin37/modular_lang written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JoshuaRadin37/modular_lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trees v0.3.0 [INFO] [stderr] Downloaded indexed v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f540900fd8c7c21aacddf7f6cd4595b21cfa930c1db4ce4016e3d7025639b207 [INFO] running `Command { std: "docker" "start" "-a" "f540900fd8c7c21aacddf7f6cd4595b21cfa930c1db4ce4016e3d7025639b207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f540900fd8c7c21aacddf7f6cd4595b21cfa930c1db4ce4016e3d7025639b207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f540900fd8c7c21aacddf7f6cd4595b21cfa930c1db4ce4016e3d7025639b207", kill_on_drop: false }` [INFO] [stdout] f540900fd8c7c21aacddf7f6cd4595b21cfa930c1db4ce4016e3d7025639b207 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f5e6835ea487187389eefe1654be70af638aac2c6f102b9f91cd71bb6cc4e54 [INFO] running `Command { std: "docker" "start" "-a" "8f5e6835ea487187389eefe1654be70af638aac2c6f102b9f91cd71bb6cc4e54", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking indexed v0.2.0 [INFO] [stderr] Checking modular_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/lexer) [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> lexer/src/lexing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 195 | lerr!("There must be a following ' in a char literal") [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | _ => lerr!("Unsupported escape code"), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | Some('\n') => lerr!("Strings must be on the same line"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 225 | None => lerr!("Non-terminated String"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 313 | lerr!(".. is not a valid operator, needs to be either . or ...") [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 395 | _ => lerr!("Unsupported character"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 399 | lerr!("No token created!") [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> lexer/src/lexing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 195 | lerr!("There must be a following ' in a char literal") [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | _ => lerr!("Unsupported escape code"), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | Some('\n') => lerr!("Strings must be on the same line"), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 225 | None => lerr!("Non-terminated String"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 313 | lerr!(".. is not a valid operator, needs to be either . or ...") [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 395 | _ => lerr!("Unsupported character"), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> lexer/src/lexing.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(LexError($s)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 399 | lerr!("No token created!") [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `lerr` [INFO] [stdout] = note: this warning originates in the macro `lerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_invariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn is_covariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | fn is_contravariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn can_cast_to(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Char` is never constructed [INFO] [stdout] --> core/src/types/primitives.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Char; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_invariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn is_covariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | fn is_contravariant(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/types/primitives.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn can_cast_to(&self, other: &T) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Char` is never constructed [INFO] [stdout] --> core/src/types/primitives.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Char; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trees v0.3.0 [INFO] [stdout] warning: fields `filename`, `line_number`, and `column` are never read [INFO] [stdout] --> lexer/src/tokenization.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 23 | token_type: TokenType, [INFO] [stdout] 24 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> lexer/src/lexing.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LexError(&'static str); [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename`, `line_number`, and `column` are never read [INFO] [stdout] --> lexer/src/tokenization.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 23 | token_type: TokenType, [INFO] [stdout] 24 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> lexer/src/lexing.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LexError(&'static str); [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> lexer/src/lexing.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | lexer.single_lex(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 437 | let _ = lexer.single_lex(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking virtual_machine v0.1.0 (/opt/rustwide/workdir/virtual_machine) [INFO] [stdout] warning: unused variable: `details` [INFO] [stdout] --> virtual_machine/src/instruction_set/immediate.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | DetailedType(details) => unimplemented!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_details` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> virtual_machine/src/memory.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut reader = self.static_memory.read().expect("Statics poisoned"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> virtual_machine/src/memory.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let mut reader = self.static_memory.read().expect("Statics poisoned"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `details` [INFO] [stdout] --> virtual_machine/src/instruction_set/immediate.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | DetailedType(details) => unimplemented!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_details` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> virtual_machine/src/resolution/types/mod.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let key: &FullIdentifier = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> virtual_machine/src/resolution/types/mod.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let key: &FullIdentifier = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> virtual_machine/src/memory.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut reader = self.static_memory.read().expect("Statics poisoned"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> virtual_machine/src/memory.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let mut reader = self.static_memory.read().expect("Statics poisoned"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> virtual_machine/src/vm.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | Instruction::Throw(imm) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_imm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> virtual_machine/src/resolution/types/mod.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let key: &FullIdentifier = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> virtual_machine/src/resolution/types/mod.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let key: &FullIdentifier = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> virtual_machine/src/vm.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | Instruction::Throw(imm) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_imm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MID` is never used [INFO] [stdout] --> virtual_machine/src/memory.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MID: usize = MAX_MEM / 2; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MID` is never used [INFO] [stdout] --> virtual_machine/src/memory.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MID: usize = MAX_MEM / 2; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | std::mem::replace(&mut self.0, next); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 154 | let _ = std::mem::replace(&mut self.0, next); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | Identifier::from("x1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 248 | let _ = Identifier::from("x1"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | Identifier::from("_x"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 249 | let _ = Identifier::from("_x"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | Identifier::from("_1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 250 | let _ = Identifier::from("_1"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | Identifier::from("lights_on"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = Identifier::from("lights_on"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | Identifier::from("1x"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 257 | let _ = Identifier::from("1x"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | Identifier::from("1 x"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 263 | let _ = Identifier::from("1 x"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | Identifier::from("x#"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 269 | let _ = Identifier::from("x#"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> virtual_machine/src/resolution.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | std::mem::replace(&mut self.0, next); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 154 | let _ = std::mem::replace(&mut self.0, next); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lexer v0.1.0 (/opt/rustwide/workdir/lexer) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "8f5e6835ea487187389eefe1654be70af638aac2c6f102b9f91cd71bb6cc4e54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f5e6835ea487187389eefe1654be70af638aac2c6f102b9f91cd71bb6cc4e54", kill_on_drop: false }` [INFO] [stdout] 8f5e6835ea487187389eefe1654be70af638aac2c6f102b9f91cd71bb6cc4e54