[INFO] updating cached repository https://github.com/zeroqn/riscv-contract-examples [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 08ab440d3f55989862491e8c014d734c0b6220c0 [INFO] testing zeroqn/riscv-contract-examples against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeroqn%2Friscv-contract-examples" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zeroqn/riscv-contract-examples on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/zeroqn/riscv-contract-examples [INFO] finished tweaking git repo https://github.com/zeroqn/riscv-contract-examples [INFO] tweaked toml for git repo https://github.com/zeroqn/riscv-contract-examples written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/zeroqn/riscv-contract-examples already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fc54e519d9dc7084fdc6ac70399c566c25338c28a729dee39c13d44d761dc7f1 [INFO] running `"docker" "start" "-a" "fc54e519d9dc7084fdc6ac70399c566c25338c28a729dee39c13d44d761dc7f1"` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.97 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling ckb-vm-definitions v0.12.0-pre (https://github.com/nervosnetwork/ckb-vm#53ddfecb) [INFO] [stderr] Compiling hex v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling ckb-vm v0.12.0-pre (https://github.com/nervosnetwork/ckb-vm#53ddfecb) [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling hasher v0.1.2 [INFO] [stderr] Compiling uint v0.4.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling fixed-hash v0.2.5 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.4.0 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling hmac v0.4.2 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling hmac-drbg v0.1.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling libsecp256k1 v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling ripemd160 v0.8.0 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling serde_derive v1.0.97 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling ethereum-types-serialize v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling goblin v0.0.22 [INFO] [stderr] Compiling ethbloom v0.5.3 [INFO] [stderr] Compiling ethereum-types v0.4.2 [INFO] [stderr] Compiling rlp v0.3.0 [INFO] [stderr] Compiling cita_trie v2.0.0 [INFO] [stderr] Compiling cita-vm v0.2.1 (https://github.com/citahub/cita-vm#017e0695) [INFO] [stderr] Compiling ballot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `"docker" "inspect" "fc54e519d9dc7084fdc6ac70399c566c25338c28a729dee39c13d44d761dc7f1"` [INFO] running `"docker" "rm" "-f" "fc54e519d9dc7084fdc6ac70399c566c25338c28a729dee39c13d44d761dc7f1"` [INFO] [stdout] fc54e519d9dc7084fdc6ac70399c566c25338c28a729dee39c13d44d761dc7f1 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] afd009926e99d7f2124e3778e70a1e9aea9868056c038bc7a6b7684bf9bba919 [INFO] running `"docker" "start" "-a" "afd009926e99d7f2124e3778e70a1e9aea9868056c038bc7a6b7684bf9bba919"` [INFO] [stderr] Compiling ballot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'ethereum_types::hash::H160::from_slice': unconventional API, replaced by `new_from_slice` in version 0.3 [INFO] [stderr] --> src/lib.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | Address::from_slice(&val) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.89s [INFO] running `"docker" "inspect" "afd009926e99d7f2124e3778e70a1e9aea9868056c038bc7a6b7684bf9bba919"` [INFO] running `"docker" "rm" "-f" "afd009926e99d7f2124e3778e70a1e9aea9868056c038bc7a6b7684bf9bba919"` [INFO] [stdout] afd009926e99d7f2124e3778e70a1e9aea9868056c038bc7a6b7684bf9bba919 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 58b7401dc5c7d8bbbb4b39cfc8f113937c78ef771f0dc9cca242a1ebbbb3a694 [INFO] running `"docker" "start" "-a" "58b7401dc5c7d8bbbb4b39cfc8f113937c78ef771f0dc9cca242a1ebbbb3a694"` [INFO] [stderr] warning: use of deprecated item 'ethereum_types::hash::H160::from_slice': unconventional API, replaced by `new_from_slice` in version 0.3 [INFO] [stderr] --> src/lib.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | Address::from_slice(&val) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ballot-955a66a3de800e89 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_ballot ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_ballot stdout ---- [INFO] [stdout] thread 'tests::test_ballot' panicked at 'read contract: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/lib.rs:81:24 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56004e31e9e4 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x56004e31e9e4 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x56004e31e9e4 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x56004e31e9e4 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x56004e347adc - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x56004e0778b5 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x56004e318521 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x56004e3212c5 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x56004e3212c5 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x56004e3212c5 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x56004e320fab - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x56004e321922 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 12: 0x56004e32150b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 13: 0x56004e346501 - core::panicking::panic_fmt::hc8f9a0b2af5fb585 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 14: 0x56004e346323 - core::option::expect_none_failed::ha34d57526cca3063 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 15: 0x56004e05449c - core::result::Result::expect::h7c7b40292282e931 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:963 [INFO] [stdout] 16: 0x56004e068464 - ballot::tests::Ballot::deploy::hb89e276a04141a9a [INFO] [stdout] at src/lib.rs:81 [INFO] [stdout] 17: 0x56004e06a166 - ballot::tests::test_ballot::h518e78a0b27e8c4d [INFO] [stdout] at src/lib.rs:196 [INFO] [stdout] 18: 0x56004e06a03a - ballot::tests::test_ballot::{{closure}}::hdbb1eb93806f9444 [INFO] [stdout] at src/lib.rs:191 [INFO] [stdout] 19: 0x56004e070d8e - core::ops::function::FnOnce::call_once::hb0e6c29a0bc35d1e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 20: 0x56004e0837af - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 21: 0x56004e09edae - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 22: 0x56004e09edae - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 23: 0x56004e09edae - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 24: 0x56004e09edae - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 25: 0x56004e09edae - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 26: 0x56004e09edae - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 27: 0x56004e076d66 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 28: 0x56004e07c085 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 29: 0x56004e07c085 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 30: 0x56004e07c085 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 31: 0x56004e07c085 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 32: 0x56004e07c085 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 33: 0x56004e07c085 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 34: 0x56004e07c085 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 35: 0x56004e3138ff - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 36: 0x56004e328263 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 37: 0x56004e328263 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 38: 0x7fd4e769e6db - start_thread [INFO] [stdout] 39: 0x7fd4e71af88f - __clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_ballot [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `"docker" "inspect" "58b7401dc5c7d8bbbb4b39cfc8f113937c78ef771f0dc9cca242a1ebbbb3a694"` [INFO] running `"docker" "rm" "-f" "58b7401dc5c7d8bbbb4b39cfc8f113937c78ef771f0dc9cca242a1ebbbb3a694"` [INFO] [stdout] 58b7401dc5c7d8bbbb4b39cfc8f113937c78ef771f0dc9cca242a1ebbbb3a694