[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 master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a 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-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoshuaRadin37/modular_lang on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-35/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] [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-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93ca52b723ff9a42a27ed90b1b726fe887d11b1b07cdf31be05a467b0debe1b0 [INFO] running `Command { std: "docker" "start" "-a" "93ca52b723ff9a42a27ed90b1b726fe887d11b1b07cdf31be05a467b0debe1b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93ca52b723ff9a42a27ed90b1b726fe887d11b1b07cdf31be05a467b0debe1b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ca52b723ff9a42a27ed90b1b726fe887d11b1b07cdf31be05a467b0debe1b0", kill_on_drop: false }` [INFO] [stdout] 93ca52b723ff9a42a27ed90b1b726fe887d11b1b07cdf31be05a467b0debe1b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f218c42964b63b3bbb6755622ce4fda5d610b82bdfc796f9f5432295d7abf85e [INFO] running `Command { std: "docker" "start" "-a" "f218c42964b63b3bbb6755622ce4fda5d610b82bdfc796f9f5432295d7abf85e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Checking thread_local v1.0.1 [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: 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: 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: 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: 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: 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: 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] = 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: 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: 5 warnings 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trees v0.3.0 [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: 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] [stderr] Checking regex v1.3.9 [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: 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: 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: 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: 8 warnings emitted [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: 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: 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: 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.61s [INFO] running `Command { std: "docker" "inspect" "f218c42964b63b3bbb6755622ce4fda5d610b82bdfc796f9f5432295d7abf85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f218c42964b63b3bbb6755622ce4fda5d610b82bdfc796f9f5432295d7abf85e", kill_on_drop: false }` [INFO] [stdout] f218c42964b63b3bbb6755622ce4fda5d610b82bdfc796f9f5432295d7abf85e