[INFO] cloning repository https://github.com/nnarain/silica [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nnarain/silica" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnnarain%2Fsilica", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnnarain%2Fsilica'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f53593f632c224cde0b0ab438ce92bf32841c289 [INFO] testing nnarain/silica against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnnarain%2Fsilica" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nnarain/silica [INFO] finished tweaking git repo https://github.com/nnarain/silica [INFO] tweaked toml for git repo https://github.com/nnarain/silica written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nnarain/silica on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nnarain/silica 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7ba8a0c93e649f2cdf4e06b7a155a29efd60500e63ef3c0b6b21101c4b807db [INFO] running `Command { std: "docker" "start" "-a" "d7ba8a0c93e649f2cdf4e06b7a155a29efd60500e63ef3c0b6b21101c4b807db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7ba8a0c93e649f2cdf4e06b7a155a29efd60500e63ef3c0b6b21101c4b807db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ba8a0c93e649f2cdf4e06b7a155a29efd60500e63ef3c0b6b21101c4b807db", kill_on_drop: false }` [INFO] [stdout] d7ba8a0c93e649f2cdf4e06b7a155a29efd60500e63ef3c0b6b21101c4b807db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b80699f1504b0410d0e74494195910e974ef2ff626336e2029b98775a1e5c42 [INFO] running `Command { std: "docker" "start" "-a" "8b80699f1504b0410d0e74494195910e974ef2ff626336e2029b98775a1e5c42", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.29 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling serde v1.0.11 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling nom v3.2.0 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling serde_derive v1.0.11 [INFO] [stderr] Compiling docopt v0.8.1 [INFO] [stderr] Compiling silica v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/lexer.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | /// parse a label [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] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/lexer.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | /// parse a hexidecimal literal [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/lexer.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | /// Parse a decimal literal [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/lexer.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | /// Parse either a hex or decimal literal [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/lexer.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | /// Parse column separator characters (spaces and tabs) [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/lexer.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | /// Parse commas [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/lexer.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | /// Parse Registers [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/lexer.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / /// Parse Directives [INFO] [stdout] 135 | | /// TODO: Add more directives... [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/lexer.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | /// Parse a label operand [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/lexer.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | /// Parse an instruction [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/lexer.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | /// Consume comments [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/lexer.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | /// Parse line ending [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/lexer.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | /// Parse what single assembly line can end with [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/lexer.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | / /// Parse line combination 1 [INFO] [stdout] 250 | | /// \r\n [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/lexer.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | /// Parse line combination 2 [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/lexer.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / /// Parse line combination 3 [INFO] [stdout] 267 | | /// \t\t org $200 [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/lexer.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | / /// Parse line combination 4 [INFO] [stdout] 280 | | /// label [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/lexer.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | / /// Parse line combination 5 [INFO] [stdout] 290 | | /// LD V0, V1 [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/lexer.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | / /// Parse line combination 6 [INFO] [stdout] 301 | | /// label LD V0, V1 [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/lexer.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 320 | / /// Parse line combination 7 [INFO] [stdout] 321 | | /// db $0 $1 $2 ... [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/lexer.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 | /// Combined line parser [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/parser.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | /// parse labels from tokens [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/parser.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | /// parse directive [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/parser.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | /// parse instructions [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/parser.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | /// parse expressions from the token stream [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn load_file(rom_file: &String) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn load_file(rom_file: &String) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/assembler/lexer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LexerError { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/assembler/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ParserError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/assembler/semantics.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SemanticsError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ProgramOptions` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ProgramOptions` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.0 [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" "8b80699f1504b0410d0e74494195910e974ef2ff626336e2029b98775a1e5c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b80699f1504b0410d0e74494195910e974ef2ff626336e2029b98775a1e5c42", kill_on_drop: false }` [INFO] [stdout] 8b80699f1504b0410d0e74494195910e974ef2ff626336e2029b98775a1e5c42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 014f66cfe89c69c279d2d8b5c5559b57809dc5dd245e480b12050de7c5c73c1b [INFO] running `Command { std: "docker" "start" "-a" "014f66cfe89c69c279d2d8b5c5559b57809dc5dd245e480b12050de7c5c73c1b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/lexer.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | /// parse a label [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] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/lexer.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | /// parse a hexidecimal literal [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/lexer.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | /// Parse a decimal literal [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/lexer.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | /// Parse either a hex or decimal literal [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/lexer.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | /// Parse column separator characters (spaces and tabs) [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/lexer.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | /// Parse commas [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/lexer.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | /// Parse Registers [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/lexer.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / /// Parse Directives [INFO] [stdout] 135 | | /// TODO: Add more directives... [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/lexer.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | /// Parse a label operand [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/lexer.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | /// Parse an instruction [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/lexer.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | /// Consume comments [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/lexer.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | /// Parse line ending [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/lexer.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | /// Parse what single assembly line can end with [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/lexer.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | / /// Parse line combination 1 [INFO] [stdout] 250 | | /// \r\n [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/lexer.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | /// Parse line combination 2 [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/lexer.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / /// Parse line combination 3 [INFO] [stdout] 267 | | /// \t\t org $200 [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/lexer.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | / /// Parse line combination 4 [INFO] [stdout] 280 | | /// label [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/lexer.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | / /// Parse line combination 5 [INFO] [stdout] 290 | | /// LD V0, V1 [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/lexer.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | / /// Parse line combination 6 [INFO] [stdout] 301 | | /// label LD V0, V1 [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/lexer.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 320 | / /// Parse line combination 7 [INFO] [stdout] 321 | | /// db $0 $1 $2 ... [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/lexer.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 | /// Combined line parser [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/parser.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | /// parse labels from tokens [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/parser.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | /// parse directive [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/parser.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | /// parse instructions [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/parser.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | /// parse expressions from the token stream [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn load_file(rom_file: &String) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn load_file(rom_file: &String) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling silica v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/assembler/lexer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LexerError { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/assembler/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ParserError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/assembler/semantics.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SemanticsError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ProgramOptions` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ProgramOptions` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/lexer.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | /// parse a label [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] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/lexer.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | /// parse a hexidecimal literal [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/lexer.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | /// Parse a decimal literal [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/lexer.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | /// Parse either a hex or decimal literal [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/lexer.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | /// Parse column separator characters (spaces and tabs) [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/lexer.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | /// Parse commas [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/lexer.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | /// Parse Registers [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/lexer.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / /// Parse Directives [INFO] [stdout] 135 | | /// TODO: Add more directives... [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/lexer.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | /// Parse a label operand [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/lexer.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | /// Parse an instruction [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/lexer.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | /// Consume comments [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/lexer.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | /// Parse line ending [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/lexer.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | /// Parse what single assembly line can end with [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/lexer.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | / /// Parse line combination 1 [INFO] [stdout] 250 | | /// \r\n [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/lexer.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | /// Parse line combination 2 [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/lexer.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / /// Parse line combination 3 [INFO] [stdout] 267 | | /// \t\t org $200 [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/lexer.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | / /// Parse line combination 4 [INFO] [stdout] 280 | | /// label [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/lexer.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | / /// Parse line combination 5 [INFO] [stdout] 290 | | /// LD V0, V1 [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/lexer.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | / /// Parse line combination 6 [INFO] [stdout] 301 | | /// label LD V0, V1 [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/lexer.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 320 | / /// Parse line combination 7 [INFO] [stdout] 321 | | /// db $0 $1 $2 ... [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/lexer.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 | /// Combined line parser [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/parser.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | /// parse labels from tokens [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/parser.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | /// parse directive [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/parser.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | /// parse instructions [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/parser.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | /// parse expressions from the token stream [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn load_file(rom_file: &String) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn load_file(rom_file: &String) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/assembler/lexer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LexerError { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/assembler/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ParserError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/assembler/semantics.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SemanticsError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ProgramOptions` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ProgramOptions` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.0 [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" "014f66cfe89c69c279d2d8b5c5559b57809dc5dd245e480b12050de7c5c73c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "014f66cfe89c69c279d2d8b5c5559b57809dc5dd245e480b12050de7c5c73c1b", kill_on_drop: false }` [INFO] [stdout] 014f66cfe89c69c279d2d8b5c5559b57809dc5dd245e480b12050de7c5c73c1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e644595e9d4aa4f9f6cdc1d83de665d0f4d21070627023c765bc35899ea66a5a [INFO] running `Command { std: "docker" "start" "-a" "e644595e9d4aa4f9f6cdc1d83de665d0f4d21070627023c765bc35899ea66a5a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | /// parse a label [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | /// parse a hexidecimal literal [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | /// Parse a decimal literal [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | /// Parse either a hex or decimal literal [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:92:1 [INFO] [stderr] | [INFO] [stderr] 92 | /// Parse column separator characters (spaces and tabs) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:97:1 [INFO] [stderr] | [INFO] [stderr] 97 | /// Parse commas [INFO] [stderr] | ^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:104:1 [INFO] [stderr] | [INFO] [stderr] 104 | /// Parse Registers [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:134:1 [INFO] [stderr] | [INFO] [stderr] 134 | / /// Parse Directives [INFO] [stderr] 135 | | /// TODO: Add more directives... [INFO] [stderr] | |_-------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:176:1 [INFO] [stderr] | [INFO] [stderr] 176 | /// Parse a label operand [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:185:1 [INFO] [stderr] | [INFO] [stderr] 185 | /// Parse an instruction [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:222:1 [INFO] [stderr] | [INFO] [stderr] 222 | /// Consume comments [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:231:1 [INFO] [stderr] | [INFO] [stderr] 231 | /// Parse line ending [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:239:1 [INFO] [stderr] | [INFO] [stderr] 239 | /// Parse what single assembly line can end with [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:249:1 [INFO] [stderr] | [INFO] [stderr] 249 | / /// Parse line combination 1 [INFO] [stderr] 250 | | /// \r\n [INFO] [stderr] | |_-------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:258:1 [INFO] [stderr] | [INFO] [stderr] 258 | /// Parse line combination 2 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:266:1 [INFO] [stderr] | [INFO] [stderr] 266 | / /// Parse line combination 3 [INFO] [stderr] 267 | | /// \t\t org $200 [INFO] [stderr] | |_----------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:279:1 [INFO] [stderr] | [INFO] [stderr] 279 | / /// Parse line combination 4 [INFO] [stderr] 280 | | /// label [INFO] [stderr] | |_--------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:289:1 [INFO] [stderr] | [INFO] [stderr] 289 | / /// Parse line combination 5 [INFO] [stderr] 290 | | /// LD V0, V1 [INFO] [stderr] | |_------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:300:1 [INFO] [stderr] | [INFO] [stderr] 300 | / /// Parse line combination 6 [INFO] [stderr] 301 | | /// label LD V0, V1 [INFO] [stderr] | |_------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:320:1 [INFO] [stderr] | [INFO] [stderr] 320 | / /// Parse line combination 7 [INFO] [stderr] 321 | | /// db $0 $1 $2 ... [INFO] [stderr] | |_------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/lexer.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | /// Combined line parser [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/parser.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | /// parse labels from tokens [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/parser.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | /// parse directive [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/parser.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | /// parse instructions [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/parser.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | /// parse expressions from the token stream [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:41:60 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn load_file(rom_file: &String) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 | pub fn load_file(rom_file: &String) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: field `message` is never read [INFO] [stderr] --> src/assembler/lexer.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct LexerError { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 9 | message: String [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `message` is never read [INFO] [stderr] --> src/assembler/parser.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct ParserError { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 10 | message: String [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `message` is never read [INFO] [stderr] --> src/assembler/semantics.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct SemanticsError { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 6 | message: String [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SemanticsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug, Deserialize)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `ProgramOptions` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ProgramOptions` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `silica` (lib) generated 30 warnings (run `cargo fix --lib -p silica` to apply 1 suggestion) [INFO] [stderr] warning: `silica` (lib test) generated 30 warnings (30 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/silica-edd8f4cfce85b3c2) [INFO] [stdout] [INFO] [stdout] running 103 tests [INFO] [stdout] test assembler::codegenerator::tests::test_add1 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_add2 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_and ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_add3 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_drw ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_db_directive ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_jp_instruction ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld1 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld10 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld2 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld3 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld4 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld5 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld7 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld9 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld_i_addr ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld6 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_or ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld8 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_sknp ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_xor ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_sh1 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_skp ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_comments ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_directives ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_hex_literal ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_decimal_literal ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_blank_line ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_instruction3 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_column_sep_parse_all ... ok [INFO] [stdout] test assembler::lexer::tests::test_label_operand ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_subn ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_comma ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_instruction1 ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_rnd ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_shr ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_label ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line1_crlf ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_instruction6 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_instruction2 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_instruction5 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_instruction4 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line1_lf ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line4 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line5 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_lines3 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line7 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_lines5 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_mnem ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_numeric_literal_parse_decimal ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_numeric_literal_parse_hex ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_registers ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_sub ... ok [INFO] [stdout] test assembler::parser::tests::test_parse2 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line_ending_crlf ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line_ending_lf ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line_termination1 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line_termination2 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line6 ... ok [INFO] [stdout] test assembler::parser::tests::test_parse1 ... ok [INFO] [stdout] test assembler::parser::tests::test_parse_directive1 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line_termination3 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_lines4 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_lines1 ... ok [INFO] [stdout] test assembler::parser::tests::test_parse_directive2 ... ok [INFO] [stdout] test assembler::parser::tests::test_parse_instruction3 ... ok [INFO] [stdout] test assembler::parser::tests::test_parse_instruction4 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_lines2 ... ok [INFO] [stdout] test assembler::parser::tests::test_parse_instruction5 ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_add1 ... ok [INFO] [stdout] test assembler::parser::tests::test_parse_instruction1 ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_add2 ... ok [INFO] [stdout] test assembler::parser::tests::test_parse_instruction2 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_line3 ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_directive ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_instruction1 ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_drw ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_jp1 ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_jr ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_ld2 ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_ld1 ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_label ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_rnd ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_sknp ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_shr ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_se1 ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_or ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_se2 ... ok [INFO] [stdout] test assembler::parser::tests::test_parse_label ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_shl ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_skp ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_sne1 ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_subn ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_xor ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_sne2 ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_sub ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_directive_invalid_operand - should panic ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_directive_only - should panic ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_instruction2 - should panic ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_jp2 - should panic ... ok [INFO] [stdout] test assembler::codegenerator::tests::test_ld11 ... ok [INFO] [stdout] test assembler::lexer::tests::test_lex_column_sep_parse_until ... ok [INFO] [stdout] test assembler::semantics::tests::test_check_and ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 103 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/silica-6b3156cfdf0ba852) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/assembler_tests.rs (/opt/rustwide/target/debug/deps/assembler_tests-49ae55fa868caac6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests silica [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e644595e9d4aa4f9f6cdc1d83de665d0f4d21070627023c765bc35899ea66a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e644595e9d4aa4f9f6cdc1d83de665d0f4d21070627023c765bc35899ea66a5a", kill_on_drop: false }` [INFO] [stdout] e644595e9d4aa4f9f6cdc1d83de665d0f4d21070627023c765bc35899ea66a5a