[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanufeel%2Fewasm-evm" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/canufeel/ewasm-evm on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking 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-5/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex v0.4.0 [INFO] [stderr] Downloaded serde_repr v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] 8a910ec6f72c09e5550e4cfe7870d9e87e01f4e461ad2e40bcfd0de3cfbd8edd [INFO] running `Command { std: "docker" "start" "-a" "8a910ec6f72c09e5550e4cfe7870d9e87e01f4e461ad2e40bcfd0de3cfbd8edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a910ec6f72c09e5550e4cfe7870d9e87e01f4e461ad2e40bcfd0de3cfbd8edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a910ec6f72c09e5550e4cfe7870d9e87e01f4e461ad2e40bcfd0de3cfbd8edd", kill_on_drop: false }` [INFO] [stdout] 8a910ec6f72c09e5550e4cfe7870d9e87e01f4e461ad2e40bcfd0de3cfbd8edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 6fc63630d92946dba270204b32848ab806936e91ad79ca9da0a6c6da6e0d21c2 [INFO] running `Command { std: "docker" "start" "-a" "6fc63630d92946dba270204b32848ab806936e91ad79ca9da0a6c6da6e0d21c2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking wee_alloc v0.4.5 [INFO] [stderr] Checking u256 v0.1.0 (/tmp/fixit/u256) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> u256/src/u256.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | self.data[0] &= (1 << 31); [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> u256/src/u256.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | other.data[0] &= (1 << 31); [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> u256/src/u256.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | self.data[0] ^= (1 << 31); [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> u256/src/u256.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | self.data[0] ^= (1 << 31); [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Checking ewasm-evm v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating vm/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed vm/src/boundary/entrypoint.rs (3 fixes) [INFO] [stderr] Fixed vm/src/lib.rs (1 fix) [INFO] [stdout] warning: attribute should be applied to a free function, impl method 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 free function, impl method 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 free function, impl method 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 free function, impl method 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 `crate::eei` [INFO] [stdout] --> vm/src/interpreter.rs:457:16 [INFO] [stdout] | [INFO] [stdout] 457 | use crate::eei::EeiMock; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::boundary::eei` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method 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 free function, impl method 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 free function, impl method 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 free function, impl method 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 free function, impl method 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 free function, impl method 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 free function, impl method 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 free function, impl method 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: unnecessary `unsafe` block [INFO] [stdout] --> vm/src/allocator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> vm/src/allocator.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> vm/src/mock_eei.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new () -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Layout`, which is not FFI-safe [INFO] [stdout] --> vm/src/allocator.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub extern "C" fn oom(_: ::core::alloc::Layout) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> vm/src/memory.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | match size_addr >= 0 && size_addr < *size { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> vm/src/memory.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | match size_addr >= 0 && size_addr < *size { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ewasm-evm` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6fc63630d92946dba270204b32848ab806936e91ad79ca9da0a6c6da6e0d21c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc63630d92946dba270204b32848ab806936e91ad79ca9da0a6c6da6e0d21c2", kill_on_drop: false }` [INFO] [stdout] 6fc63630d92946dba270204b32848ab806936e91ad79ca9da0a6c6da6e0d21c2