[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [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 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded wee_alloc v0.4.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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 7d7027afaaefc676e896b453b6cbc92aad0662b73da01d7eeb2675b313c6e225 [INFO] running `Command { std: "docker" "start" "-a" "7d7027afaaefc676e896b453b6cbc92aad0662b73da01d7eeb2675b313c6e225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d7027afaaefc676e896b453b6cbc92aad0662b73da01d7eeb2675b313c6e225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d7027afaaefc676e896b453b6cbc92aad0662b73da01d7eeb2675b313c6e225", kill_on_drop: false }` [INFO] [stdout] 7d7027afaaefc676e896b453b6cbc92aad0662b73da01d7eeb2675b313c6e225 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 2cc479c7ba19038da84ffe2bd1e56ef1c476c2dd58d9cf4316ba4c2926ccd3bf [INFO] running `Command { std: "docker" "start" "-a" "2cc479c7ba19038da84ffe2bd1e56ef1c476c2dd58d9cf4316ba4c2926ccd3bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking u256 v0.1.0 (/opt/rustwide/workdir/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 serde_repr v0.1.5 [INFO] [stderr] Checking ewasm-evm v0.1.0 (/opt/rustwide/workdir) [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] 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] warning: unused variable: `e` [INFO] [stdout] --> vm/src/boundary/entrypoint.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vm/src/boundary/entrypoint.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(mut x) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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: unused variable: `e` [INFO] [stdout] --> vm/src/boundary/entrypoint.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> vm/src/boundary/entrypoint.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(mut x) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.02s [INFO] running `Command { std: "docker" "inspect" "2cc479c7ba19038da84ffe2bd1e56ef1c476c2dd58d9cf4316ba4c2926ccd3bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cc479c7ba19038da84ffe2bd1e56ef1c476c2dd58d9cf4316ba4c2926ccd3bf", kill_on_drop: false }` [INFO] [stdout] 2cc479c7ba19038da84ffe2bd1e56ef1c476c2dd58d9cf4316ba4c2926ccd3bf