[INFO] cloning repository https://github.com/canufeel/ewasm-evm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/canufeel/ewasm-evm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanufeel%2Fewasm-evm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanufeel%2Fewasm-evm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81c2e91f7b9aa4d80a38e5486821c6fe78ffc6ae [INFO] checking canufeel/ewasm-evm against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanufeel%2Fewasm-evm" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/canufeel/ewasm-evm on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/canufeel/ewasm-evm [INFO] removed path dependency u256 from git repo https://github.com/canufeel/ewasm-evm [INFO] finished tweaking git repo https://github.com/canufeel/ewasm-evm [INFO] tweaked toml for git repo https://github.com/canufeel/ewasm-evm written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/canufeel/ewasm-evm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (u256) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (u256) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded serde_repr v0.1.6 [INFO] [stderr] Downloaded u256 v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c97bfd0119afc6beb968336cdc23d464eed90d3c3ac578ac548f13de75b46085 [INFO] running `Command { std: "docker" "start" "-a" "c97bfd0119afc6beb968336cdc23d464eed90d3c3ac578ac548f13de75b46085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c97bfd0119afc6beb968336cdc23d464eed90d3c3ac578ac548f13de75b46085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97bfd0119afc6beb968336cdc23d464eed90d3c3ac578ac548f13de75b46085", kill_on_drop: false }` [INFO] [stdout] c97bfd0119afc6beb968336cdc23d464eed90d3c3ac578ac548f13de75b46085 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17cc2d20b837ff0c9efa57c66df28509a75d01ee3d68f85a7d1f47d93ff1a467 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "17cc2d20b837ff0c9efa57c66df28509a75d01ee3d68f85a7d1f47d93ff1a467", kill_on_drop: false }` [INFO] [stderr] warning: dependency (u256) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking u256 v0.1.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Checking ewasm-evm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/interpreter.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use u256::u256::{U256bytes, U256}; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/memory.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use u256::u256::U256bytes; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/eei_common.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use u256::u256::U256; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/boundary/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use u256::u256::{U256, U256bytes}; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/mock_eei.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use u256::u256::U256; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mock_eei as eei` [INFO] [stdout] --> vm/src/lib.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use mock_eei as eei; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vm_error::VmError` [INFO] [stdout] --> vm/src/boundary/entrypoint.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::vm_error::VmError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> vm/src/boundary/eei.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | pub fn ethereum_useGas(amount: u64); [INFO] [stdout] 6 | | pub fn ethereum_getGasLeft() -> u64; [INFO] [stdout] 7 | | pub fn ethereum_getAddress(resultOffset: *const u32); [INFO] [stdout] ... | [INFO] [stdout] 77 | | pub fn ethereum_selfDestruct(addressOffset: *const u32); // -> !; [INFO] [stdout] 78 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> vm/src/boundary/entrypoint.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | / extern "C" { [INFO] [stdout] 28 | | fn humanizeBytecodeCaptureReturn(ret_ptr: *const u8, ret_len: usize); [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> vm/src/boundary/debug.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2 | / extern "C" { [INFO] [stdout] 3 | | fn logDebug(pc: i32); [INFO] [stdout] 4 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/stack.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | use u256::u256::U256; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/interpreter.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use u256::u256::{U256bytes, U256}; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/memory.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use u256::u256::U256bytes; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/memory.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | use u256::u256::{U256bytes, U256}; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/eei_common.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use u256::u256::U256; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/boundary/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use u256::u256::{U256, U256bytes}; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `u256::u256` [INFO] [stdout] --> vm/src/mock_eei.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use u256::u256::U256; [INFO] [stdout] | ^^^^ could not find `u256` in `u256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vm_error::VmError` [INFO] [stdout] --> vm/src/boundary/entrypoint.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::vm_error::VmError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> vm/src/boundary/eei.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | pub fn ethereum_useGas(amount: u64); [INFO] [stdout] 6 | | pub fn ethereum_getGasLeft() -> u64; [INFO] [stdout] 7 | | pub fn ethereum_getAddress(resultOffset: *const u32); [INFO] [stdout] ... | [INFO] [stdout] 77 | | pub fn ethereum_selfDestruct(addressOffset: *const u32); // -> !; [INFO] [stdout] 78 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> vm/src/boundary/entrypoint.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | / extern "C" { [INFO] [stdout] 28 | | fn humanizeBytecodeCaptureReturn(ret_ptr: *const u8, ret_len: usize); [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> vm/src/boundary/debug.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2 | / extern "C" { [INFO] [stdout] 3 | | fn logDebug(pc: i32); [INFO] [stdout] 4 | | } [INFO] [stdout] | |_- not a function or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> vm/src/interpreter.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | stack: EVMStack::new(), [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] ::: vm/src/stack.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | -------------------- required by `EVMStack::::new` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> vm/src/interpreter.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | stack: EVMStack::new(), [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] ::: vm/src/stack.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | -------------------- required by `stack::EVMStack::::new` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: core::clone::Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ewasm-evm` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "17cc2d20b837ff0c9efa57c66df28509a75d01ee3d68f85a7d1f47d93ff1a467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17cc2d20b837ff0c9efa57c66df28509a75d01ee3d68f85a7d1f47d93ff1a467", kill_on_drop: false }` [INFO] [stdout] 17cc2d20b837ff0c9efa57c66df28509a75d01ee3d68f85a7d1f47d93ff1a467