[INFO] cloning repository https://github.com/wasm0/wasm0-rustsdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wasm0/wasm0-rustsdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasm0%2Fwasm0-rustsdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasm0%2Fwasm0-rustsdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a45a99cab0ab10f5440eff54943b0914a93c0c02 [INFO] checking wasm0/wasm0-rustsdk against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasm0%2Fwasm0-rustsdk" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/wasm0/wasm0-rustsdk [INFO] finished tweaking git repo https://github.com/wasm0/wasm0-rustsdk [INFO] tweaked toml for git repo https://github.com/wasm0/wasm0-rustsdk written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wasm0/wasm0-rustsdk on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wasm0/wasm0-rustsdk 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fixed-bigint v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b9a568f9855aeacca58c66e8be88de042da3b160b789ded75b86d13323d61bc [INFO] running `Command { std: "docker" "start" "-a" "2b9a568f9855aeacca58c66e8be88de042da3b160b789ded75b86d13323d61bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b9a568f9855aeacca58c66e8be88de042da3b160b789ded75b86d13323d61bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b9a568f9855aeacca58c66e8be88de042da3b160b789ded75b86d13323d61bc", kill_on_drop: false }` [INFO] [stdout] 2b9a568f9855aeacca58c66e8be88de042da3b160b789ded75b86d13323d61bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a289e4d7311b380678d97a0fc6f74d8c176b3bc861f363a4fb8153081b024ba [INFO] running `Command { std: "docker" "start" "-a" "0a289e4d7311b380678d97a0fc6f74d8c176b3bc861f363a4fb8153081b024ba", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking fixed-bigint v0.1.9 [INFO] [stderr] Checking wasm0x-zkwasmsdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/binding.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/binding.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/binding.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/binding.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 6 | | if let Some(panic_message) = info.payload().downcast_ref::<&str>() { [INFO] [stdout] 7 | | evm_return(panic_message.as_ptr(), panic_message.len() as u32); [INFO] [stdout] 8 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 12 | | loop {} [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-182371ab76f58e7c.rlib [INFO] [stdout] = note: second definition in the local crate (`wasm0x_zkwasmsdk`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm0x-zkwasmsdk` (lib test) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/binding.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | _evm_create2(value, bytecode_offset, bytecode_length, salt, address.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `*const u8`, found `FixedUInt` [INFO] [stdout] --> src/binding.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | _evm_create2(value, bytecode_offset, bytecode_length, salt, address.as_mut_ptr()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: expected raw pointer `*const u8` [INFO] [stdout] found struct `FixedUInt` [INFO] [stdout] note: expected `*const u8`, found `i32` [INFO] [stdout] --> src/binding.rs:350:29 [INFO] [stdout] | [INFO] [stdout] 350 | _evm_create2(value, bytecode_offset, bytecode_length, salt, address.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const u8` [INFO] [stdout] found type `i32` [INFO] [stdout] note: expected `*const u8`, found `[u8; 32]` [INFO] [stdout] --> src/binding.rs:350:63 [INFO] [stdout] | [INFO] [stdout] 350 | _evm_create2(value, bytecode_offset, bytecode_length, salt, address.as_mut_ptr()); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected raw pointer `*const u8` [INFO] [stdout] found array `[u8; 32]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/binding.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn _evm_create2(value: *const u8, bytecode_offset: *const u8, bytecode_length: u32, salt: *const u8, dest: *mut u8); [INFO] [stdout] | ^^^^^^^^^^^^ ----- --------------- ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::panic::PanicInfo::<'a>::payload`: this never returns anything useful [INFO] [stdout] --> src/panic.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | if let Some(panic_message) = info.payload().downcast_ref::<&str>() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm0x-zkwasmsdk` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a289e4d7311b380678d97a0fc6f74d8c176b3bc861f363a4fb8153081b024ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a289e4d7311b380678d97a0fc6f74d8c176b3bc861f363a4fb8153081b024ba", kill_on_drop: false }` [INFO] [stdout] 0a289e4d7311b380678d97a0fc6f74d8c176b3bc861f363a4fb8153081b024ba