[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 master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvakabus%2Frumipsem" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vakabus/rumipsem on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded scroll_derive v0.7.0 [INFO] [stderr] Downloaded argparse v0.2.1 [INFO] [stderr] Downloaded miniz-sys v0.1.10 [INFO] [stderr] Downloaded flate2 v0.2.20 [INFO] [stderr] Downloaded serde_json v1.0.19 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded serde v1.0.66 [INFO] [stderr] Downloaded chrono v0.4.3 [INFO] [stderr] Downloaded goblin v0.0.11 [INFO] [stderr] Downloaded syn v0.14.2 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded proc-macro2 v0.4.6 [INFO] [stderr] Downloaded nix v0.11.0 [INFO] [stderr] Downloaded quote v0.6.3 [INFO] [stderr] Downloaded serde_derive v1.0.66 [INFO] [stderr] Downloaded num-integer v0.1.38 [INFO] [stderr] Downloaded scroll v0.7.0 [INFO] [stderr] Downloaded cc v1.0.17 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded simplelog v0.5.2 [INFO] [stderr] Downloaded byteorder v1.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7062df8320fe6914ee76a84191194a425348593002427871df0bf836b02a304 [INFO] running `Command { std: "docker" "start" "-a" "b7062df8320fe6914ee76a84191194a425348593002427871df0bf836b02a304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7062df8320fe6914ee76a84191194a425348593002427871df0bf836b02a304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7062df8320fe6914ee76a84191194a425348593002427871df0bf836b02a304", kill_on_drop: false }` [INFO] [stdout] b7062df8320fe6914ee76a84191194a425348593002427871df0bf836b02a304 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f39cc6c4183d580f64a99c8219f19f9e89aafc2fe9703e41d698fdfed6a4fd2 [INFO] running `Command { std: "docker" "start" "-a" "4f39cc6c4183d580f64a99c8219f19f9e89aafc2fe9703e41d698fdfed6a4fd2", 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] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Checking scroll v0.7.0 [INFO] [stderr] Checking argparse v0.2.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling scroll_derive v0.7.0 [INFO] [stderr] Checking chrono v0.4.3 [INFO] [stderr] Checking goblin v0.0.11 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking simplelog v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.66 [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/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 [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 [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 [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] [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 [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 [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 [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 9.04s [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" "4f39cc6c4183d580f64a99c8219f19f9e89aafc2fe9703e41d698fdfed6a4fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f39cc6c4183d580f64a99c8219f19f9e89aafc2fe9703e41d698fdfed6a4fd2", kill_on_drop: false }` [INFO] [stdout] 4f39cc6c4183d580f64a99c8219f19f9e89aafc2fe9703e41d698fdfed6a4fd2