[INFO] cloning repository https://github.com/overoxidize/iridescent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/overoxidize/iridescent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foveroxidize%2Firidescent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foveroxidize%2Firidescent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d571a5b76ab63c6bf95468ac667d7933c5df237d [INFO] checking overoxidize/iridescent against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foveroxidize%2Firidescent" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/overoxidize/iridescent on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/overoxidize/iridescent [INFO] finished tweaking git repo https://github.com/overoxidize/iridescent [INFO] tweaked toml for git repo https://github.com/overoxidize/iridescent written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/overoxidize/iridescent 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb8c06cb91c94418a31d378c4c265c5eea020fef35dfb8508ab9a0162bf78893 [INFO] running `Command { std: "docker" "start" "-a" "fb8c06cb91c94418a31d378c4c265c5eea020fef35dfb8508ab9a0162bf78893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb8c06cb91c94418a31d378c4c265c5eea020fef35dfb8508ab9a0162bf78893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8c06cb91c94418a31d378c4c265c5eea020fef35dfb8508ab9a0162bf78893", kill_on_drop: false }` [INFO] [stdout] fb8c06cb91c94418a31d378c4c265c5eea020fef35dfb8508ab9a0162bf78893 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a660ccf6f8d0eb91cf83f4630ca20a9e2eba9cac123dc4bf7a9105fe677b3cd [INFO] running `Command { std: "docker" "start" "-a" "1a660ccf6f8d0eb91cf83f4630ca20a9e2eba9cac123dc4bf7a9105fe677b3cd", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking iridescent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vm.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / /// Executes an individual instruction, useful for observing/debugging. [INFO] [stdout] 51 | | /// When this conditional is true, we will have executed all of the [INFO] [stdout] 52 | | /// instructions given in our program. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 53 | / if self.pc >= self.program.len() { [INFO] [stdout] 54 | | return false; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vm.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | /// Represents a halting instruction, signaling that program execution should cease. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/repl/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::types::CompleteStr` [INFO] [stdout] --> src/repl/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Program`, `program` [INFO] [stdout] --> src/repl/mod.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::assembler::program_parsers::{Program, program}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::instruction` [INFO] [stdout] --> src/repl/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/repl/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / /// Runs the repl in the terminal, allows for viewing [INFO] [stdout] 60 | | /// the history of instructions fed to the repl. [INFO] [stdout] | |_________-----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/opcode_parsers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// opcode parser provides a simple piece of logic to load [INFO] [stdout] 6 | | /// various opcodes, to be parsed by nom. [INFO] [stdout] | |_----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/assembler/opcode_parsers.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/assembler/operand_parsers.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::register` [INFO] [stdout] --> src/assembler/register_parsers.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | use super::register; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::types::CompleteStr` [INFO] [stdout] --> src/assembler/register_parsers.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/instruction_parsers.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | /// Parses instructions of the form LOAD $0 #100. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/instruction_parsers.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / /// Extracts a series of bytes representing an operand and adds [INFO] [stdout] 45 | | /// the results to a vector. [INFO] [stdout] | |________________________________^ [INFO] [stdout] 46 | / match t { [INFO] [stdout] 47 | | Token::Register { reg_num } => { [INFO] [stdout] 48 | | results.push(*reg_num); [INFO] [stdout] 49 | | } [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vm.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / /// Executes an individual instruction, useful for observing/debugging. [INFO] [stdout] 51 | | /// When this conditional is true, we will have executed all of the [INFO] [stdout] 52 | | /// instructions given in our program. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] 53 | / if self.pc >= self.program.len() { [INFO] [stdout] 54 | | return false; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vm.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | /// Represents a halting instruction, signaling that program execution should cease. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/repl/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::types::CompleteStr` [INFO] [stdout] --> src/repl/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Program`, `program` [INFO] [stdout] --> src/repl/mod.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::assembler::program_parsers::{Program, program}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::instruction` [INFO] [stdout] --> src/repl/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/repl/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / /// Runs the repl in the terminal, allows for viewing [INFO] [stdout] 60 | | /// the history of instructions fed to the repl. [INFO] [stdout] | |_________-----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/opcode_parsers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// opcode parser provides a simple piece of logic to load [INFO] [stdout] 6 | | /// various opcodes, to be parsed by nom. [INFO] [stdout] | |_----------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/instruction_parsers.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | /// Parses instructions of the form LOAD $0 #100. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/instruction_parsers.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / /// Extracts a series of bytes representing an operand and adds [INFO] [stdout] 45 | | /// the results to a vector. [INFO] [stdout] | |________________________________^ [INFO] [stdout] 46 | / match t { [INFO] [stdout] 47 | | Token::Register { reg_num } => { [INFO] [stdout] 48 | | results.push(*reg_num); [INFO] [stdout] 49 | | } [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/assembler/register_parsers.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/assembler/register_parsers.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_hex` and `program` are never used [INFO] [stdout] --> src/repl/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl REPL { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | fn parse_hex(&mut self, instruction: &str) -> Result, ParseIntError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn program(&mut self, _args: &[&str]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![warn(missing_docs)] [INFO] [stdout] 2 | | #[macro_use] [INFO] [stdout] 3 | | pub mod vm; [INFO] [stdout] 4 | | pub mod instruction; [INFO] [stdout] ... | [INFO] [stdout] 10 | | repl.run(); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod vm; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod repl; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod assembler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/vm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub registers: [i32; 32], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/vm.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | pub program: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/vm.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_byte(&mut self, b: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/vm.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn run_once(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/instruction.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/instruction.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/instruction.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | GTQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/instruction.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | LTQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/instruction.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | JEQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/instruction.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | JNEQ, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/instruction.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/repl/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct REPL { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/repl/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub vm: VM, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/repl/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn run(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/assembler/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod opcode_parsers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/assembler/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod operand_parsers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/assembler/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod register_parsers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/assembler/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod program_parsers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/assembler/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod opcode; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/assembler/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod instruction_parsers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/assembler/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Token { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/assembler/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Op{code: Opcode}, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/assembler/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | Op{code: Opcode}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/assembler/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Register{reg_num: u8}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/assembler/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Register{reg_num: u8}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/assembler/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | IntegerOperand{value: i32}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/assembler/mod.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | IntegerOperand{value: i32}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/assembler/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Number{value: i32} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/assembler/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | Number{value: i32} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/assembler/opcode_parsers.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / named!(pub opcode_load, [INFO] [stdout] 8 | | [INFO] [stdout] 9 | | do_parse!( [INFO] [stdout] 10 | | tag!("load") >> (Token::Op{code: Opcode::LOAD}) [INFO] [stdout] 11 | | ) [INFO] [stdout] 12 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/assembler/operand_parsers.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / named!(pub integer_operand, [INFO] [stdout] 4 | | ws!( [INFO] [stdout] 5 | | do_parse!( [INFO] [stdout] 6 | | tag!("#") >> [INFO] [stdout] ... | [INFO] [stdout] 12 | | ) [INFO] [stdout] 13 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/assembler/register_parsers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / named!(pub register , [INFO] [stdout] 6 | | ws!( [INFO] [stdout] 7 | | do_parse!( [INFO] [stdout] 8 | | tag!("$") >> [INFO] [stdout] ... | [INFO] [stdout] 17 | | ) [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/assembler/program_parsers.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Program { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/assembler/program_parsers.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / named!(pub program, [INFO] [stdout] 14 | | do_parse!( [INFO] [stdout] 15 | | instructions: many1!(instruction_one) >> [INFO] [stdout] 16 | | ( [INFO] [stdout] ... | [INFO] [stdout] 21 | | ) [INFO] [stdout] 22 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/assembler/program_parsers.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/assembler/instruction_parsers.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/assembler/instruction_parsers.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / named!(pub instruction_one, [INFO] [stdout] 69 | | do_parse!( [INFO] [stdout] 70 | | op: opcode_load >> [INFO] [stdout] 71 | | reg: register >> [INFO] [stdout] ... | [INFO] [stdout] 82 | | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_hex` and `program` are never used [INFO] [stdout] --> src/repl/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl REPL { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | fn parse_hex(&mut self, instruction: &str) -> Result, ParseIntError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn program(&mut self, _args: &[&str]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1a660ccf6f8d0eb91cf83f4630ca20a9e2eba9cac123dc4bf7a9105fe677b3cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a660ccf6f8d0eb91cf83f4630ca20a9e2eba9cac123dc4bf7a9105fe677b3cd", kill_on_drop: false }` [INFO] [stdout] 1a660ccf6f8d0eb91cf83f4630ca20a9e2eba9cac123dc4bf7a9105fe677b3cd