[INFO] cloning repository https://github.com/jono94/rust-ethereum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jono94/rust-ethereum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjono94%2Frust-ethereum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjono94%2Frust-ethereum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1095544b3fbfcc971fbe24d7011f6017ae99c9fa [INFO] checking jono94/rust-ethereum against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjono94%2Frust-ethereum" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jono94/rust-ethereum [INFO] finished tweaking git repo https://github.com/jono94/rust-ethereum [INFO] tweaked toml for git repo https://github.com/jono94/rust-ethereum written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jono94/rust-ethereum on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jono94/rust-ethereum 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5eec09bfd953d7cf0dcfa34ac6a95e4c2acc27d4d939ba2a0a6f71e80c1e746 [INFO] running `Command { std: "docker" "start" "-a" "a5eec09bfd953d7cf0dcfa34ac6a95e4c2acc27d4d939ba2a0a6f71e80c1e746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5eec09bfd953d7cf0dcfa34ac6a95e4c2acc27d4d939ba2a0a6f71e80c1e746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5eec09bfd953d7cf0dcfa34ac6a95e4c2acc27d4d939ba2a0a6f71e80c1e746", kill_on_drop: false }` [INFO] [stdout] a5eec09bfd953d7cf0dcfa34ac6a95e4c2acc27d4d939ba2a0a6f71e80c1e746 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6551a768c96c170533657c098e86a56cc64ff439f47373f05b31edcc6aa4e42b [INFO] running `Command { std: "docker" "start" "-a" "6551a768c96c170533657c098e86a56cc64ff439f47373f05b31edcc6aa4e42b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking clap v3.1.8 [INFO] [stderr] Checking ethereum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `u256` should have an upper camel case name [INFO] [stdout] --> src/execution/types.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct u256 { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U256` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ROMOutOfBoundsError` [INFO] [stdout] --> src/main.rs:11:63 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::execution::program_context::{ ProgramContext, Rom, ROMOutOfBoundsError }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/execution/program_context.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 96 | / loop { [INFO] [stdout] 97 | | let mut line: String = String::new(); [INFO] [stdout] 98 | | let opcode = &self.next_byte()?; [INFO] [stdout] 99 | | if let Some(instruction) = &Instructions.get(&opcode) { [INFO] [stdout] ... | [INFO] [stdout] 109 | | println!("{}", line); [INFO] [stdout] 110 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 111 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u256` should have an upper camel case name [INFO] [stdout] --> src/execution/types.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct u256 { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U256` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ROMOutOfBoundsError` [INFO] [stdout] --> src/main.rs:11:63 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::execution::program_context::{ ProgramContext, Rom, ROMOutOfBoundsError }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/execution/instructions.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | let mut data: u256 = u256::zero(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_data` [INFO] [stdout] --> src/execution/instructions.rs:438:14 [INFO] [stdout] | [INFO] [stdout] 438 | let byte_data: u256 = u256::from_u8(program_context.rom.next_byte()?); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overflow` [INFO] [stdout] --> src/execution/types.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let (upper, overflow) = u128::overflowing_add(self.upper, intermediate_upper); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rom = load_rom_from_file(filename); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stack_items_removed` and `stack_items_added` are never read [INFO] [stdout] --> src/execution/instructions.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Instruction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 329 | pub stack_items_removed: u8, // delta [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 330 | pub stack_items_added: u8, // alpha [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lt` is never used [INFO] [stdout] --> src/execution/instructions.rs:410:4 [INFO] [stdout] | [INFO] [stdout] 410 | fn lt(_opcode: u8, program_context: &mut ProgramContext) -> Result<(), ProgramError> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gt` is never used [INFO] [stdout] --> src/execution/instructions.rs:421:4 [INFO] [stdout] | [INFO] [stdout] 421 | fn gt(_opcode: u8, program_context: &mut ProgramContext) -> Result<(), ProgramError> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `memory` and `storage` are never read [INFO] [stdout] --> src/execution/program_context.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ProgramContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub memory: Memory, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub storage: Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_hex` is never used [INFO] [stdout] --> src/execution/program_context.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn encode_hex(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/execution/program_context.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Rom { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 75 | pub fn new(rom: Vec) -> Rom { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memory` is never read [INFO] [stdout] --> src/execution/program_context.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 147 | memory: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/execution/program_context.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Storage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 158 | storage: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u128` is never used [INFO] [stdout] --> src/execution/types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl u256 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_u128(lower: u128) -> u256 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | instruction.execute(&mut program_context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = instruction.execute(&mut program_context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Instructions` should have an upper case name [INFO] [stdout] --> src/execution/instructions.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | pub static ref Instructions: HashMap = HashMap::from([ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 167 - pub static ref Instructions: HashMap = HashMap::from([ [INFO] [stdout] 167 + pub static ref INSTRUCTIONS: HashMap = HashMap::from([ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/execution/program_context.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 96 | / loop { [INFO] [stdout] 97 | | let mut line: String = String::new(); [INFO] [stdout] 98 | | let opcode = &self.next_byte()?; [INFO] [stdout] 99 | | if let Some(instruction) = &Instructions.get(&opcode) { [INFO] [stdout] ... | [INFO] [stdout] 109 | | println!("{}", line); [INFO] [stdout] 110 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 111 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/execution/instructions.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | let mut data: u256 = u256::zero(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte_data` [INFO] [stdout] --> src/execution/instructions.rs:438:14 [INFO] [stdout] | [INFO] [stdout] 438 | let byte_data: u256 = u256::from_u8(program_context.rom.next_byte()?); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overflow` [INFO] [stdout] --> src/execution/types.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let (upper, overflow) = u128::overflowing_add(self.upper, intermediate_upper); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rom = load_rom_from_file(filename); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stack_items_removed` and `stack_items_added` are never read [INFO] [stdout] --> src/execution/instructions.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Instruction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 329 | pub stack_items_removed: u8, // delta [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 330 | pub stack_items_added: u8, // alpha [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lt` is never used [INFO] [stdout] --> src/execution/instructions.rs:410:4 [INFO] [stdout] | [INFO] [stdout] 410 | fn lt(_opcode: u8, program_context: &mut ProgramContext) -> Result<(), ProgramError> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gt` is never used [INFO] [stdout] --> src/execution/instructions.rs:421:4 [INFO] [stdout] | [INFO] [stdout] 421 | fn gt(_opcode: u8, program_context: &mut ProgramContext) -> Result<(), ProgramError> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `memory` and `storage` are never read [INFO] [stdout] --> src/execution/program_context.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ProgramContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub memory: Memory, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub storage: Storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_hex` is never used [INFO] [stdout] --> src/execution/program_context.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn encode_hex(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/execution/program_context.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Rom { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 75 | pub fn new(rom: Vec) -> Rom { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `memory` is never read [INFO] [stdout] --> src/execution/program_context.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 147 | memory: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `storage` is never read [INFO] [stdout] --> src/execution/program_context.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Storage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 158 | storage: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u128` is never used [INFO] [stdout] --> src/execution/types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl u256 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_u128(lower: u128) -> u256 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | instruction.execute(&mut program_context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = instruction.execute(&mut program_context); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Instructions` should have an upper case name [INFO] [stdout] --> src/execution/instructions.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | pub static ref Instructions: HashMap = HashMap::from([ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 167 - pub static ref Instructions: HashMap = HashMap::from([ [INFO] [stdout] 167 + pub static ref INSTRUCTIONS: HashMap = HashMap::from([ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.95s [INFO] running `Command { std: "docker" "inspect" "6551a768c96c170533657c098e86a56cc64ff439f47373f05b31edcc6aa4e42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6551a768c96c170533657c098e86a56cc64ff439f47373f05b31edcc6aa4e42b", kill_on_drop: false }` [INFO] [stdout] 6551a768c96c170533657c098e86a56cc64ff439f47373f05b31edcc6aa4e42b