[INFO] fetching crate eva-asm 0.3.0... [INFO] testing eva-asm-0.3.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate eva-asm 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate eva-asm 0.3.0 [INFO] finished tweaking crates.io crate eva-asm 0.3.0 [INFO] tweaked toml for crates.io crate eva-asm 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate eva-asm 0.3.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate eva-asm 0.3.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f61d737289149852712364598790a49fd04706a4514f18d975c0fde87b95117 [INFO] running `Command { std: "docker" "start" "-a" "9f61d737289149852712364598790a49fd04706a4514f18d975c0fde87b95117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f61d737289149852712364598790a49fd04706a4514f18d975c0fde87b95117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f61d737289149852712364598790a49fd04706a4514f18d975c0fde87b95117", kill_on_drop: false }` [INFO] [stdout] 9f61d737289149852712364598790a49fd04706a4514f18d975c0fde87b95117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80c51305eff236df2e7056cc07f157dcccb8fcb7aa598d2ca00da7314f7a0207 [INFO] running `Command { std: "docker" "start" "-a" "80c51305eff236df2e7056cc07f157dcccb8fcb7aa598d2ca00da7314f7a0207", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling eva-asm v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.07s [INFO] running `Command { std: "docker" "inspect" "80c51305eff236df2e7056cc07f157dcccb8fcb7aa598d2ca00da7314f7a0207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80c51305eff236df2e7056cc07f157dcccb8fcb7aa598d2ca00da7314f7a0207", kill_on_drop: false }` [INFO] [stdout] 80c51305eff236df2e7056cc07f157dcccb8fcb7aa598d2ca00da7314f7a0207 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04270ed9693f6c5de8847d95a7e03266c4776271eb4b43553c2f819685a2b9cb [INFO] running `Command { std: "docker" "start" "-a" "04270ed9693f6c5de8847d95a7e03266c4776271eb4b43553c2f819685a2b9cb", kill_on_drop: false }` [INFO] [stderr] Compiling eva-asm v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "04270ed9693f6c5de8847d95a7e03266c4776271eb4b43553c2f819685a2b9cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04270ed9693f6c5de8847d95a7e03266c4776271eb4b43553c2f819685a2b9cb", kill_on_drop: false }` [INFO] [stdout] 04270ed9693f6c5de8847d95a7e03266c4776271eb4b43553c2f819685a2b9cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 359c3b321737918df069f5e810daad84f5df338632091e82f8baf05f6162104f [INFO] running `Command { std: "docker" "start" "-a" "359c3b321737918df069f5e810daad84f5df338632091e82f8baf05f6162104f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/eva_asm-de38e3920edd402b) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test opcode::tests::mnemonic_cmp ... ok [INFO] [stdout] test opcode::tests::opcode_conversions ... ok [INFO] [stdout] test opcode::tests::opcode_fmt ... ok [INFO] [stdout] test instruction::arithmetic::tests::stop_fmt ... ok [INFO] [stdout] test instruction::stack::tests::push_sanity ... ok [INFO] [stdout] test opcode::tests::mnemonic_fmt ... ok [INFO] [stdout] test opcode::tests::opcode_cmp ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests eva_asm [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test src/instruction/logging.rs - instruction::logging::Log::new (line 31) - compile fail ... ok [INFO] [stdout] test src/instruction/mod.rs - instruction::Instruction::is_log (line 83) ... FAILED [INFO] [stdout] test src/instruction/mod.rs - instruction::Instruction::is_terminator (line 97) ... FAILED [INFO] [stdout] test src/instruction/mod.rs - instruction::Instruction::is_push (line 41) ... FAILED [INFO] [stdout] test src/instruction/stack.rs - instruction::stack::Dup::new (line 147) - compile fail ... ok [INFO] [stdout] test src/instruction/logging.rs - instruction::logging::Log::new (line 24) ... ok [INFO] [stdout] test src/instruction/mod.rs - instruction::Instruction::is_dup (line 55) ... FAILED [INFO] [stdout] test src/instruction/stack.rs - instruction::stack::Dup::new (line 140) ... ok [INFO] [stdout] test src/instruction/stack.rs - instruction::stack::Push::new (line 32) ... ok [INFO] [stdout] test src/instruction/mod.rs - instruction::Instruction::is_swap (line 69) ... FAILED [INFO] [stdout] test src/instruction/stack.rs - instruction::stack::Swap::new (line 211) - compile fail ... ok [INFO] [stdout] test src/instruction/stack.rs - instruction::stack::Push::new (line 39) - compile fail ... ok [INFO] [stdout] test src/instruction/stack.rs - instruction::stack::Push::size (line 66) ... ok [INFO] [stdout] test src/opcode.rs - opcode::Mnemonic::is_push (line 539) ... ok [INFO] [stdout] test src/opcode.rs - opcode::Mnemonic::is_log (line 652) ... ok [INFO] [stdout] test src/instruction/stack.rs - instruction::stack::Swap::new (line 204) ... ok [INFO] [stdout] test src/opcode.rs - opcode::Mnemonic::is_dup (line 588) ... ok [INFO] [stdout] test src/opcode.rs - opcode::OpCode::from_byte (line 35) ... ok [INFO] [stdout] test src/instruction/stack.rs - instruction::stack::Push::immediate (line 53) ... ok [INFO] [stdout] test src/opcode.rs - opcode::OpCode::is_dup (line 105) ... ok [INFO] [stdout] test src/opcode.rs - opcode::Mnemonic::is_swap (line 620) ... ok [INFO] [stdout] test src/opcode.rs - opcode::Mnemonic::is_terminator (line 668) ... ok [INFO] [stdout] test src/opcode.rs - opcode::OpCode::is_log (line 139) ... ok [INFO] [stdout] test src/opcode.rs - opcode::OpCode::into_byte (line 71) ... ok [INFO] [stdout] test src/opcode.rs - opcode::OpCode::is_push (line 88) ... ok [INFO] [stdout] test src/opcode.rs - opcode::OpCode::is_terminator (line 156) ... ok [INFO] [stdout] test src/opcode.rs - opcode::OpCode::is_swap (line 122) ... ok [INFO] [stdout] test src/opcode.rs - opcode::OpCode::try_from_byte (line 53) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/instruction/mod.rs - instruction::Instruction::is_log (line 83) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `eva_asm::instruction::InstructionMeta` [INFO] [stdout] --> src/instruction/mod.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 5 | use eva_asm::instruction::{Log, Gas, InstructionMeta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `InstructionMeta` in `instruction` [INFO] [stdout] | help: a similar name exists in the module: `Instruction` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_log` found for struct `Log` in the current scope [INFO] [stdout] --> src/instruction/mod.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Log::<3>::new().is_log(), true); [INFO] [stdout] | ^^^^^^ method not found in `Log<3>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/instruction/mod.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn is_log(&self) -> bool { [INFO] [stdout] | ------ the method is available for `Log<3>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Instruction` which provides `is_log` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::eva_asm::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_log` found for struct `Gas` in the current scope [INFO] [stdout] --> src/instruction/mod.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Gas.is_log(), false); [INFO] [stdout] | ^^^^^^ method not found in `Gas` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/instruction/mod.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn is_log(&self) -> bool { [INFO] [stdout] | ------ the method is available for `Gas` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Instruction` which provides `is_log` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::eva_asm::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instruction/mod.rs - instruction::Instruction::is_terminator (line 97) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `eva_asm::instruction::InstructionMeta` [INFO] [stdout] --> src/instruction/mod.rs:99:50 [INFO] [stdout] | [INFO] [stdout] 5 | use eva_asm::instruction::{Return, Unknown, Gas, InstructionMeta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `InstructionMeta` in `instruction` [INFO] [stdout] | help: a similar name exists in the module: `Instruction` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_terminator` found for struct `Return` in the current scope [INFO] [stdout] --> src/instruction/mod.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Return.is_terminator(), true); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Return` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/instruction/mod.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn is_terminator(&self) -> bool { [INFO] [stdout] | ------------- the method is available for `Return` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Instruction` which provides `is_terminator` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::eva_asm::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_terminator` found for struct `eva_asm::instruction::Unknown` in the current scope [INFO] [stdout] --> src/instruction/mod.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Unknown(0xF).is_terminator(), true); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `eva_asm::instruction::Unknown` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/instruction/mod.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn is_terminator(&self) -> bool { [INFO] [stdout] | ------------- the method is available for `eva_asm::instruction::Unknown` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Instruction` which provides `is_terminator` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::eva_asm::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_terminator` found for struct `Gas` in the current scope [INFO] [stdout] --> src/instruction/mod.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Gas.is_terminator(), false); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Gas` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/instruction/mod.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn is_terminator(&self) -> bool { [INFO] [stdout] | ------------- the method is available for `Gas` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Instruction` which provides `is_terminator` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::eva_asm::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instruction/mod.rs - instruction::Instruction::is_push (line 41) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `eva_asm::instruction::InstructionMeta` [INFO] [stdout] --> src/instruction/mod.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 5 | use eva_asm::instruction::{Push, Gas, InstructionMeta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `InstructionMeta` in `instruction` [INFO] [stdout] | help: a similar name exists in the module: `Instruction` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_push` found for struct `Push` in the current scope [INFO] [stdout] --> src/instruction/mod.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Push::new([0; 10]).is_push(), true); [INFO] [stdout] | ^^^^^^^ method not found in `Push<10>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/instruction/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn is_push(&self) -> bool { [INFO] [stdout] | ------- the method is available for `Push<10>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Instruction` which provides `is_push` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::eva_asm::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_push` found for struct `Gas` in the current scope [INFO] [stdout] --> src/instruction/mod.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Gas.is_push(), false); [INFO] [stdout] | ^^^^^^^ method not found in `Gas` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/instruction/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn is_push(&self) -> bool { [INFO] [stdout] | ------- the method is available for `Gas` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Instruction` which provides `is_push` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::eva_asm::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instruction/mod.rs - instruction::Instruction::is_dup (line 55) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `eva_asm::instruction::InstructionMeta` [INFO] [stdout] --> src/instruction/mod.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 5 | use eva_asm::instruction::{Dup, Gas, InstructionMeta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `InstructionMeta` in `instruction` [INFO] [stdout] | help: a similar name exists in the module: `Instruction` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_dup` found for struct `Dup` in the current scope [INFO] [stdout] --> src/instruction/mod.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Dup::<10>::new().is_dup(), true); [INFO] [stdout] | ^^^^^^ method not found in `Dup<10>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/instruction/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn is_dup(&self) -> bool { [INFO] [stdout] | ------ the method is available for `Dup<10>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Instruction` which provides `is_dup` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::eva_asm::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_dup` found for struct `Gas` in the current scope [INFO] [stdout] --> src/instruction/mod.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Gas.is_dup(), false); [INFO] [stdout] | ^^^^^^ method not found in `Gas` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/instruction/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn is_dup(&self) -> bool { [INFO] [stdout] | ------ the method is available for `Gas` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Instruction` which provides `is_dup` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::eva_asm::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instruction/mod.rs - instruction::Instruction::is_swap (line 69) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `eva_asm::instruction::InstructionMeta` [INFO] [stdout] --> src/instruction/mod.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 5 | use eva_asm::instruction::{Swap, Gas, InstructionMeta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `InstructionMeta` in `instruction` [INFO] [stdout] | help: a similar name exists in the module: `Instruction` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_swap` found for struct `Swap` in the current scope [INFO] [stdout] --> src/instruction/mod.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Swap::<10>::new().is_swap(), true); [INFO] [stdout] | ^^^^^^^ method not found in `Swap<10>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/instruction/mod.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn is_swap(&self) -> bool { [INFO] [stdout] | ------- the method is available for `Swap<10>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Instruction` which provides `is_swap` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::eva_asm::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_swap` found for struct `Gas` in the current scope [INFO] [stdout] --> src/instruction/mod.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Gas.is_swap(), false); [INFO] [stdout] | ^^^^^^^ method not found in `Gas` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/instruction/mod.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn is_swap(&self) -> bool { [INFO] [stdout] | ------- the method is available for `Gas` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Instruction` which provides `is_swap` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::eva_asm::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/instruction/mod.rs - instruction::Instruction::is_dup (line 55) [INFO] [stdout] src/instruction/mod.rs - instruction::Instruction::is_log (line 83) [INFO] [stdout] src/instruction/mod.rs - instruction::Instruction::is_push (line 41) [INFO] [stdout] src/instruction/mod.rs - instruction::Instruction::is_swap (line 69) [INFO] [stdout] src/instruction/mod.rs - instruction::Instruction::is_terminator (line 97) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 23 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.72s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.95s; merged doctests compilation took 0.23s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "359c3b321737918df069f5e810daad84f5df338632091e82f8baf05f6162104f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "359c3b321737918df069f5e810daad84f5df338632091e82f8baf05f6162104f", kill_on_drop: false }` [INFO] [stdout] 359c3b321737918df069f5e810daad84f5df338632091e82f8baf05f6162104f