[INFO] cloning repository https://github.com/vakabus/rumipsem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vakabus/rumipsem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvakabus%2Frumipsem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvakabus%2Frumipsem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5eb40604e61a63db9ae12679df0a39052f3d65c2 [INFO] checking vakabus/rumipsem against try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvakabus%2Frumipsem" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vakabus/rumipsem on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vakabus/rumipsem [INFO] finished tweaking git repo https://github.com/vakabus/rumipsem [INFO] tweaked toml for git repo https://github.com/vakabus/rumipsem written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vakabus/rumipsem 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" "+09ea730c380b8b9acb96ff87b724c45df920f793" "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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03d7b1a36223ab76f38f517b506342567442447f3df0054cc5dc5e77e0346b96 [INFO] running `Command { std: "docker" "start" "-a" "03d7b1a36223ab76f38f517b506342567442447f3df0054cc5dc5e77e0346b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03d7b1a36223ab76f38f517b506342567442447f3df0054cc5dc5e77e0346b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03d7b1a36223ab76f38f517b506342567442447f3df0054cc5dc5e77e0346b96", kill_on_drop: false }` [INFO] [stdout] 03d7b1a36223ab76f38f517b506342567442447f3df0054cc5dc5e77e0346b96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8af6da44a56f7e6a458fa59f06206d3554e400cbe6ae3a47468efa8c7d5a479 [INFO] running `Command { std: "docker" "start" "-a" "b8af6da44a56f7e6a458fa59f06206d3554e400cbe6ae3a47468efa8c7d5a479", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking scroll v0.7.0 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking argparse v0.2.1 [INFO] [stderr] Checking chrono v0.4.3 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Compiling scroll_derive v0.7.0 [INFO] [stderr] Checking simplelog v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Checking goblin v0.0.11 [INFO] [stderr] Checking serde_json v1.0.19 [INFO] [stderr] Checking rumipsem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu/instructions.rs:490:17 [INFO] [stdout] | [INFO] [stdout] 490 | let mut link; [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/cpu/instructions.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | let mut inst; [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/cpu/instructions.rs:490:17 [INFO] [stdout] | [INFO] [stdout] 490 | let mut link; [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/cpu/instructions.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | let mut inst; [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/syscalls.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | let mut oldsigaction = self.sigactions.insert( [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/syscalls.rs:657:25 [INFO] [stdout] | [INFO] [stdout] 657 | let mut iovec = translate_iovec_libc(arg2, arg3, memory); [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/syscalls.rs:678:25 [INFO] [stdout] | [INFO] [stdout] 678 | let mut iovec = translate_iovec(arg2, arg3, memory); [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/syscalls.rs:691:33 [INFO] [stdout] | [INFO] [stdout] 691 | ... let mut already_written = 0; [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/syscalls.rs:737:25 [INFO] [stdout] | [INFO] [stdout] 737 | let mut result = unsafe { ::libc::lseek(fd as i32, offset, whence as i32) }; [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/syscalls.rs:884:17 [INFO] [stdout] | [INFO] [stdout] 884 | let mut flags = translate_signal_flags(sigact.sa_flags); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FlowChangeImmediate` is never constructed [INFO] [stdout] --> src/cpu/event.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CPUEvent { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | FlowChangeImmediate(u32), // this is here to support compact branch [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RETURN_ADDRESS` is never used [INFO] [stdout] --> src/cpu/registers.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const RETURN_ADDRESS: u32 = 31; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_instruction_number` and `disable_trace_checking` are never used [INFO] [stdout] --> src/cpu/watchdog.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Watchdog { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_instruction_number(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn disable_trace_checking(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cpu/control.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | EMULATOR_STATE.get_or_insert(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cpu/control.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | EMULATOR_STATE.as_mut().expect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/cpu/control.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | EMULATOR_STATE.as_ref().expect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/syscalls.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | let mut oldsigaction = self.sigactions.insert( [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/syscalls.rs:657:25 [INFO] [stdout] | [INFO] [stdout] 657 | let mut iovec = translate_iovec_libc(arg2, arg3, memory); [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/syscalls.rs:678:25 [INFO] [stdout] | [INFO] [stdout] 678 | let mut iovec = translate_iovec(arg2, arg3, memory); [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/syscalls.rs:691:33 [INFO] [stdout] | [INFO] [stdout] 691 | ... let mut already_written = 0; [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/syscalls.rs:737:25 [INFO] [stdout] | [INFO] [stdout] 737 | let mut result = unsafe { ::libc::lseek(fd as i32, offset, whence as i32) }; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/cpu/watchdog.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `InstructionRecord` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_InstructionRecord` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/cpu/instructions_constants.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | _ => panic!("Unknown opcode {:06b}."), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 114 | _ => panic!("Unknown opcode {:06b}.", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 114 | _ => panic!("{}", "Unknown opcode {:06b}."), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/syscalls.rs:884:17 [INFO] [stdout] | [INFO] [stdout] 884 | let mut flags = translate_signal_flags(sigact.sa_flags); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FlowChangeImmediate` is never constructed [INFO] [stdout] --> src/cpu/event.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CPUEvent { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | FlowChangeImmediate(u32), // this is here to support compact branch [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RETURN_ADDRESS` is never used [INFO] [stdout] --> src/cpu/registers.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const RETURN_ADDRESS: u32 = 31; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_instruction_number` and `disable_trace_checking` are never used [INFO] [stdout] --> src/cpu/watchdog.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Watchdog { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_instruction_number(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn disable_trace_checking(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cpu/control.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | EMULATOR_STATE.get_or_insert(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/cpu/control.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | EMULATOR_STATE.as_mut().expect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/cpu/control.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | EMULATOR_STATE.as_ref().expect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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/cpu/watchdog.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `InstructionRecord` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_InstructionRecord` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/cpu/instructions_constants.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | _ => panic!("Unknown opcode {:06b}."), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 114 | _ => panic!("Unknown opcode {:06b}.", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 114 | _ => panic!("{}", "Unknown opcode {:06b}."), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.2 [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" "b8af6da44a56f7e6a458fa59f06206d3554e400cbe6ae3a47468efa8c7d5a479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8af6da44a56f7e6a458fa59f06206d3554e400cbe6ae3a47468efa8c7d5a479", kill_on_drop: false }` [INFO] [stdout] b8af6da44a56f7e6a458fa59f06206d3554e400cbe6ae3a47468efa8c7d5a479