[INFO] cloning repository https://github.com/fhaynes/iridium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fhaynes/iridium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhaynes%2Firidium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhaynes%2Firidium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cfad1c94d712a9899d6e0d39d373309965c2bff [INFO] testing fhaynes/iridium against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhaynes%2Firidium" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fhaynes/iridium on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fhaynes/iridium [INFO] finished tweaking git repo https://github.com/fhaynes/iridium [INFO] tweaked toml for git repo https://github.com/fhaynes/iridium written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fhaynes/iridium 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-01-12" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.6.9 [INFO] [stderr] Downloaded ucd-util v0.1.2 [INFO] [stderr] Downloaded itertools-num v0.1.2 [INFO] [stderr] Downloaded walkdir v2.2.6 [INFO] [stderr] Downloaded simplelog v0.5.3 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded pest v1.0.6 [INFO] [stderr] Downloaded criterion-plot v0.2.5 [INFO] [stderr] Downloaded handlebars v0.32.4 [INFO] [stderr] Downloaded pest_derive v1.0.8 [INFO] [stderr] Downloaded syn v0.15.18 [INFO] [stderr] Downloaded serde_json v1.0.32 [INFO] [stderr] Downloaded criterion-stats v0.2.5 [INFO] [stderr] Downloaded criterion v0.2.5 [INFO] [stderr] Downloaded csv v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b70844e65c58331a4f4a25eab6f62bceb58ae759b79a85d095d73f6e317ccf4 [INFO] running `Command { std: "docker" "start" "-a" "0b70844e65c58331a4f4a25eab6f62bceb58ae759b79a85d095d73f6e317ccf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b70844e65c58331a4f4a25eab6f62bceb58ae759b79a85d095d73f6e317ccf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b70844e65c58331a4f4a25eab6f62bceb58ae759b79a85d095d73f6e317ccf4", kill_on_drop: false }` [INFO] [stdout] 0b70844e65c58331a4f4a25eab6f62bceb58ae759b79a85d095d73f6e317ccf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef20adf7df260ea521c5d942d25476f9725595d11ed2538792c505f5fc1004f4 [INFO] running `Command { std: "docker" "start" "-a" "ef20adf7df260ea521c5d942d25476f9725595d11ed2538792c505f5fc1004f4", 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.43 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling iridium v0.0.33 (/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:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | /// 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cluster/message.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cluster/message.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: variable does not need to be mutable [INFO] [stdout] --> src/cluster/client.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | if let Ok(mut hello) = IridiumMessage::hello(alias, &self.bind_port.clone().unwrap()) { [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/cluster/server.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | ... 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 `buf` is never read [INFO] [stdout] --> src/assembler/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Assembler { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | buf: [u8; 4], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assembler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: fields `at` and `application_id` are never read [INFO] [stdout] --> src/vm.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct VMEvent { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 41 | pub event: VMEventType, [INFO] [stdout] 42 | at: DateTime, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cluster/message.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_IridiumMessage` [INFO] [stdout] 10 | /// These are the message types that cluster nodes can exchange between themselves [INFO] [stdout] 11 | pub enum IridiumMessage { [INFO] [stdout] | -------------- `IridiumMessage` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` 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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/cluster/message.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IridiumMessage` [INFO] [stdout] 10 | /// These are the message types that cluster nodes can exchange between themselves [INFO] [stdout] 11 | pub enum IridiumMessage { [INFO] [stdout] | -------------- `IridiumMessage` is not local [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: 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 return value of `core::str::::trim_end` that must be used [INFO] [stdout] --> src/remote/client.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | buf.trim_end(); [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_end(); [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:308:46 [INFO] [stdout] | [INFO] [stdout] 308 | 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: variable does not need to be mutable [INFO] [stdout] --> src/bin/iridium.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | 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:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let mut rx = repl.rx_pipe.take(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.1.1 [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" "ef20adf7df260ea521c5d942d25476f9725595d11ed2538792c505f5fc1004f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef20adf7df260ea521c5d942d25476f9725595d11ed2538792c505f5fc1004f4", kill_on_drop: false }` [INFO] [stdout] ef20adf7df260ea521c5d942d25476f9725595d11ed2538792c505f5fc1004f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7536c7e133c238697a871d1a356dd8faa6485295b11c8e2c40cac229edce0a8b [INFO] running `Command { std: "docker" "start" "-a" "7536c7e133c238697a871d1a356dd8faa6485295b11c8e2c40cac229edce0a8b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling csv-core v0.1.4 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling criterion-stats v0.2.5 [INFO] [stderr] Compiling criterion-plot v0.2.5 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling walkdir v2.2.6 [INFO] [stderr] Compiling simplelog v0.5.3 [INFO] [stderr] Compiling csv v1.0.2 [INFO] [stderr] Compiling itertools-num v0.1.2 [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:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | /// 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cluster/message.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cluster/message.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: variable does not need to be mutable [INFO] [stdout] --> src/cluster/client.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | if let Ok(mut hello) = IridiumMessage::hello(alias, &self.bind_port.clone().unwrap()) { [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/cluster/server.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | ... 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 `buf` is never read [INFO] [stdout] --> src/assembler/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Assembler { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | buf: [u8; 4], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assembler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: fields `at` and `application_id` are never read [INFO] [stdout] --> src/vm.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct VMEvent { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 41 | pub event: VMEventType, [INFO] [stdout] 42 | at: DateTime, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cluster/message.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_IridiumMessage` [INFO] [stdout] 10 | /// These are the message types that cluster nodes can exchange between themselves [INFO] [stdout] 11 | pub enum IridiumMessage { [INFO] [stdout] | -------------- `IridiumMessage` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` 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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/cluster/message.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IridiumMessage` [INFO] [stdout] 10 | /// These are the message types that cluster nodes can exchange between themselves [INFO] [stdout] 11 | pub enum IridiumMessage { [INFO] [stdout] | -------------- `IridiumMessage` is not local [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: 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 return value of `core::str::::trim_end` that must be used [INFO] [stdout] --> src/remote/client.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | buf.trim_end(); [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_end(); [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:308:46 [INFO] [stdout] | [INFO] [stdout] 308 | 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: variable does not need to be mutable [INFO] [stdout] --> src/bin/iridium.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | 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:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let mut rx = repl.rx_pipe.take(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling handlebars v0.32.4 [INFO] [stderr] Compiling criterion v0.2.5 [INFO] [stderr] Compiling iridium v0.0.33 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/iridium.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | 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:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | 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 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:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | /// 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cluster/message.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/cluster/message.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: variable does not need to be mutable [INFO] [stdout] --> src/cluster/client.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | if let Ok(mut hello) = IridiumMessage::hello(alias, &self.bind_port.clone().unwrap()) { [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/cluster/server.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | ... 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 `buf` is never read [INFO] [stdout] --> src/assembler/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Assembler { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | buf: [u8; 4], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Assembler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: fields `at` and `application_id` are never read [INFO] [stdout] --> src/vm.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct VMEvent { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 41 | pub event: VMEventType, [INFO] [stdout] 42 | at: DateTime, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cluster/message.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_IridiumMessage` [INFO] [stdout] 10 | /// These are the message types that cluster nodes can exchange between themselves [INFO] [stdout] 11 | pub enum IridiumMessage { [INFO] [stdout] | -------------- `IridiumMessage` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` 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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/cluster/message.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IridiumMessage` [INFO] [stdout] 10 | /// These are the message types that cluster nodes can exchange between themselves [INFO] [stdout] 11 | pub enum IridiumMessage { [INFO] [stdout] | -------------- `IridiumMessage` is not local [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: 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 return value of `core::str::::trim_end` that must be used [INFO] [stdout] --> src/remote/client.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | buf.trim_end(); [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_end(); [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:308:46 [INFO] [stdout] | [INFO] [stdout] 308 | 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 `test` profile [unoptimized + debuginfo] target(s) in 13.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.5, nom v4.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "7536c7e133c238697a871d1a356dd8faa6485295b11c8e2c40cac229edce0a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7536c7e133c238697a871d1a356dd8faa6485295b11c8e2c40cac229edce0a8b", kill_on_drop: false }` [INFO] [stdout] 7536c7e133c238697a871d1a356dd8faa6485295b11c8e2c40cac229edce0a8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87d34cb61bc1d196377527e68764e662c442b1ba1145744e6615049c455c5954 [INFO] running `Command { std: "docker" "start" "-a" "87d34cb61bc1d196377527e68764e662c442b1ba1145744e6615049c455c5954", 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/comment_parsers.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / /// Looks for a comment start [INFO] [stderr] 5 | | /// Examples: [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/assembler/directive_parsers.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | /// Will try to parse out any of the Directive forms [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/instruction_parsers.rs:233:1 [INFO] [stderr] | [INFO] [stderr] 233 | /// Will try to parse out any of the Instruction forms [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/label_parsers.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | /// Looks for a user-defined label, such as `label1:` [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/label_parsers.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | /// Looks for a user-defined label, such as `label1:` [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/operand_parsers.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / /// Parser for all numbers, which have to be prefaced with `#` in our assembly language: [INFO] [stderr] 8 | | /// #100 [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/operand_parsers.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 30 | / /// Parser for all floats, which have to be prefaced with `#` in our assembly language: [INFO] [stderr] 31 | | /// #100.0 [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/cluster/message.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/cluster/message.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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: see for more information about checking conditional configuration [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: variable does not need to be mutable [INFO] [stderr] --> src/cluster/client.rs:53:27 [INFO] [stderr] | [INFO] [stderr] 53 | if let Ok(mut hello) = IridiumMessage::hello(alias, &self.bind_port.clone().unwrap()) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cluster/server.rs:30:33 [INFO] [stderr] | [INFO] [stderr] 30 | ... let mut cmgr_lock = cmgr.read().unwrap(); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cluster/server.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let mut cmgr = connection_manager.clone(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field `buf` is never read [INFO] [stderr] --> src/assembler/mod.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct Assembler { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 61 | buf: [u8; 4], [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Assembler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `symbol_type` is never read [INFO] [stderr] --> src/assembler/symbols.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Symbol { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 5 | symbol_type: SymbolType, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `at` and `application_id` are never read [INFO] [stderr] --> src/vm.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct VMEvent { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 41 | pub event: VMEventType, [INFO] [stderr] 42 | at: DateTime, [INFO] [stderr] | ^^ [INFO] [stderr] 43 | application_id: Uuid, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VMEvent` has derived impls for the traits `Debug` and `Clone`, but these are 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/cluster/message.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_IridiumMessage` [INFO] [stderr] 10 | /// These are the message types that cluster nodes can exchange between themselves [INFO] [stderr] 11 | pub enum IridiumMessage { [INFO] [stderr] | -------------- `IridiumMessage` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` 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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/cluster/message.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IridiumMessage` [INFO] [stderr] 10 | /// These are the message types that cluster nodes can exchange between themselves [INFO] [stderr] 11 | pub enum IridiumMessage { [INFO] [stderr] | -------------- `IridiumMessage` is not local [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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::str::::trim_end` that must be used [INFO] [stderr] --> src/remote/client.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | buf.trim_end(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this returns the trimmed string as a new slice, without modifying the original [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 80 | let _ = buf.trim_end(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/repl/mod.rs:308:46 [INFO] [stderr] | [INFO] [stderr] 308 | let addr = ip.to_owned() + ":" + port.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `iridium` (lib) generated 19 warnings (run `cargo fix --lib -p iridium` to apply 4 suggestions) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/iridium.rs:108:21 [INFO] [stderr] | [INFO] [stderr] 108 | let mut vm = VM::new() [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/iridium.rs:112:21 [INFO] [stderr] | [INFO] [stderr] 112 | let mut rx = repl.rx_pipe.take(); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `iridium` (bin "iridium") generated 2 warnings (run `cargo fix --bin "iridium"` to apply 2 suggestions) [INFO] [stderr] warning: `iridium` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] warning: `iridium` (bin "iridium" test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.5, nom v4.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/iridium-186bf17bb0e0c593) [INFO] [stdout] [INFO] [stdout] running 79 tests [INFO] [stdout] test assembler::directive_parsers::tests::test_parser_directive ... ok [INFO] [stdout] test assembler::instruction_parsers::tests::test_parse_call ... ok [INFO] [stdout] test assembler::instruction_parsers::tests::test_parse_cloop ... ok [INFO] [stdout] test assembler::directive_parsers::tests::test_string_directive ... ok [INFO] [stdout] test assembler::instruction_parsers::tests::test_parse_instruction_form_one ... ok [INFO] [stdout] test assembler::instruction_parsers::tests::test_parse_instruction_form_one_with_label ... ok [INFO] [stdout] test assembler::instruction_parsers::tests::test_parse_instruction_form_two ... ok [INFO] [stdout] test assembler::instruction_parsers::tests::test_parse_instruction_form_three ... ok [INFO] [stdout] test assembler::instruction_parsers::tests::test_parse_instruction_with_comment_one ... ok [INFO] [stdout] test assembler::label_parsers::tests::test_parse_label_usage ... ok [INFO] [stdout] test assembler::instruction_parsers::tests::test_parse_instruction_with_comment_two ... ok [INFO] [stdout] test assembler::label_parsers::tests::test_parse_label_declaration ... ok [INFO] [stdout] test assembler::operand_parsers::tests::test_parse_float_operand ... ok [INFO] [stdout] test assembler::operand_parsers::tests::test_parse_integer_operand ... ok [INFO] [stdout] test assembler::operand_parsers::tests::test_parse_string_operand ... ok [INFO] [stdout] test assembler::program_parsers::tests::test_complete_program ... ok [INFO] [stdout] test assembler::opcode_parsers::tests::test_opcode ... ok [INFO] [stdout] test assembler::program_parsers::tests::test_parse_cloop ... ok [INFO] [stdout] test assembler::program_parsers::tests::test_parse_program ... ok [INFO] [stdout] test assembler::program_parsers::tests::test_program_to_bytes ... ok [INFO] [stdout] test assembler::tests::test_bad_ro_data ... ok [INFO] [stdout] test assembler::tests::test_first_phase_inside_segment ... ok [INFO] [stdout] test assembler::tests::test_code_start_offset_written ... ok [INFO] [stdout] test assembler::register_parsers::tests::test_parse_register ... ok [INFO] [stdout] test assembler::program_parsers::tests::test_parse_load_greater_than_i16 ... ok [INFO] [stdout] test assembler::tests::test_first_phase_no_segment ... ok [INFO] [stdout] test instruction::tests::test_create_hlt ... ok [INFO] [stdout] test assembler::tests::test_ro_data_i32 ... ok [INFO] [stdout] test assembler::tests::test_ro_data_asciiz ... ok [INFO] [stdout] test instruction::tests::test_create_instruction ... ok [INFO] [stdout] test assembler::tests::test_assemble_program ... ok [INFO] [stdout] test instruction::tests::test_int_to_opcode ... ok [INFO] [stdout] test scheduler::tests::test_make_scheduler ... ok [INFO] [stdout] test assembler::tests::test_symbol_table ... ok [INFO] [stdout] test instruction::tests::test_str_to_opcode ... ok [INFO] [stdout] test vm::tests::test_add_opcode ... ok [INFO] [stdout] test vm::tests::test_cloop_opcode ... ok [INFO] [stdout] test vm::tests::test_div_floating_point_opcode ... ok [INFO] [stdout] test vm::tests::test_create_vm ... ok [INFO] [stdout] test vm::tests::test_and_opcode ... ok [INFO] [stdout] test vm::tests::test_call_opcode ... ok [INFO] [stdout] test vm::tests::test_aloc_opcode ... ok [INFO] [stdout] test vm::tests::test_add_floating_point_opcode ... ok [INFO] [stdout] test vm::tests::test_gte_opcode ... ok [INFO] [stdout] test vm::tests::test_gt_floating_point_opcode ... ok [INFO] [stdout] test vm::tests::test_gte_floating_point_opcode ... ok [INFO] [stdout] test vm::tests::test_hlt_opcode ... ok [INFO] [stdout] test vm::tests::test_eq_opcode ... ok [INFO] [stdout] test vm::tests::test_gt_opcode ... ok [INFO] [stdout] test vm::tests::test_eq_floating_point_opcode ... ok [INFO] [stdout] test vm::tests::test_div_opcode ... ok [INFO] [stdout] test vm::tests::test_jmpf_opcode ... ok [INFO] [stdout] test vm::tests::test_loadm_opcode ... ok [INFO] [stdout] test vm::tests::test_jmpb_opcode ... ok [INFO] [stdout] test vm::tests::test_load_opcode ... ok [INFO] [stdout] test vm::tests::test_load_floating_point_opcode ... ok [INFO] [stdout] test vm::tests::test_jmp_opcode ... ok [INFO] [stdout] test vm::tests::test_lt_floating_point_opcode ... ok [INFO] [stdout] test vm::tests::test_igl_opcode ... ok [INFO] [stdout] test vm::tests::test_lte_floating_point_opcode ... ok [INFO] [stdout] test vm::tests::test_jmpe_opcode ... ok [INFO] [stdout] test vm::tests::test_lt_opcode ... ok [INFO] [stdout] test vm::tests::test_lui_opcode ... ok [INFO] [stdout] test vm::tests::test_mul_floating_point_opcode ... ok [INFO] [stdout] test vm::tests::test_lte_opcode ... ok [INFO] [stdout] test vm::tests::test_mul_opcode ... ok [INFO] [stdout] test vm::tests::test_neq_floating_point_opcode ... ok [INFO] [stdout] test vm::tests::test_or_opcode ... ok [INFO] [stdout] test vm::tests::test_prts_opcode ... ok [INFO] [stdout] test vm::tests::test_setm_opcode ... ok [INFO] [stdout] test vm::tests::test_shr_opcode ... ok [INFO] [stdout] test vm::tests::test_neq_opcode ... ok [INFO] [stdout] test vm::tests::test_shl_opcode ... ok [INFO] [stdout] test vm::tests::test_not_opcode ... ok [INFO] [stdout] test vm::tests::test_sub_opcode ... ok [INFO] [stdout] test vm::tests::test_pop_opcode ... ok [INFO] [stdout] test vm::tests::test_sub_floating_point_opcode ... ok [INFO] [stdout] test vm::tests::test_push_opcode ... ok [INFO] [stdout] test vm::tests::test_xor_opcode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 79 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/iridium.rs (/opt/rustwide/target/debug/deps/iridium-786345ec0b32f077) [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/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-3ba400271356d8ad) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_hlt ... ok [INFO] [stdout] test test_call_return ... ok [INFO] [stdout] test create_vm ... ok [INFO] [stdout] test test_inc_loop ... ok [INFO] [stdout] test test_function_call ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests iridium [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" "87d34cb61bc1d196377527e68764e662c442b1ba1145744e6615049c455c5954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d34cb61bc1d196377527e68764e662c442b1ba1145744e6615049c455c5954", kill_on_drop: false }` [INFO] [stdout] 87d34cb61bc1d196377527e68764e662c442b1ba1145744e6615049c455c5954