[INFO] crate grin_api 3.1.0 is already in cache [INFO] testing grin_api-3.1.0 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate grin_api 3.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate grin_api 3.1.0 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate grin_api 3.1.0 [INFO] finished tweaking crates.io crate grin_api 3.1.0 [INFO] tweaked toml for crates.io crate grin_api 3.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "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] 092608277f3994f641f502d85599a9fa4b3383df23cdad84ae530ce622290c50 [INFO] running `"docker" "start" "-a" "092608277f3994f641f502d85599a9fa4b3383df23cdad84ae530ce622290c50"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling supercow v0.1.0 [INFO] [stderr] Compiling bit-vec v0.6.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.9 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling zip v0.5.5 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling ripemd160 v0.7.0 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling lmdb-zero v0.4.4 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling pbkdf2 v0.2.3 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling zeroize_derive v0.9.3 [INFO] [stderr] Compiling easy-jsonrpc-proc-macro-mw v0.5.1 [INFO] [stderr] Compiling zeroize v0.9.3 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling log4rs v0.8.3 [INFO] [stderr] Compiling jsonrpc-core v10.1.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling easy-jsonrpc-mw v0.5.4 [INFO] [stderr] Compiling grin_util v3.1.0 [INFO] [stderr] Compiling rustls-native-certs v0.1.0 [INFO] [stderr] Compiling grin_keychain v3.1.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-io-timeout v0.4.0 [INFO] [stderr] Compiling tokio-rustls v0.12.2 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling croaring-sys v0.4.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling hyper-rustls v0.19.1 [INFO] [stderr] Compiling hyper-timeout v0.3.1 [INFO] [stderr] Compiling croaring v0.4.4 [INFO] [stderr] Compiling grin_core v3.1.0 [INFO] [stderr] Compiling grin_store v3.1.0 [INFO] [stderr] Compiling grin_pool v3.1.0 [INFO] [stderr] Compiling grin_chain v3.1.0 [INFO] [stderr] Compiling grin_p2p v3.1.0 [INFO] [stderr] Compiling grin_api v3.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8m 39s [INFO] running `"docker" "inspect" "092608277f3994f641f502d85599a9fa4b3383df23cdad84ae530ce622290c50"` [INFO] running `"docker" "rm" "-f" "092608277f3994f641f502d85599a9fa4b3383df23cdad84ae530ce622290c50"` [INFO] [stdout] 092608277f3994f641f502d85599a9fa4b3383df23cdad84ae530ce622290c50 [INFO] running `"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" "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] 2b45e8229635580f45e9fa4d4c78a491e421af9ee740e9a6c91cd4b1e3affa13 [INFO] running `"docker" "start" "-a" "2b45e8229635580f45e9fa4d4c78a491e421af9ee740e9a6c91cd4b1e3affa13"` [INFO] [stderr] Compiling grin_api v3.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 20.50s [INFO] running `"docker" "inspect" "2b45e8229635580f45e9fa4d4c78a491e421af9ee740e9a6c91cd4b1e3affa13"` [INFO] running `"docker" "rm" "-f" "2b45e8229635580f45e9fa4d4c78a491e421af9ee740e9a6c91cd4b1e3affa13"` [INFO] [stdout] 2b45e8229635580f45e9fa4d4c78a491e421af9ee740e9a6c91cd4b1e3affa13 [INFO] running `"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" "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] 82f0f953516b7d6a85e6474ca3aa530080b19f306c5a00d23fe174ab546b6729 [INFO] running `"docker" "start" "-a" "82f0f953516b7d6a85e6474ca3aa530080b19f306c5a00d23fe174ab546b6729"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.73s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/grin_api-1158ffba8e221b2d [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test router::tests::test_add_route ... ok [INFO] [stdout] test types::test::serialize_output ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rest-bb441a55db1fd937 [INFO] [stdout] test types::test::serialize_output_printable ... ok [INFO] [stdout] test router::tests::test_get ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_start_api_tls ... ignored [INFO] [stdout] 2020-04-20T04:47:32.909788489+00:00 INFO grin_util::logger - log4rs is initialized, stdout level: Debug, min. level: Debug [INFO] [stdout] 2020-04-20T04:47:32.972161415+00:00 DEBUG grin_api::rest - REST call: GET /v1/ [INFO] [stdout] 2020-04-20T04:47:32.974268929+00:00 INFO grin_api::rest - API server has been stopped [INFO] [stdout] test test_start_api ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests grin_api [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::get_pool_size (line 546) ... ok [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::get_tip (line 283) ... ok [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::get_stempool_size (line 576) ... ok [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::get_kernel (line 318) ... ok [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::get_block (line 132) ... ok [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::get_pmmr_indices (line 509) ... ok [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::get_outputs (line 361) ... ok [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::get_header (line 38) ... ok [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::get_unconfirmed_transactions (line 606) ... ok [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::get_version (line 250) ... ok [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::get_unspent_outputs (line 448) ... ok [INFO] [stdout] test src/foreign_rpc.rs - foreign_rpc::ForeignRpc::push_transaction (line 679) ... ok [INFO] [stdout] test src/owner_rpc.rs - owner_rpc::OwnerRpc::ban_peer (line 300) ... ok [INFO] [stdout] test src/owner_rpc.rs - owner_rpc::OwnerRpc::compact_chain (line 109) ... ok [INFO] [stdout] test src/owner_rpc.rs - owner_rpc::OwnerRpc::get_peers (line 139) ... ok [INFO] [stdout] test src/owner_rpc.rs - owner_rpc::OwnerRpc::get_connected_peers (line 181) ... ok [INFO] [stdout] test src/owner_rpc.rs - owner_rpc::OwnerRpc::validate_chain (line 79) ... ok [INFO] [stdout] test src/owner_rpc.rs - owner_rpc::OwnerRpc::unban_peer (line 330) ... ok [INFO] [stdout] test src/owner_rpc.rs - owner_rpc::OwnerRpc::get_status (line 34) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "82f0f953516b7d6a85e6474ca3aa530080b19f306c5a00d23fe174ab546b6729"` [INFO] running `"docker" "rm" "-f" "82f0f953516b7d6a85e6474ca3aa530080b19f306c5a00d23fe174ab546b6729"` [INFO] [stdout] 82f0f953516b7d6a85e6474ca3aa530080b19f306c5a00d23fe174ab546b6729