[INFO] fetching crate waterbear 0.12.0... [INFO] building waterbear-0.12.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate waterbear 0.12.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate waterbear 0.12.0 [INFO] finished tweaking crates.io crate waterbear 0.12.0 [INFO] tweaked toml for crates.io crate waterbear 0.12.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate waterbear 0.12.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.48) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fa0b2cce2b4b3f9b2c0797d6cd8da30a53f603ed7e282846445e41acd1fdc7c [INFO] running `Command { std: "docker" "start" "-a" "1fa0b2cce2b4b3f9b2c0797d6cd8da30a53f603ed7e282846445e41acd1fdc7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fa0b2cce2b4b3f9b2c0797d6cd8da30a53f603ed7e282846445e41acd1fdc7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa0b2cce2b4b3f9b2c0797d6cd8da30a53f603ed7e282846445e41acd1fdc7c", kill_on_drop: false }` [INFO] [stdout] 1fa0b2cce2b4b3f9b2c0797d6cd8da30a53f603ed7e282846445e41acd1fdc7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee6127c004590b264a3131e7739454e08987f0cb92829524b8ff7a65cf1b7e8c [INFO] running `Command { std: "docker" "start" "-a" "ee6127c004590b264a3131e7739454e08987f0cb92829524b8ff7a65cf1b7e8c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling waterbear v0.12.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling waterbear-instruction-derive v0.1.0 [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/disasm.rs:1206:39 [INFO] [stdout] | [INFO] [stdout] 1206 | let mut new_comment = old.trim_right().to_owned(); [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] 1206 - let mut new_comment = old.trim_right().to_owned(); [INFO] [stdout] 1206 + let mut new_comment = old.trim_end().to_owned(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/disasm.rs:1207:20 [INFO] [stdout] | [INFO] [stdout] 1207 | if old.trim_right().ends_with(".") { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1207 - if old.trim_right().ends_with(".") { [INFO] [stdout] 1207 + if old.trim_end().ends_with(".") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:548:23 [INFO] [stdout] | [INFO] [stdout] 548 | let r16 = mem::transmute::(rel as u16); [INFO] [stdout] | --------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:556:22 [INFO] [stdout] | [INFO] [stdout] 556 | let r8 = mem::transmute::(rel as u8); [INFO] [stdout] | ------------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:196:48 [INFO] [stdout] | [INFO] [stdout] 196 | Include(_, _, _) => panic!("There should be no .include directives left at this point".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 196 | Include(_, _, _) => panic!("{}", "There should be no .include directives left at this point".to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/disasm.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | NoInstruction(usize, u8), [INFO] [stdout] | ------------- ^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 - NoInstruction(usize, u8), [INFO] [stdout] 12 + NoInstruction((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/disasm.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | NoSuchFile(String, std::io::Error) [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 - NoSuchFile(String, std::io::Error) [INFO] [stdout] 13 + NoSuchFile((), ()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:266:42 [INFO] [stdout] | [INFO] [stdout] 266 | new_lines.push(lines[idx].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[Token]` does not implement `Clone`, so calling `clone` on `&[Token]` 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 22.84s [INFO] running `Command { std: "docker" "inspect" "ee6127c004590b264a3131e7739454e08987f0cb92829524b8ff7a65cf1b7e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee6127c004590b264a3131e7739454e08987f0cb92829524b8ff7a65cf1b7e8c", kill_on_drop: false }` [INFO] [stdout] ee6127c004590b264a3131e7739454e08987f0cb92829524b8ff7a65cf1b7e8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4047f07b70ae55c20591ae7b22843a817144765e5ffb742c764923cf56d96676 [INFO] running `Command { std: "docker" "start" "-a" "4047f07b70ae55c20591ae7b22843a817144765e5ffb742c764923cf56d96676", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/disasm.rs:1206:39 [INFO] [stdout] | [INFO] [stdout] 1206 | let mut new_comment = old.trim_right().to_owned(); [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] 1206 - let mut new_comment = old.trim_right().to_owned(); [INFO] [stdout] 1206 + let mut new_comment = old.trim_end().to_owned(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/disasm.rs:1207:20 [INFO] [stdout] | [INFO] [stdout] 1207 | if old.trim_right().ends_with(".") { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1207 - if old.trim_right().ends_with(".") { [INFO] [stdout] 1207 + if old.trim_end().ends_with(".") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:548:23 [INFO] [stdout] | [INFO] [stdout] 548 | let r16 = mem::transmute::(rel as u16); [INFO] [stdout] | --------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:556:22 [INFO] [stdout] | [INFO] [stdout] 556 | let r8 = mem::transmute::(rel as u8); [INFO] [stdout] | ------------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:196:48 [INFO] [stdout] | [INFO] [stdout] 196 | Include(_, _, _) => panic!("There should be no .include directives left at this point".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 196 | Include(_, _, _) => panic!("{}", "There should be no .include directives left at this point".to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/disasm.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | NoInstruction(usize, u8), [INFO] [stdout] | ------------- ^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 - NoInstruction(usize, u8), [INFO] [stdout] 12 + NoInstruction((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/disasm.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | NoSuchFile(String, std::io::Error) [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 - NoSuchFile(String, std::io::Error) [INFO] [stdout] 13 + NoSuchFile((), ()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:266:42 [INFO] [stdout] | [INFO] [stdout] 266 | new_lines.push(lines[idx].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[Token]` does not implement `Clone`, so calling `clone` on `&[Token]` 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] Compiling waterbear v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/disasm.rs:1206:39 [INFO] [stdout] | [INFO] [stdout] 1206 | let mut new_comment = old.trim_right().to_owned(); [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] 1206 - let mut new_comment = old.trim_right().to_owned(); [INFO] [stdout] 1206 + let mut new_comment = old.trim_end().to_owned(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/disasm.rs:1207:20 [INFO] [stdout] | [INFO] [stdout] 1207 | if old.trim_right().ends_with(".") { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1207 - if old.trim_right().ends_with(".") { [INFO] [stdout] 1207 + if old.trim_end().ends_with(".") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/asm.rs:196:48 [INFO] [stdout] | [INFO] [stdout] 196 | Include(_, _, _) => panic!("There should be no .include directives left at this point".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 196 | Include(_, _, _) => panic!("{}", "There should be no .include directives left at this point".to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:266:42 [INFO] [stdout] | [INFO] [stdout] 266 | new_lines.push(lines[idx].clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[Token]` does not implement `Clone`, so calling `clone` on `&[Token]` 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: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:548:23 [INFO] [stdout] | [INFO] [stdout] 548 | let r16 = mem::transmute::(rel as u16); [INFO] [stdout] | --------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/instruction.rs:556:22 [INFO] [stdout] | [INFO] [stdout] 556 | let r8 = mem::transmute::(rel as u8); [INFO] [stdout] | ------------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/disasm.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | NoInstruction(usize, u8), [INFO] [stdout] | ------------- ^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 - NoInstruction(usize, u8), [INFO] [stdout] 12 + NoInstruction((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/disasm.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | NoSuchFile(String, std::io::Error) [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 - NoSuchFile(String, std::io::Error) [INFO] [stdout] 13 + NoSuchFile((), ()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "4047f07b70ae55c20591ae7b22843a817144765e5ffb742c764923cf56d96676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4047f07b70ae55c20591ae7b22843a817144765e5ffb742c764923cf56d96676", kill_on_drop: false }` [INFO] [stdout] 4047f07b70ae55c20591ae7b22843a817144765e5ffb742c764923cf56d96676