[INFO] fetching crate waterbear 0.12.0... [INFO] testing waterbear-0.12.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate waterbear 0.12.0 into /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate waterbear 0.12.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.46) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 waterbear-instruction-derive v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7227baecb141d6ab6a5e2a2d9516cca81e3d98bc9679f4f2bd5a653011e8d6d1 [INFO] running `Command { std: "docker" "start" "-a" "7227baecb141d6ab6a5e2a2d9516cca81e3d98bc9679f4f2bd5a653011e8d6d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7227baecb141d6ab6a5e2a2d9516cca81e3d98bc9679f4f2bd5a653011e8d6d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7227baecb141d6ab6a5e2a2d9516cca81e3d98bc9679f4f2bd5a653011e8d6d1", kill_on_drop: false }` [INFO] [stdout] 7227baecb141d6ab6a5e2a2d9516cca81e3d98bc9679f4f2bd5a653011e8d6d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36a0bf2ffc793de8639e96e6143b63623e68ea4fac22837bb141e4c536e97bd9 [INFO] running `Command { std: "docker" "start" "-a" "36a0bf2ffc793de8639e96e6143b63623e68ea4fac22837bb141e4c536e97bd9", 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.3.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling waterbear v0.12.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [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: 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: 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.47s [INFO] running `Command { std: "docker" "inspect" "36a0bf2ffc793de8639e96e6143b63623e68ea4fac22837bb141e4c536e97bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36a0bf2ffc793de8639e96e6143b63623e68ea4fac22837bb141e4c536e97bd9", kill_on_drop: false }` [INFO] [stdout] 36a0bf2ffc793de8639e96e6143b63623e68ea4fac22837bb141e4c536e97bd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52ab5f3fd8e20304fef517b556c478a12df853529f3f6b9e27736d9add340f88 [INFO] running `Command { std: "docker" "start" "-a" "52ab5f3fd8e20304fef517b556c478a12df853529f3f6b9e27736d9add340f88", 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: 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: 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: 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: 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] [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: 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: 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "52ab5f3fd8e20304fef517b556c478a12df853529f3f6b9e27736d9add340f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ab5f3fd8e20304fef517b556c478a12df853529f3f6b9e27736d9add340f88", kill_on_drop: false }` [INFO] [stdout] 52ab5f3fd8e20304fef517b556c478a12df853529f3f6b9e27736d9add340f88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97fef8650edca2ea1bdccc98dc1feccf8ed41259912fde7c4f7e334cfc8c2445 [INFO] running `Command { std: "docker" "start" "-a" "97fef8650edca2ea1bdccc98dc1feccf8ed41259912fde7c4f7e334cfc8c2445", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/disasm.rs:1206:39 [INFO] [stderr] | [INFO] [stderr] 1206 | let mut new_comment = old.trim_right().to_owned(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 1206 - let mut new_comment = old.trim_right().to_owned(); [INFO] [stderr] 1206 + let mut new_comment = old.trim_end().to_owned(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/disasm.rs:1207:20 [INFO] [stderr] | [INFO] [stderr] 1207 | if old.trim_right().ends_with(".") { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 1207 - if old.trim_right().ends_with(".") { [INFO] [stderr] 1207 + if old.trim_end().ends_with(".") { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/disasm.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | NoInstruction(usize, u8), [INFO] [stderr] | ------------- ^^^^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 12 - NoInstruction(usize, u8), [INFO] [stderr] 12 + NoInstruction((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/disasm.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | NoSuchFile(String, std::io::Error) [INFO] [stderr] | ---------- ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 13 - NoSuchFile(String, std::io::Error) [INFO] [stderr] 13 + NoSuchFile((), ()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/instruction.rs:548:23 [INFO] [stderr] | [INFO] [stderr] 548 | let r16 = mem::transmute::(rel as u16); [INFO] [stderr] | --------------------------^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::cast_signed` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/instruction.rs:556:22 [INFO] [stderr] | [INFO] [stderr] 556 | let r8 = mem::transmute::(rel as u8); [INFO] [stderr] | ------------------------^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::cast_signed` [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/parser.rs:266:42 [INFO] [stderr] | [INFO] [stderr] 266 | new_lines.push(lines[idx].clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/asm.rs:196:48 [INFO] [stderr] | [INFO] [stderr] 196 | Include(_, _, _) => panic!("There should be no .include directives left at this point".to_string()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 196 | Include(_, _, _) => panic!("{}", "There should be no .include directives left at this point".to_string()), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `waterbear` (lib) generated 8 warnings (run `cargo fix --lib -p waterbear` to apply 6 suggestions) [INFO] [stderr] warning: `waterbear` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/waterbear-e7d4aaec2a65d1e4) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test input::tests::test_update ... ok [INFO] [stdout] test instruction::test::test_decode ... ok [INFO] [stdout] test instruction::test::test_encode ... ok [INFO] [stdout] test lexer::tests::test_clean_str ... ok [INFO] [stdout] test input::tests::test_update_past_end ... ok [INFO] [stdout] test lexer::tests::test_end_of_line ... ok [INFO] [stdout] test instruction::test::test_decode2 ... ok [INFO] [stdout] test lexer::tests::test_skip_comment ... ok [INFO] [stdout] test input::tests::test_skip_whitespace ... ok [INFO] [stdout] test lexer::tests::test_lex_input ... ok [INFO] [stdout] test parser::test::test_parser_cnop ... ok [INFO] [stdout] test lexer::tests::test_read_token ... ok [INFO] [stdout] test parser::test::test_parser_bytestring ... ok [INFO] [stdout] test parser::test::test_parser_org ... ok [INFO] [stdout] test parser::test::test_expression_parser_eval ... ok [INFO] [stdout] test parser::test::test_parser_word ... ok [INFO] [stdout] test parser::test::test_parser_label ... ok [INFO] [stdout] test parser::test::test_parser_label2 ... ok [INFO] [stdout] test parser::test::test_parser_include ... ok [INFO] [stdout] test parser::test::test_expression_parser ... ok [INFO] [stdout] test lexer::tests::test_lex_input_bad_token ... ok [INFO] [stdout] test parser::test::test_parser_byte ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/waterbear-10e6f9d7e4c964b2) [INFO] [stdout] [INFO] [stderr] Doc-tests waterbear [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] [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" "97fef8650edca2ea1bdccc98dc1feccf8ed41259912fde7c4f7e334cfc8c2445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97fef8650edca2ea1bdccc98dc1feccf8ed41259912fde7c4f7e334cfc8c2445", kill_on_drop: false }` [INFO] [stdout] 97fef8650edca2ea1bdccc98dc1feccf8ed41259912fde7c4f7e334cfc8c2445