[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 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fmodular_lang" "/workspace/builds/worker-70/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-70/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoshuaRadin37/modular_lang on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-70/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 363eb2e5d22b237e5b753cee942eec9d85ad5bc3a5f74e3eb9f7c23eb37a1242 [INFO] running `Command { std: "docker" "start" "-a" "363eb2e5d22b237e5b753cee942eec9d85ad5bc3a5f74e3eb9f7c23eb37a1242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "363eb2e5d22b237e5b753cee942eec9d85ad5bc3a5f74e3eb9f7c23eb37a1242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "363eb2e5d22b237e5b753cee942eec9d85ad5bc3a5f74e3eb9f7c23eb37a1242", kill_on_drop: false }` [INFO] [stdout] 363eb2e5d22b237e5b753cee942eec9d85ad5bc3a5f74e3eb9f7c23eb37a1242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a4f1aedba5f6a2fbb75ab6f4eb62a8a42e39cf1a4a9bf78ab0c553c5b9dcf2c [INFO] running `Command { std: "docker" "start" "-a" "7a4f1aedba5f6a2fbb75ab6f4eb62a8a42e39cf1a4a9bf78ab0c553c5b9dcf2c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking indexed v0.2.0 [INFO] [stderr] Checking modular_lang v0.1.0 (/tmp/fixit) [INFO] [stderr] Checking lexer v0.1.0 (/tmp/fixit/lexer) [INFO] [stderr] Checking core v0.1.0 (/tmp/fixit/core) [INFO] [stderr] Migrating lexer/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating core/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking trees v0.3.0 [INFO] [stderr] Fixed lexer/src/lexing.rs (1 fix) [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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: field is never read: `filename` [INFO] [stdout] --> lexer/src/tokenization.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | filename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line_number` [INFO] [stdout] --> lexer/src/tokenization.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `column` [INFO] [stdout] --> lexer/src/tokenization.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | column: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed core/src/types/primitives.rs (4 fixes) [INFO] [stderr] Checking regex v1.3.9 [INFO] [stdout] warning: private trait `Primitive` in public interface (error E0445) [INFO] [stdout] --> core/src/types/primitives.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Type for R { [INFO] [stdout] 8 | | fn get_size(&self) -> usize { [INFO] [stdout] 9 | | self.size() [INFO] [stdout] 10 | | } [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Primitive` in public interface (error E0445) [INFO] [stdout] --> core/src/types/primitives.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Type for R { [INFO] [stdout] 8 | | fn get_size(&self) -> usize { [INFO] [stdout] 9 | | self.size() [INFO] [stdout] 10 | | } [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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: field is never read: `filename` [INFO] [stdout] --> lexer/src/tokenization.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | filename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line_number` [INFO] [stdout] --> lexer/src/tokenization.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `column` [INFO] [stdout] --> lexer/src/tokenization.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | column: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking virtual_machine v0.1.0 (/tmp/fixit/virtual_machine) [INFO] [stderr] Migrating virtual_machine/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed virtual_machine/src/vm.rs (1 fix) [INFO] [stderr] Fixed virtual_machine/src/instruction_set/immediate.rs (1 fix) [INFO] [stderr] Fixed virtual_machine/src/resolution/types/mod.rs (2 fixes) [INFO] [stderr] Fixed virtual_machine/src/memory.rs (2 fixes) [INFO] [stdout] warning: constant is never used: `MID` [INFO] [stdout] --> virtual_machine/src/memory.rs:10:1 [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MID` [INFO] [stdout] --> virtual_machine/src/memory.rs:10:1 [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating virtual_machine/tests/fibonacci.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.51s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking modular_lang v0.1.0 (/tmp/fixit) [INFO] [stderr] Checking core v0.1.0 (/tmp/fixit/core) [INFO] [stderr] Checking lexer v0.1.0 (/tmp/fixit/lexer) [INFO] [stderr] Checking virtual_machine v0.1.0 (/tmp/fixit/virtual_machine) [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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: 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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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: private trait `Primitive` in public interface (error E0445) [INFO] [stdout] --> core/src/types/primitives.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Type for R { [INFO] [stdout] 8 | | fn get_size(&self) -> usize { [INFO] [stdout] 9 | | self.size() [INFO] [stdout] 10 | | } [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Primitive` in public interface (error E0445) [INFO] [stdout] --> core/src/types/primitives.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Type for R { [INFO] [stdout] 8 | | fn get_size(&self) -> usize { [INFO] [stdout] 9 | | self.size() [INFO] [stdout] 10 | | } [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [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 #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `filename` [INFO] [stdout] --> lexer/src/tokenization.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | filename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line_number` [INFO] [stdout] --> lexer/src/tokenization.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `column` [INFO] [stdout] --> lexer/src/tokenization.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | column: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `filename` [INFO] [stdout] --> lexer/src/tokenization.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | filename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line_number` [INFO] [stdout] --> lexer/src/tokenization.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `column` [INFO] [stdout] --> lexer/src/tokenization.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | column: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MID` [INFO] [stdout] --> virtual_machine/src/memory.rs:10:1 [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MID` [INFO] [stdout] --> virtual_machine/src/memory.rs:10:1 [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.72s [INFO] running `Command { std: "docker" "inspect" "7a4f1aedba5f6a2fbb75ab6f4eb62a8a42e39cf1a4a9bf78ab0c553c5b9dcf2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a4f1aedba5f6a2fbb75ab6f4eb62a8a42e39cf1a4a9bf78ab0c553c5b9dcf2c", kill_on_drop: false }` [INFO] [stdout] 7a4f1aedba5f6a2fbb75ab6f4eb62a8a42e39cf1a4a9bf78ab0c553c5b9dcf2c