[INFO] cloning repository https://github.com/anpage/inlprogalt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anpage/inlprogalt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanpage%2Finlprogalt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanpage%2Finlprogalt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c5f5539dab22396fa0f3797c607f94e930c2362 [INFO] checking anpage/inlprogalt against try#9053a8ad740a9e131b53ea98acecf68cf79134fe for pr-137045 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanpage%2Finlprogalt" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anpage/inlprogalt on toolchain 9053a8ad740a9e131b53ea98acecf68cf79134fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anpage/inlprogalt [INFO] finished tweaking git repo https://github.com/anpage/inlprogalt [INFO] tweaked toml for git repo https://github.com/anpage/inlprogalt written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anpage/inlprogalt 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" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/anpage/libusb-rs` [INFO] [stderr] Updating git repository `https://github.com/a1ien/libusb-sys` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bcd20d033150be0ff3b441aa8b875fb1a43b81d33b552b6bbcc1366cecf3f2d [INFO] running `Command { std: "docker" "start" "-a" "9bcd20d033150be0ff3b441aa8b875fb1a43b81d33b552b6bbcc1366cecf3f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bcd20d033150be0ff3b441aa8b875fb1a43b81d33b552b6bbcc1366cecf3f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bcd20d033150be0ff3b441aa8b875fb1a43b81d33b552b6bbcc1366cecf3f2d", kill_on_drop: false }` [INFO] [stdout] 9bcd20d033150be0ff3b441aa8b875fb1a43b81d33b552b6bbcc1366cecf3f2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef4cd87b11f4f62267edce2b389490565c63ff0fac0add1938eec6bc111cf497 [INFO] running `Command { std: "docker" "start" "-a" "ef4cd87b11f4f62267edce2b389490565c63ff0fac0add1938eec6bc111cf497", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Checking bit-set v0.5.0 [INFO] [stderr] Compiling libusb-sys v0.3.0 (https://github.com/a1ien/libusb-sys#471864da) [INFO] [stderr] Checking libusb v0.4.0 (https://github.com/anpage/libusb-rs#50cbd793) [INFO] [stderr] Checking inlprogalt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/buffer.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | proto::buffer::ALLOCATE_BUFFER0.call(handle, (buff_0_id<<8)|buff_0_base_bank, numbanks)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub const ALLOCATE_BUFFER0: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/buffer.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | proto::buffer::ALLOCATE_BUFFER1.call(handle, (buff_1_id<<8)|buff_1_base_bank, numbanks)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub const ALLOCATE_BUFFER1: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/buffer.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | proto::buffer::SET_RELOAD_PAGENUM0.call(handle, buff_0_firstpage, reload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub const SET_RELOAD_PAGENUM0: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/buffer.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | proto::buffer::SET_RELOAD_PAGENUM1.call(handle, buff_1_firstpage, reload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub const SET_RELOAD_PAGENUM1: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | proto::operation::SET_OPERATION.call(handle, proto::buffer::RESET, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/operation.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SET_OPERATION: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | proto::buffer::RAW_BUFFER_RESET.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub const RAW_BUFFER_RESET: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | proto::buffer::SET_MEM_N_PART.call(handle, mem<<8|proto::buffer::MASKROM, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const SET_MEM_N_PART: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | proto::buffer::SET_MEM_N_PART.call(handle, mem<<8|proto::buffer::MASKROM, 1)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const SET_MEM_N_PART: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | proto::buffer::SET_MAP_N_MAPVAR.call(handle, map<<8|proto::buffer::NOVAR, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const SET_MAP_N_MAPVAR: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | proto::buffer::SET_MAP_N_MAPVAR.call(handle, map<<8|proto::buffer::NOVAR, 1)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const SET_MAP_N_MAPVAR: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | proto::operation::SET_OPERATION.call(handle, proto::buffer::STARTDUMP, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/operation.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SET_OPERATION: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cur_buff_status = proto::buffer::GET_CUR_BUFF_STATUS.call(handle, 0, 0)?[2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub const GET_CUR_BUFF_STATUS: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | cur_buff_status = proto::buffer::GET_CUR_BUFF_STATUS.call(handle, 0, 0)?[2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub const GET_CUR_BUFF_STATUS: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | out.append(&mut proto::buffer::BUFF_PAYLOAD.call(handle, 0, 0)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub const BUFF_PAYLOAD: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/genesis.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | proto::io::IO_RESET.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const IO_RESET: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/genesis.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | proto::io::SEGA_INIT.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub const SEGA_INIT: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/genesis.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | proto::io::IO_RESET.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const IO_RESET: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/genesis.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | proto::sega::SET_BANK.call(handle, read_count, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/sega.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SET_BANK: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/buffer.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | proto::buffer::ALLOCATE_BUFFER0.call(handle, (buff_0_id<<8)|buff_0_base_bank, numbanks)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub const ALLOCATE_BUFFER0: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/buffer.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | proto::buffer::ALLOCATE_BUFFER1.call(handle, (buff_1_id<<8)|buff_1_base_bank, numbanks)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub const ALLOCATE_BUFFER1: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/n64.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | proto::io::IO_RESET.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const IO_RESET: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/n64.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | proto::io::N64_INIT.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub const N64_INIT: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/n64.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | proto::io::IO_RESET.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const IO_RESET: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/buffer.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | proto::buffer::SET_RELOAD_PAGENUM0.call(handle, buff_0_firstpage, reload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub const SET_RELOAD_PAGENUM0: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/buffer.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | proto::buffer::SET_RELOAD_PAGENUM1.call(handle, buff_1_firstpage, reload)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub const SET_RELOAD_PAGENUM1: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | proto::operation::SET_OPERATION.call(handle, proto::buffer::RESET, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/operation.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SET_OPERATION: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | proto::buffer::RAW_BUFFER_RESET.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub const RAW_BUFFER_RESET: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | proto::buffer::SET_MEM_N_PART.call(handle, mem<<8|proto::buffer::MASKROM, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const SET_MEM_N_PART: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | proto::buffer::SET_MEM_N_PART.call(handle, mem<<8|proto::buffer::MASKROM, 1)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const SET_MEM_N_PART: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | proto::buffer::SET_MAP_N_MAPVAR.call(handle, map<<8|proto::buffer::NOVAR, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const SET_MAP_N_MAPVAR: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | proto::buffer::SET_MAP_N_MAPVAR.call(handle, map<<8|proto::buffer::NOVAR, 1)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const SET_MAP_N_MAPVAR: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | proto::operation::SET_OPERATION.call(handle, proto::buffer::STARTDUMP, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/operation.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SET_OPERATION: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cur_buff_status = proto::buffer::GET_CUR_BUFF_STATUS.call(handle, 0, 0)?[2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub const GET_CUR_BUFF_STATUS: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | cur_buff_status = proto::buffer::GET_CUR_BUFF_STATUS.call(handle, 0, 0)?[2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub const GET_CUR_BUFF_STATUS: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/util.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | out.append(&mut proto::buffer::BUFF_PAYLOAD.call(handle, 0, 0)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/buffer.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub const BUFF_PAYLOAD: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/genesis.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | proto::io::IO_RESET.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const IO_RESET: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/genesis.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | proto::io::SEGA_INIT.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub const SEGA_INIT: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/genesis.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | proto::io::IO_RESET.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const IO_RESET: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/n64.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | proto::n64::N64_SET_BANK.call(handle, BANK_BASE+read_count, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/n64.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const N64_SET_BANK: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/n64.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | proto::n64::N64_RELEASE_BUS.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/n64.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const N64_RELEASE_BUS: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/genesis.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | proto::sega::SET_BANK.call(handle, read_count, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/sega.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SET_BANK: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/n64.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | proto::io::IO_RESET.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const IO_RESET: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/n64.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | proto::io::N64_INIT.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub const N64_INIT: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/n64.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | proto::io::IO_RESET.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/io.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const IO_RESET: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/n64.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | proto::n64::N64_SET_BANK.call(handle, BANK_BASE+read_count, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/n64.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const N64_SET_BANK: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/n64.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | proto::n64::N64_RELEASE_BUS.call(handle, 0, 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> src/proto/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn call(&mut self, handle: &libusb::DeviceHandle, operand: u16, misc: u16) -> libusb::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/proto/n64.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const N64_RELEASE_BUS: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEGA_INIT` is never used [INFO] [stdout] --> src/proto/io.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const SEGA_INIT: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS_ROM_PAGE0` is never used [INFO] [stdout] --> src/proto/buffer.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const GENESIS_ROM_PAGE0: u16 = 0x28; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS_ROM_PAGE1` is never used [INFO] [stdout] --> src/proto/buffer.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const GENESIS_ROM_PAGE1: u16 = 0x29; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DUMPING` is never used [INFO] [stdout] --> src/proto/buffer.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const DUMPING: u16 = 0xD0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUEST_SEGA` is never used [INFO] [stdout] --> src/proto/sega.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const REQUEST_SEGA: u8 = 14; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SET_BANK` is never used [INFO] [stdout] --> src/proto/sega.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SET_BANK: Operation = Operation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/genesis.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn process(handle: &libusb::DeviceHandle) -> libusb::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dump_rom` is never used [INFO] [stdout] --> src/genesis.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn dump_rom(handle: &libusb::DeviceHandle) -> libusb::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEGA_INIT` is never used [INFO] [stdout] --> src/proto/io.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const SEGA_INIT: Operation = Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS_ROM_PAGE0` is never used [INFO] [stdout] --> src/proto/buffer.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const GENESIS_ROM_PAGE0: u16 = 0x28; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENESIS_ROM_PAGE1` is never used [INFO] [stdout] --> src/proto/buffer.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const GENESIS_ROM_PAGE1: u16 = 0x29; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DUMPING` is never used [INFO] [stdout] --> src/proto/buffer.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const DUMPING: u16 = 0xD0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUEST_SEGA` is never used [INFO] [stdout] --> src/proto/sega.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const REQUEST_SEGA: u8 = 14; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SET_BANK` is never used [INFO] [stdout] --> src/proto/sega.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SET_BANK: Operation = Operation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/genesis.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn process(handle: &libusb::DeviceHandle) -> libusb::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dump_rom` is never used [INFO] [stdout] --> src/genesis.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn dump_rom(handle: &libusb::DeviceHandle) -> libusb::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.13s [INFO] running `Command { std: "docker" "inspect" "ef4cd87b11f4f62267edce2b389490565c63ff0fac0add1938eec6bc111cf497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef4cd87b11f4f62267edce2b389490565c63ff0fac0add1938eec6bc111cf497", kill_on_drop: false }` [INFO] [stdout] ef4cd87b11f4f62267edce2b389490565c63ff0fac0add1938eec6bc111cf497