[INFO] cloning repository https://github.com/847850277/learn-revm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/847850277/learn-revm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F847850277%2Flearn-revm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F847850277%2Flearn-revm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a55dbedcd5c05ed071a375dc536c637f1a1933f8
[INFO] testing 847850277/learn-revm against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F847850277%2Flearn-revm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/847850277/learn-revm
[INFO] finished tweaking git repo https://github.com/847850277/learn-revm
[INFO] tweaked toml for git repo https://github.com/847850277/learn-revm written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/847850277/learn-revm on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/847850277/learn-revm 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded keccak-hash v0.10.0
[INFO] [stderr]   Downloaded winnow v0.7.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9f9274f200c2895552d3ba45673fc8653073431668c5319f5254f1da416f8a3c
[INFO] running `Command { std: "docker" "start" "-a" "9f9274f200c2895552d3ba45673fc8653073431668c5319f5254f1da416f8a3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f9274f200c2895552d3ba45673fc8653073431668c5319f5254f1da416f8a3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f9274f200c2895552d3ba45673fc8653073431668c5319f5254f1da416f8a3c", kill_on_drop: false }`
[INFO] [stdout] 9f9274f200c2895552d3ba45673fc8653073431668c5319f5254f1da416f8a3c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ede575bc2b8d1341b74bcae4c4218b977d629a5c6366c34687358e23e64360f
[INFO] running `Command { std: "docker" "start" "-a" "0ede575bc2b8d1341b74bcae4c4218b977d629a5c6366c34687358e23e64360f", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling stage1-stack-machine v0.1.0 (/opt/rustwide/workdir/stage1-stack-machine)
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice1_stack_basics.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice1_stack_basics.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice1_stack_basics.rs:48:6
[INFO] [stdout]    |
[INFO] [stdout] 48 | enum Instruction {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleEVM` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice1_stack_basics.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct SimpleEVM {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice1_stack_basics.rs:64:8
[INFO] [stdout]     |
[INFO] [stdout]  63 | impl SimpleEVM {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  64 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice1_stack_basics.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice2_memory_ops.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice2_memory_ops.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleMemory` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice2_memory_ops.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct SimpleMemory {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `store`, `load`, `calculate_memory_gas`, and `print_memory` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:52:8
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl SimpleMemory {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  52 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     fn store(&mut self, offset: u64, value: u64) -> Result<u64, &'static str> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     fn load(&self, offset: u64) -> Result<u64, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     fn calculate_memory_gas(&self, old_size: u64, new_size: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn print_memory(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:126:6
[INFO] [stdout]     |
[INFO] [stdout] 126 | enum Instruction {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryEVM` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | struct MemoryEVM {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl MemoryEVM {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 145 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice3_jump_safety.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 46 | enum Instruction {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JumpValidator` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct JumpValidator {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_valid_destination` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl JumpValidator {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 62 |     fn new(instructions: &[Instruction]) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn is_valid_destination(&self, pc: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JumpEVM` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct JumpEVM {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice3_jump_safety.rs:92:8
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl JumpEVM {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  92 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice3_jump_safety.rs:275:4
[INFO] [stdout]     |
[INFO] [stdout] 275 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice4_gas_calculation.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice4_gas_calculation.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleMemory` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice4_gas_calculation.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct SimpleMemory {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:46:8
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl SimpleMemory {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  46 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     fn expand_to(&mut self, new_size: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     fn calculate_memory_expansion_gas(&self, old_size: u64, new_size: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     fn memory_cost(&self, words: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     fn store(&mut self, offset: u64, value: u64) -> Result<u64, &'static str> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     fn load(&self, offset: u64) -> Result<(u64, u64), &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn current_size(&self) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStorage` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | struct SimpleStorage {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `sload`, and `sstore` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl SimpleStorage {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 121 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn sload(&self, key: u64) -> (u64, u64) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn sstore(&mut self, key: u64, value: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:157:6
[INFO] [stdout]     |
[INFO] [stdout] 157 | enum Instruction {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GasEVM` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:178:8
[INFO] [stdout]     |
[INFO] [stdout] 178 | struct GasEVM {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:189:8
[INFO] [stdout]     |
[INFO] [stdout] 188 | impl GasEVM {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 189 |     fn new(instructions: Vec<Instruction>, gas_limit: u64) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn check_gas(&self, required_gas: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 |     fn consume_gas(&mut self, gas: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 325 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 335 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:356:4
[INFO] [stdout]     |
[INFO] [stdout] 356 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice5_complete_sequence.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 13 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 | enum Instruction {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleMemory` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct SimpleMemory {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `store`, `load`, and `current_size` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:84:8
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl SimpleMemory {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  84 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     fn store(&mut self, offset: u64, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn load(&self, offset: u64) -> u64 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn current_size(&self) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JumpValidator` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | struct JumpValidator {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_valid_destination` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl JumpValidator {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 116 |     fn new(instructions: &[Instruction]) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     fn is_valid_destination(&self, pc: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompleteEVM` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | struct CompleteEVM {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `consume_gas`, `step`, `run`, `print_state_summary`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl CompleteEVM {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 147 |     fn new(instructions: Vec<Instruction>, gas_limit: u64) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn consume_gas(&mut self, gas: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 368 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 383 |     fn print_state_summary(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:410:4
[INFO] [stdout]     |
[INFO] [stdout] 410 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rlp v0.5.2
[INFO] [stdout] warning: variants `Div`, `Eq`, `Or`, and `Not` are never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | enum Instruction {
[INFO] [stdout]    |      ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 51 |     Div,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     Eq, // 等于
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     Or,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 61 |     Not,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `len` is never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice4_gas_calculation.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SimpleStack {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Sub` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 157 | enum Instruction {
[INFO] [stdout]     |      ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 162 |     Sub,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling impl-rlp v0.3.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling impl-serde v0.4.0
[INFO] [stderr]    Compiling primitive-types v0.12.2
[INFO] [stderr]    Compiling ethbloom v0.13.0
[INFO] [stderr]    Compiling keccak-hash v0.10.0
[INFO] [stderr]    Compiling ethereum-types v0.14.1
[INFO] [stderr]    Compiling stage2-architecture v0.1.0 (/opt/rustwide/workdir/stage2-architecture)
[INFO] [stdout] warning: unused variable: `caller`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |         caller: Address,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |         value: U256,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |         data: &[u8],
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         value: U256,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `env` is never read
[INFO] [stdout]   --> stage2-architecture/src/evm/engine.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct EVM<SPEC: Spec, DB: Database> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     env: Environment,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `H256`
[INFO] [stdout]  --> stage2-architecture/src/bin/practice2_modular_evm.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ethereum_types::{Address, H256, U256};
[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]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut frontier_evm = create_frontier_evm(db.clone());
[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: variable does not need to be mutable
[INFO] [stdout]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut berlin_evm = create_berlin_evm(db.clone());
[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]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut london_evm = create_london_evm(db.clone());
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `berlin_evm_empty`
[INFO] [stdout]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let berlin_evm_empty = create_berlin_evm(empty_db);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_berlin_evm_empty`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `berlin_evm_test`
[INFO] [stdout]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let berlin_evm_test = create_berlin_evm(test_db);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_berlin_evm_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `berlin_evm_logging`
[INFO] [stdout]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let berlin_evm_logging = create_berlin_evm(logging_db);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_berlin_evm_logging`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `evm`
[INFO] [stdout]    --> stage2-architecture/src/bin/practice2_modular_evm.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |         evm: &mut EVM<SPEC, DB>,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_evm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.51s
[INFO] running `Command { std: "docker" "inspect" "0ede575bc2b8d1341b74bcae4c4218b977d629a5c6366c34687358e23e64360f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ede575bc2b8d1341b74bcae4c4218b977d629a5c6366c34687358e23e64360f", kill_on_drop: false }`
[INFO] [stdout] 0ede575bc2b8d1341b74bcae4c4218b977d629a5c6366c34687358e23e64360f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8f109d18ef1538b32e0d354e8a0b4021df3a4b5149618841d98edb8feb6fe387
[INFO] running `Command { std: "docker" "start" "-a" "8f109d18ef1538b32e0d354e8a0b4021df3a4b5149618841d98edb8feb6fe387", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice1_stack_basics.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice1_stack_basics.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice1_stack_basics.rs:48:6
[INFO] [stdout]    |
[INFO] [stdout] 48 | enum Instruction {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleEVM` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice1_stack_basics.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct SimpleEVM {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice1_stack_basics.rs:64:8
[INFO] [stdout]     |
[INFO] [stdout]  63 | impl SimpleEVM {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  64 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice1_stack_basics.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice2_memory_ops.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice2_memory_ops.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleMemory` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice2_memory_ops.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct SimpleMemory {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `store`, `load`, `calculate_memory_gas`, and `print_memory` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:52:8
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl SimpleMemory {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  52 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     fn store(&mut self, offset: u64, value: u64) -> Result<u64, &'static str> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     fn load(&self, offset: u64) -> Result<u64, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     fn calculate_memory_gas(&self, old_size: u64, new_size: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn print_memory(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:126:6
[INFO] [stdout]     |
[INFO] [stdout] 126 | enum Instruction {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryEVM` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | struct MemoryEVM {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl MemoryEVM {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 145 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice3_jump_safety.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 46 | enum Instruction {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JumpValidator` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct JumpValidator {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_valid_destination` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl JumpValidator {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 62 |     fn new(instructions: &[Instruction]) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn is_valid_destination(&self, pc: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JumpEVM` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct JumpEVM {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice3_jump_safety.rs:92:8
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl JumpEVM {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  92 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice3_jump_safety.rs:275:4
[INFO] [stdout]     |
[INFO] [stdout] 275 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice4_gas_calculation.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice4_gas_calculation.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleMemory` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice4_gas_calculation.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct SimpleMemory {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:46:8
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl SimpleMemory {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  46 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     fn expand_to(&mut self, new_size: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     fn calculate_memory_expansion_gas(&self, old_size: u64, new_size: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     fn memory_cost(&self, words: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     fn store(&mut self, offset: u64, value: u64) -> Result<u64, &'static str> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     fn load(&self, offset: u64) -> Result<(u64, u64), &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn current_size(&self) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStorage` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | struct SimpleStorage {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `sload`, and `sstore` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl SimpleStorage {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 121 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn sload(&self, key: u64) -> (u64, u64) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn sstore(&mut self, key: u64, value: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:157:6
[INFO] [stdout]     |
[INFO] [stdout] 157 | enum Instruction {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GasEVM` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:178:8
[INFO] [stdout]     |
[INFO] [stdout] 178 | struct GasEVM {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:189:8
[INFO] [stdout]     |
[INFO] [stdout] 188 | impl GasEVM {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 189 |     fn new(instructions: Vec<Instruction>, gas_limit: u64) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn check_gas(&self, required_gas: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 |     fn consume_gas(&mut self, gas: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 325 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 335 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:356:4
[INFO] [stdout]     |
[INFO] [stdout] 356 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice5_complete_sequence.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 13 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 | enum Instruction {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleMemory` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct SimpleMemory {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `store`, `load`, and `current_size` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:84:8
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl SimpleMemory {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  84 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     fn store(&mut self, offset: u64, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn load(&self, offset: u64) -> u64 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn current_size(&self) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JumpValidator` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | struct JumpValidator {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_valid_destination` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl JumpValidator {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 116 |     fn new(instructions: &[Instruction]) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     fn is_valid_destination(&self, pc: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompleteEVM` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | struct CompleteEVM {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `consume_gas`, `step`, `run`, `print_state_summary`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl CompleteEVM {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 147 |     fn new(instructions: Vec<Instruction>, gas_limit: u64) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn consume_gas(&mut self, gas: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 368 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 383 |     fn print_state_summary(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:410:4
[INFO] [stdout]     |
[INFO] [stdout] 410 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `caller`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |         caller: Address,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |         value: U256,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |         data: &[u8],
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         value: U256,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `env` is never read
[INFO] [stdout]   --> stage2-architecture/src/evm/engine.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct EVM<SPEC: Spec, DB: Database> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     env: Environment,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling stage1-stack-machine v0.1.0 (/opt/rustwide/workdir/stage1-stack-machine)
[INFO] [stderr]    Compiling stage2-architecture v0.1.0 (/opt/rustwide/workdir/stage2-architecture)
[INFO] [stdout] warning: unused import: `H256`
[INFO] [stdout]  --> stage2-architecture/src/bin/practice2_modular_evm.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ethereum_types::{Address, H256, U256};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Div`, `Eq`, `Or`, and `Not` are never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | enum Instruction {
[INFO] [stdout]    |      ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 51 |     Div,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     Eq, // 等于
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     Or,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 61 |     Not,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut frontier_evm = create_frontier_evm(db.clone());
[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: variable does not need to be mutable
[INFO] [stdout]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut berlin_evm = create_berlin_evm(db.clone());
[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]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut london_evm = create_london_evm(db.clone());
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `len` is never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice4_gas_calculation.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SimpleStack {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Sub` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 157 | enum Instruction {
[INFO] [stdout]     |      ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 162 |     Sub,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `berlin_evm_empty`
[INFO] [stdout]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let berlin_evm_empty = create_berlin_evm(empty_db);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_berlin_evm_empty`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `berlin_evm_test`
[INFO] [stdout]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let berlin_evm_test = create_berlin_evm(test_db);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_berlin_evm_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `berlin_evm_logging`
[INFO] [stdout]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let berlin_evm_logging = create_berlin_evm(logging_db);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_berlin_evm_logging`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `caller`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |         caller: Address,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |         value: U256,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |         data: &[u8],
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> stage2-architecture/src/evm/engine.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         value: U256,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `evm`
[INFO] [stdout]    --> stage2-architecture/src/bin/practice2_modular_evm.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |         evm: &mut EVM<SPEC, DB>,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_evm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `env` is never read
[INFO] [stdout]   --> stage2-architecture/src/evm/engine.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct EVM<SPEC: Spec, DB: Database> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     env: Environment,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice1_stack_basics.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice1_stack_basics.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 11 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice1_stack_basics.rs:48:6
[INFO] [stdout]    |
[INFO] [stdout] 48 | enum Instruction {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleEVM` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice1_stack_basics.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct SimpleEVM {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice1_stack_basics.rs:64:8
[INFO] [stdout]     |
[INFO] [stdout]  63 | impl SimpleEVM {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  64 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice1_stack_basics.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice2_memory_ops.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice2_memory_ops.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleMemory` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice2_memory_ops.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct SimpleMemory {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `store`, `load`, `calculate_memory_gas`, and `print_memory` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:52:8
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl SimpleMemory {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  52 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     fn store(&mut self, offset: u64, value: u64) -> Result<u64, &'static str> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     fn load(&self, offset: u64) -> Result<u64, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     fn calculate_memory_gas(&self, old_size: u64, new_size: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn print_memory(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:126:6
[INFO] [stdout]     |
[INFO] [stdout] 126 | enum Instruction {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryEVM` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | struct MemoryEVM {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl MemoryEVM {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 145 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice2_memory_ops.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice3_jump_safety.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 46 | enum Instruction {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JumpValidator` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct JumpValidator {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_valid_destination` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl JumpValidator {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 62 |     fn new(instructions: &[Instruction]) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn is_valid_destination(&self, pc: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JumpEVM` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice3_jump_safety.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct JumpEVM {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice3_jump_safety.rs:92:8
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl JumpEVM {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  92 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice3_jump_safety.rs:275:4
[INFO] [stdout]     |
[INFO] [stdout] 275 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice4_gas_calculation.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice4_gas_calculation.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleMemory` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice4_gas_calculation.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct SimpleMemory {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:46:8
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl SimpleMemory {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  46 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     fn expand_to(&mut self, new_size: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     fn calculate_memory_expansion_gas(&self, old_size: u64, new_size: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     fn memory_cost(&self, words: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     fn store(&mut self, offset: u64, value: u64) -> Result<u64, &'static str> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     fn load(&self, offset: u64) -> Result<(u64, u64), &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn current_size(&self) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStorage` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | struct SimpleStorage {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `sload`, and `sstore` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl SimpleStorage {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 121 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn sload(&self, key: u64) -> (u64, u64) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn sstore(&mut self, key: u64, value: u64) -> u64 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:157:6
[INFO] [stdout]     |
[INFO] [stdout] 157 | enum Instruction {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GasEVM` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:178:8
[INFO] [stdout]     |
[INFO] [stdout] 178 | struct GasEVM {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:189:8
[INFO] [stdout]     |
[INFO] [stdout] 188 | impl GasEVM {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 189 |     fn new(instructions: Vec<Instruction>, gas_limit: u64) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn check_gas(&self, required_gas: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 |     fn consume_gas(&mut self, gas: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 325 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 335 |     fn print_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:356:4
[INFO] [stdout]     |
[INFO] [stdout] 356 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleStack` is never constructed
[INFO] [stdout]  --> stage1-stack-machine/src/practice5_complete_sequence.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct SimpleStack {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl SimpleStack {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 13 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn peek(&self) -> Option<u64> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 | enum Instruction {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleMemory` is never constructed
[INFO] [stdout]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct SimpleMemory {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `store`, `load`, and `current_size` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:84:8
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl SimpleMemory {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  84 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     fn store(&mut self, offset: u64, value: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn load(&self, offset: u64) -> u64 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn current_size(&self) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JumpValidator` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | struct JumpValidator {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_valid_destination` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl JumpValidator {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 116 |     fn new(instructions: &[Instruction]) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     fn is_valid_destination(&self, pc: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompleteEVM` is never constructed
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | struct CompleteEVM {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `consume_gas`, `step`, `run`, `print_state_summary`, and `print_final_state` are never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl CompleteEVM {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 147 |     fn new(instructions: Vec<Instruction>, gas_limit: u64) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn consume_gas(&mut self, gas: u64) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 368 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 383 |     fn print_state_summary(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |     fn print_final_state(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:410:4
[INFO] [stdout]     |
[INFO] [stdout] 410 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s
[INFO] running `Command { std: "docker" "inspect" "8f109d18ef1538b32e0d354e8a0b4021df3a4b5149618841d98edb8feb6fe387", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f109d18ef1538b32e0d354e8a0b4021df3a4b5149618841d98edb8feb6fe387", kill_on_drop: false }`
[INFO] [stdout] 8f109d18ef1538b32e0d354e8a0b4021df3a4b5149618841d98edb8feb6fe387
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 32d7de35822a825ca6d3373e1c4352a67115162c863a89d0c0852bd1c120dea9
[INFO] running `Command { std: "docker" "start" "-a" "32d7de35822a825ca6d3373e1c4352a67115162c863a89d0c0852bd1c120dea9", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: struct `SimpleStack` is never constructed
[INFO] [stderr]  --> stage1-stack-machine/src/practice1_stack_basics.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct SimpleStack {
[INFO] [stderr]   |        ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stderr]   --> stage1-stack-machine/src/practice1_stack_basics.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl SimpleStack {
[INFO] [stderr]    | ---------------- associated items in this implementation
[INFO] [stderr] 11 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 26 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 37 |     fn peek(&self) -> Option<u64> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 41 |     fn len(&self) -> usize {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Instruction` is never used
[INFO] [stderr]   --> stage1-stack-machine/src/practice1_stack_basics.rs:48:6
[INFO] [stderr]    |
[INFO] [stderr] 48 | enum Instruction {
[INFO] [stderr]    |      ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleEVM` is never constructed
[INFO] [stderr]   --> stage1-stack-machine/src/practice1_stack_basics.rs:56:8
[INFO] [stderr]    |
[INFO] [stderr] 56 | struct SimpleEVM {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice1_stack_basics.rs:64:8
[INFO] [stderr]     |
[INFO] [stderr]  63 | impl SimpleEVM {
[INFO] [stderr]     | -------------- associated items in this implementation
[INFO] [stderr]  64 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr]  74 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 123 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 136 |     fn print_state(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 143 |     fn print_final_state(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice1_stack_basics.rs:153:4
[INFO] [stderr]     |
[INFO] [stderr] 153 | fn main() {
[INFO] [stderr]     |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleStack` is never constructed
[INFO] [stderr]  --> stage1-stack-machine/src/practice2_memory_ops.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct SimpleStack {
[INFO] [stderr]   |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stderr]   --> stage1-stack-machine/src/practice2_memory_ops.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl SimpleStack {
[INFO] [stderr]    | ---------------- associated items in this implementation
[INFO] [stderr] 10 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 35 |     fn peek(&self) -> Option<u64> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     fn len(&self) -> usize {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleMemory` is never constructed
[INFO] [stderr]   --> stage1-stack-machine/src/practice2_memory_ops.rs:46:8
[INFO] [stderr]    |
[INFO] [stderr] 46 | struct SimpleMemory {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `store`, `load`, `calculate_memory_gas`, and `print_memory` are never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice2_memory_ops.rs:52:8
[INFO] [stderr]     |
[INFO] [stderr]  51 | impl SimpleMemory {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr]  52 |     fn new() -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr]  59 |     fn store(&mut self, offset: u64, value: u64) -> Result<u64, &'static str> {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  83 |     fn load(&self, offset: u64) -> Result<u64, &'static str> {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr]  99 |     fn calculate_memory_gas(&self, old_size: u64, new_size: u64) -> u64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 114 |     fn print_memory(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Instruction` is never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice2_memory_ops.rs:126:6
[INFO] [stderr]     |
[INFO] [stderr] 126 | enum Instruction {
[INFO] [stderr]     |      ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MemoryEVM` is never constructed
[INFO] [stderr]    --> stage1-stack-machine/src/practice2_memory_ops.rs:136:8
[INFO] [stderr]     |
[INFO] [stderr] 136 | struct MemoryEVM {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice2_memory_ops.rs:145:8
[INFO] [stderr]     |
[INFO] [stderr] 144 | impl MemoryEVM {
[INFO] [stderr]     | -------------- associated items in this implementation
[INFO] [stderr] 145 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 155 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 234 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 247 |     fn print_state(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 255 |     fn print_final_state(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice2_memory_ops.rs:266:4
[INFO] [stderr]     |
[INFO] [stderr] 266 | fn main() {
[INFO] [stderr]     |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleStack` is never constructed
[INFO] [stderr]  --> stage1-stack-machine/src/practice3_jump_safety.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct SimpleStack {
[INFO] [stderr]   |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stderr]   --> stage1-stack-machine/src/practice3_jump_safety.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl SimpleStack {
[INFO] [stderr]    | ---------------- associated items in this implementation
[INFO] [stderr] 10 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 35 |     fn peek(&self) -> Option<u64> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     fn len(&self) -> usize {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Instruction` is never used
[INFO] [stderr]   --> stage1-stack-machine/src/practice3_jump_safety.rs:46:6
[INFO] [stderr]    |
[INFO] [stderr] 46 | enum Instruction {
[INFO] [stderr]    |      ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `JumpValidator` is never constructed
[INFO] [stderr]   --> stage1-stack-machine/src/practice3_jump_safety.rs:57:8
[INFO] [stderr]    |
[INFO] [stderr] 57 | struct JumpValidator {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `is_valid_destination` are never used
[INFO] [stderr]   --> stage1-stack-machine/src/practice3_jump_safety.rs:62:8
[INFO] [stderr]    |
[INFO] [stderr] 61 | impl JumpValidator {
[INFO] [stderr]    | ------------------ associated items in this implementation
[INFO] [stderr] 62 |     fn new(instructions: &[Instruction]) -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 76 |     fn is_valid_destination(&self, pc: usize) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `JumpEVM` is never constructed
[INFO] [stderr]   --> stage1-stack-machine/src/practice3_jump_safety.rs:83:8
[INFO] [stderr]    |
[INFO] [stderr] 83 | struct JumpEVM {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `step`, `run`, `print_state`, and `print_final_state` are never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice3_jump_safety.rs:92:8
[INFO] [stderr]     |
[INFO] [stderr]  91 | impl JumpEVM {
[INFO] [stderr]     | ------------ associated items in this implementation
[INFO] [stderr]  92 |     fn new(instructions: Vec<Instruction>) -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 104 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 224 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 257 |     fn print_state(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 264 |     fn print_final_state(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice3_jump_safety.rs:275:4
[INFO] [stderr]     |
[INFO] [stderr] 275 | fn main() {
[INFO] [stderr]     |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleStack` is never constructed
[INFO] [stderr]  --> stage1-stack-machine/src/practice4_gas_calculation.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct SimpleStack {
[INFO] [stderr]   |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stderr]   --> stage1-stack-machine/src/practice4_gas_calculation.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl SimpleStack {
[INFO] [stderr]    | ---------------- associated items in this implementation
[INFO] [stderr] 10 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 14 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 22 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     fn peek(&self) -> Option<u64> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 33 |     fn len(&self) -> usize {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleMemory` is never constructed
[INFO] [stderr]   --> stage1-stack-machine/src/practice4_gas_calculation.rs:40:8
[INFO] [stderr]    |
[INFO] [stderr] 40 | struct SimpleMemory {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:46:8
[INFO] [stderr]     |
[INFO] [stderr]  45 | impl SimpleMemory {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr]  46 |     fn new() -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr]  53 |     fn expand_to(&mut self, new_size: u64) -> u64 {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  65 |     fn calculate_memory_expansion_gas(&self, old_size: u64, new_size: u64) -> u64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  80 |     fn memory_cost(&self, words: u64) -> u64 {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  86 |     fn store(&mut self, offset: u64, value: u64) -> Result<u64, &'static str> {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  95 |     fn load(&self, offset: u64) -> Result<(u64, u64), &'static str> {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 109 |     fn current_size(&self) -> u64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleStorage` is never constructed
[INFO] [stderr]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:116:8
[INFO] [stderr]     |
[INFO] [stderr] 116 | struct SimpleStorage {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `sload`, and `sstore` are never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:121:8
[INFO] [stderr]     |
[INFO] [stderr] 120 | impl SimpleStorage {
[INFO] [stderr]     | ------------------ associated items in this implementation
[INFO] [stderr] 121 |     fn new() -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 127 |     fn sload(&self, key: u64) -> (u64, u64) {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 133 |     fn sstore(&mut self, key: u64, value: u64) -> u64 {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Instruction` is never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:157:6
[INFO] [stderr]     |
[INFO] [stderr] 157 | enum Instruction {
[INFO] [stderr]     |      ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GasEVM` is never constructed
[INFO] [stderr]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:178:8
[INFO] [stderr]     |
[INFO] [stderr] 178 | struct GasEVM {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:189:8
[INFO] [stderr]     |
[INFO] [stderr] 188 | impl GasEVM {
[INFO] [stderr]     | ----------- associated items in this implementation
[INFO] [stderr] 189 |     fn new(instructions: Vec<Instruction>, gas_limit: u64) -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 201 |     fn check_gas(&self, required_gas: u64) -> Result<(), &'static str> {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 208 |     fn consume_gas(&mut self, gas: u64) -> Result<(), &'static str> {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 215 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 325 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 335 |     fn print_state(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 343 |     fn print_final_state(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:356:4
[INFO] [stderr]     |
[INFO] [stderr] 356 | fn main() {
[INFO] [stderr]     |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleStack` is never constructed
[INFO] [stderr]  --> stage1-stack-machine/src/practice5_complete_sequence.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 8 | struct SimpleStack {
[INFO] [stderr]   |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `push`, `pop`, `peek`, and `len` are never used
[INFO] [stderr]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl SimpleStack {
[INFO] [stderr]    | ---------------- associated items in this implementation
[INFO] [stderr] 13 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 |     fn push(&mut self, value: u64) -> Result<(), &'static str> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     fn pop(&mut self) -> Result<u64, &'static str> {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 |     fn peek(&self) -> Option<u64> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36 |     fn len(&self) -> usize {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Instruction` is never used
[INFO] [stderr]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:43:6
[INFO] [stderr]    |
[INFO] [stderr] 43 | enum Instruction {
[INFO] [stderr]    |      ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleMemory` is never constructed
[INFO] [stderr]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:78:8
[INFO] [stderr]    |
[INFO] [stderr] 78 | struct SimpleMemory {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `store`, `load`, and `current_size` are never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:84:8
[INFO] [stderr]     |
[INFO] [stderr]  83 | impl SimpleMemory {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr]  84 |     fn new() -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr]  91 |     fn store(&mut self, offset: u64, value: u64) -> Result<(), &'static str> {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 100 |     fn load(&self, offset: u64) -> u64 {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 104 |     fn current_size(&self) -> u64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `JumpValidator` is never constructed
[INFO] [stderr]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:111:8
[INFO] [stderr]     |
[INFO] [stderr] 111 | struct JumpValidator {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `is_valid_destination` are never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:116:8
[INFO] [stderr]     |
[INFO] [stderr] 115 | impl JumpValidator {
[INFO] [stderr]     | ------------------ associated items in this implementation
[INFO] [stderr] 116 |     fn new(instructions: &[Instruction]) -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 128 |     fn is_valid_destination(&self, pc: usize) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CompleteEVM` is never constructed
[INFO] [stderr]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:135:8
[INFO] [stderr]     |
[INFO] [stderr] 135 | struct CompleteEVM {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `consume_gas`, `step`, `run`, `print_state_summary`, and `print_final_state` are never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:147:8
[INFO] [stderr]     |
[INFO] [stderr] 146 | impl CompleteEVM {
[INFO] [stderr]     | ---------------- associated items in this implementation
[INFO] [stderr] 147 |     fn new(instructions: Vec<Instruction>, gas_limit: u64) -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 161 |     fn consume_gas(&mut self, gas: u64) -> Result<(), &'static str> {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 169 |     fn step(&mut self) -> Result<bool, &'static str> {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 368 |     fn run(&mut self) -> Result<(), &'static str> {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 383 |     fn print_state_summary(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 391 |     fn print_final_state(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]    --> stage1-stack-machine/src/practice5_complete_sequence.rs:410:4
[INFO] [stderr]     |
[INFO] [stderr] 410 | fn main() {
[INFO] [stderr]     |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `stage1-stack-machine` (lib) generated 42 warnings
[INFO] [stderr] warning: `stage1-stack-machine` (lib test) generated 42 warnings (42 duplicates)
[INFO] [stderr] warning: variants `Div`, `Eq`, `Or`, and `Not` are never constructed
[INFO] [stderr]   --> stage1-stack-machine/src/practice5_complete_sequence.rs:51:5
[INFO] [stderr]    |
[INFO] [stderr] 43 | enum Instruction {
[INFO] [stderr]    |      ----------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 51 |     Div,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     Eq, // 等于
[INFO] [stderr]    |     ^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     Or,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 61 |     Not,
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `len` is never used
[INFO] [stderr]   --> stage1-stack-machine/src/practice4_gas_calculation.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl SimpleStack {
[INFO] [stderr]    | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 33 |     fn len(&self) -> usize {
[INFO] [stderr]    |        ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Sub` is never constructed
[INFO] [stderr]    --> stage1-stack-machine/src/practice4_gas_calculation.rs:162:5
[INFO] [stderr]     |
[INFO] [stderr] 157 | enum Instruction {
[INFO] [stderr]     |      ----------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 162 |     Sub,
[INFO] [stderr]     |     ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `stage1-stack-machine` (bin "practice5_complete_sequence" test) generated 1 warning
[INFO] [stderr] warning: `stage1-stack-machine` (bin "practice4_gas_calculation" test) generated 2 warnings
[INFO] [stderr] warning: unused variable: `caller`
[INFO] [stderr]    --> stage2-architecture/src/evm/engine.rs:173:9
[INFO] [stderr]     |
[INFO] [stderr] 173 |         caller: Address,
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]    --> stage2-architecture/src/evm/engine.rs:175:9
[INFO] [stderr]     |
[INFO] [stderr] 175 |         value: U256,
[INFO] [stderr]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]    --> stage2-architecture/src/evm/engine.rs:176:9
[INFO] [stderr]     |
[INFO] [stderr] 176 |         data: &[u8],
[INFO] [stderr]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]    --> stage2-architecture/src/evm/engine.rs:216:9
[INFO] [stderr]     |
[INFO] [stderr] 216 |         value: U256,
[INFO] [stderr]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr] 
[INFO] [stderr] warning: field `env` is never read
[INFO] [stderr]   --> stage2-architecture/src/evm/engine.rs:98:5
[INFO] [stderr]    |
[INFO] [stderr] 93 | pub struct EVM<SPEC: Spec, DB: Database> {
[INFO] [stderr]    |            --- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 98 |     env: Environment,
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `stage2-architecture` (lib) generated 5 warnings (run `cargo fix --lib -p stage2-architecture` to apply 4 suggestions)
[INFO] [stderr] warning: `stage2-architecture` (lib test) generated 5 warnings (5 duplicates)
[INFO] [stderr] warning: unused import: `H256`
[INFO] [stderr]  --> stage2-architecture/src/bin/practice2_modular_evm.rs:1:31
[INFO] [stderr]   |
[INFO] [stderr] 1 | use ethereum_types::{Address, H256, U256};
[INFO] [stderr]   |                               ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 47 |     let mut frontier_evm = create_frontier_evm(db.clone());
[INFO] [stderr]    |         ----^^^^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:52:9
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let mut berlin_evm = create_berlin_evm(db.clone());
[INFO] [stderr]    |         ----^^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:57:9
[INFO] [stderr]    |
[INFO] [stderr] 57 |     let mut london_evm = create_london_evm(db.clone());
[INFO] [stderr]    |         ----^^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `berlin_evm_empty`
[INFO] [stderr]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:91:9
[INFO] [stderr]    |
[INFO] [stderr] 91 |     let berlin_evm_empty = create_berlin_evm(empty_db);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_berlin_evm_empty`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `berlin_evm_test`
[INFO] [stderr]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:94:9
[INFO] [stderr]    |
[INFO] [stderr] 94 |     let berlin_evm_test = create_berlin_evm(test_db);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_berlin_evm_test`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `berlin_evm_logging`
[INFO] [stderr]   --> stage2-architecture/src/bin/practice2_modular_evm.rs:97:9
[INFO] [stderr]    |
[INFO] [stderr] 97 |     let berlin_evm_logging = create_berlin_evm(logging_db);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_berlin_evm_logging`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `evm`
[INFO] [stderr]    --> stage2-architecture/src/bin/practice2_modular_evm.rs:263:9
[INFO] [stderr]     |
[INFO] [stderr] 263 |         evm: &mut EVM<SPEC, DB>,
[INFO] [stderr]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_evm`
[INFO] [stderr] 
[INFO] [stderr] warning: `stage2-architecture` (bin "practice2_modular_evm" test) generated 8 warnings (run `cargo fix --bin "practice2_modular_evm" -p stage2-architecture --tests` to apply 8 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stage1_stack_machine-3db2471e26f26634)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/practice1_stack_basics.rs (/opt/rustwide/target/debug/deps/practice1_stack_basics-b7ea93e4ef6bd2cf)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/practice2_memory_ops.rs (/opt/rustwide/target/debug/deps/practice2_memory_ops-2dc402d730a14a69)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/practice3_jump_safety.rs (/opt/rustwide/target/debug/deps/practice3_jump_safety-71480b89f82d4dcd)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/practice4_gas_calculation.rs (/opt/rustwide/target/debug/deps/practice4_gas_calculation-8a02492d9513bd8f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/practice5_complete_sequence.rs (/opt/rustwide/target/debug/deps/practice5_complete_sequence-81a10bbbed846266)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stage1_stack_machine-2c8874d60e90f8bc)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stage2_architecture-8811aa71e3d7b242)
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test evm::call_stack::tests::test_call_depth_limit ... ok
[INFO] [stdout] test evm::call_stack::tests::test_call_frame_creation ... ok
[INFO] [stdout] test evm::call_stack::tests::test_call_stack_operations ... ok
[INFO] [stderr]      Running unittests src/bin/practice1_spec_system.rs (/opt/rustwide/target/debug/deps/practice1_spec_system-156d93fee3af4fe1)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/practice2_modular_evm.rs (/opt/rustwide/target/debug/deps/practice2_modular_evm-db1c3c52f0b49abb)
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/practice3_call_stack.rs (/opt/rustwide/target/debug/deps/practice3_call_stack-0234cddc42ed5912)
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/bin/practice4_database_layer.rs (/opt/rustwide/target/debug/deps/practice4_database_layer-a1f2938295152621)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests stage1_stack_machine
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests stage2_architecture
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "32d7de35822a825ca6d3373e1c4352a67115162c863a89d0c0852bd1c120dea9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32d7de35822a825ca6d3373e1c4352a67115162c863a89d0c0852bd1c120dea9", kill_on_drop: false }`
[INFO] [stdout] 32d7de35822a825ca6d3373e1c4352a67115162c863a89d0c0852bd1c120dea9
