[INFO] cloning repository https://github.com/adust09/Rust-VM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adust09/Rust-VM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadust09%2FRust-VM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadust09%2FRust-VM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f69a4ea84f7ece855935386c7163591e8703df6 [INFO] checking adust09/Rust-VM against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadust09%2FRust-VM" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/adust09/Rust-VM [INFO] finished tweaking git repo https://github.com/adust09/Rust-VM [INFO] tweaked toml for git repo https://github.com/adust09/Rust-VM written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adust09/Rust-VM on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adust09/Rust-VM 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bench]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other benchmark targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a benchmark target: [INFO] [stderr] [INFO] [stderr] * benches/term_parsers.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a benchmark target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobenches = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe3b9d6c2ed7a554ca07c82cb0fa5fe8fa766003089851700a398e33f19b5032 [INFO] running `Command { std: "docker" "start" "-a" "fe3b9d6c2ed7a554ca07c82cb0fa5fe8fa766003089851700a398e33f19b5032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe3b9d6c2ed7a554ca07c82cb0fa5fe8fa766003089851700a398e33f19b5032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe3b9d6c2ed7a554ca07c82cb0fa5fe8fa766003089851700a398e33f19b5032", kill_on_drop: false }` [INFO] [stdout] fe3b9d6c2ed7a554ca07c82cb0fa5fe8fa766003089851700a398e33f19b5032 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38ca438c6730d08f774a5c5e45accb6db2439aa072793bdf61a2fd5bfa6be3c6 [INFO] running `Command { std: "docker" "start" "-a" "38ca438c6730d08f774a5c5e45accb6db2439aa072793bdf61a2fd5bfa6be3c6", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bench]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other benchmark targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a benchmark target: [INFO] [stderr] [INFO] [stderr] * benches/term_parsers.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a benchmark target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobenches = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking iridium v0.0.31 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/comment_parsers.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Looks for a comment start [INFO] [stdout] 5 | | /// Examples: [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/directive_parsers.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | /// Will try to parse out any of the Directive forms [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:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | /// Will try to parse out any of the Instruction forms [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/label_parsers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | /// Looks for a user-defined label, such as `label1:` [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/label_parsers.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | /// Looks for a user-defined label, such as `label1:` [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/operand_parsers.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// Parser for all numbers, which have to be prefaced with `#` in our assembly language: [INFO] [stdout] 8 | | /// #100 [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/operand_parsers.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Parser for all floats, which have to be prefaced with `#` in our assembly language: [INFO] [stdout] 31 | | /// #100.0 [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: `cluster::NodeInfo` [INFO] [stdout] --> src/cluster/client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cluster::NodeInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeAlias` [INFO] [stdout] --> src/cluster/manager.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use cluster::{NodeAlias, NodeInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/remote/client.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | buf.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 80 - buf.trim_right(); [INFO] [stdout] 80 + buf.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cluster/client.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | if let Ok(mut hello) = [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/cluster/client.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | ... ref alias, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cluster/server.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | ... let mut cmgr_lock = cmgr.read().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cluster/server.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut cmgr = connection_manager.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol_type` is never read [INFO] [stdout] --> src/assembler/symbols.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Symbol { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 5 | symbol_type: SymbolType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `at` and `application_id` are never read [INFO] [stdout] --> src/vm.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct VMEvent { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 36 | pub event: VMEventType, [INFO] [stdout] 37 | at: DateTime, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | application_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VMEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim_right` that must be used [INFO] [stdout] --> src/remote/client.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | buf.trim_right(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a new slice, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = buf.trim_right(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/repl/mod.rs:317:46 [INFO] [stdout] | [INFO] [stdout] 317 | let addr = ip.to_owned() + ":" + port.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/bin/iridium.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/iridium.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let mut vm = VM::new() [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/iridium.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | let mut rx = repl.rx_pipe.take(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PIE_HEADER_LENGTH` and `PIE_HEADER_PREFIX` [INFO] [stdout] --> benches/iridium.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use iridium::assembler::{PIE_HEADER_LENGTH, PIE_HEADER_PREFIX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/bin/iridium.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/comment_parsers.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Looks for a comment start [INFO] [stdout] 5 | | /// Examples: [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/assembler/directive_parsers.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | /// Will try to parse out any of the Directive forms [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:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | /// Will try to parse out any of the Instruction forms [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/label_parsers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | /// Looks for a user-defined label, such as `label1:` [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/label_parsers.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | /// Looks for a user-defined label, such as `label1:` [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/operand_parsers.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// Parser for all numbers, which have to be prefaced with `#` in our assembly language: [INFO] [stdout] 8 | | /// #100 [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/operand_parsers.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Parser for all floats, which have to be prefaced with `#` in our assembly language: [INFO] [stdout] 31 | | /// #100.0 [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: `cluster::NodeInfo` [INFO] [stdout] --> src/cluster/client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cluster::NodeInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeAlias` [INFO] [stdout] --> src/cluster/manager.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use cluster::{NodeAlias, NodeInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/iridium.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let mut vm = VM::new() [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/iridium.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | let mut rx = repl.rx_pipe.take(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/remote/client.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | buf.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 80 - buf.trim_right(); [INFO] [stdout] 80 + buf.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cluster/client.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | if let Ok(mut hello) = [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/cluster/client.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | ... ref alias, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cluster/server.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | ... let mut cmgr_lock = cmgr.read().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cluster/server.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut cmgr = connection_manager.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol_type` is never read [INFO] [stdout] --> src/assembler/symbols.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Symbol { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 5 | symbol_type: SymbolType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `at` and `application_id` are never read [INFO] [stdout] --> src/vm.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct VMEvent { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 36 | pub event: VMEventType, [INFO] [stdout] 37 | at: DateTime, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | application_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VMEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim_right` that must be used [INFO] [stdout] --> src/remote/client.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | buf.trim_right(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a new slice, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = buf.trim_right(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/repl/mod.rs:317:46 [INFO] [stdout] | [INFO] [stdout] 317 | let addr = ip.to_owned() + ":" + port.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11, 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" "38ca438c6730d08f774a5c5e45accb6db2439aa072793bdf61a2fd5bfa6be3c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38ca438c6730d08f774a5c5e45accb6db2439aa072793bdf61a2fd5bfa6be3c6", kill_on_drop: false }` [INFO] [stdout] 38ca438c6730d08f774a5c5e45accb6db2439aa072793bdf61a2fd5bfa6be3c6