[INFO] crate bitconch-jsonrpc-pubsub 0.1.0 is already in cache [INFO] testing bitconch-jsonrpc-pubsub-0.1.0 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate bitconch-jsonrpc-pubsub 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate bitconch-jsonrpc-pubsub 0.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 bitconch-jsonrpc-pubsub 0.1.0 [INFO] finished tweaking crates.io crate bitconch-jsonrpc-pubsub 0.1.0 [INFO] tweaked toml for crates.io crate bitconch-jsonrpc-pubsub 0.1.0 written to /workspace/builds/worker-2/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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 90d63ce8c7986a1e884293f4a466de9f5d24e28e5ab2cc8ac12c21d0e6d865d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "90d63ce8c7986a1e884293f4a466de9f5d24e28e5ab2cc8ac12c21d0e6d865d1"` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling bitconch-jsonrpc-core v0.1.0 [INFO] [stderr] Compiling bitconch-jsonrpc-pubsub v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:18:68 [INFO] [stderr] | [INFO] [stderr] 18 | active_subscriptions: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(SubscriptionId) + Send + 'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | on_drop: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:49:37 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn on_drop(&self, on_drop: Box) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.96s [INFO] running `"docker" "inspect" "90d63ce8c7986a1e884293f4a466de9f5d24e28e5ab2cc8ac12c21d0e6d865d1"` [INFO] running `"docker" "rm" "-f" "90d63ce8c7986a1e884293f4a466de9f5d24e28e5ab2cc8ac12c21d0e6d865d1"` [INFO] [stdout] 90d63ce8c7986a1e884293f4a466de9f5d24e28e5ab2cc8ac12c21d0e6d865d1 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 4da69d877eae72c36966b00f0c92a66a872519df485a20c72fd3719fffd4d8cf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "4da69d877eae72c36966b00f0c92a66a872519df485a20c72fd3719fffd4d8cf"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:18:68 [INFO] [stderr] | [INFO] [stderr] 18 | active_subscriptions: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(SubscriptionId) + Send + 'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | on_drop: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:49:37 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn on_drop(&self, on_drop: Box) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling bitconch-jsonrpc-server-utils v0.1.0 [INFO] [stderr] Compiling bitconch-jsonrpc-tcp-server v0.1.0 [INFO] [stderr] Compiling bitconch-jsonrpc-pubsub v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:18:68 [INFO] [stderr] | [INFO] [stderr] 18 | active_subscriptions: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(SubscriptionId) + Send + 'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | on_drop: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:49:37 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn on_drop(&self, on_drop: Box) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 40.43s [INFO] running `"docker" "inspect" "4da69d877eae72c36966b00f0c92a66a872519df485a20c72fd3719fffd4d8cf"` [INFO] running `"docker" "rm" "-f" "4da69d877eae72c36966b00f0c92a66a872519df485a20c72fd3719fffd4d8cf"` [INFO] [stdout] 4da69d877eae72c36966b00f0c92a66a872519df485a20c72fd3719fffd4d8cf [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] d6cb16cf0999ccc6cb129b97937e7730d563b0932c975287ef4e2a9e43e100c7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "d6cb16cf0999ccc6cb129b97937e7730d563b0932c975287ef4e2a9e43e100c7"` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:18:68 [INFO] [stderr] | [INFO] [stderr] 18 | active_subscriptions: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(SubscriptionId) + Send + 'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | on_drop: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:49:37 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn on_drop(&self, on_drop: Box) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:18:68 [INFO] [stderr] | [INFO] [stderr] 18 | active_subscriptions: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(SubscriptionId) + Send + 'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | on_drop: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/subscription.rs:49:37 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn on_drop(&self, on_drop: Box) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn() + Send` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/bitconch_jsonrpc_pubsub-5f2a01f457c5e826 [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test subscription::tests::should_remove_subscription ... ok [INFO] [stdout] test subscription::tests::should_send_notification_to_the_transport ... ok [INFO] [stdout] test subscription::tests::should_assign_id ... ok [INFO] [stdout] test subscription::tests::should_reject ... ok [INFO] [stdout] test subscription::tests::should_unregister_in_case_of_collision ... ok [INFO] [stdout] test subscription::tests::should_subscribe ... ok [INFO] [stdout] test subscription::tests::should_unregister_on_drop ... ok [INFO] [stdout] test handler::tests::should_handle_subscription ... ok [INFO] [stdout] test types::tests::should_convert_between_value_and_subscription_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests bitconch-jsonrpc-pubsub [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "d6cb16cf0999ccc6cb129b97937e7730d563b0932c975287ef4e2a9e43e100c7"` [INFO] running `"docker" "rm" "-f" "d6cb16cf0999ccc6cb129b97937e7730d563b0932c975287ef4e2a9e43e100c7"` [INFO] [stdout] d6cb16cf0999ccc6cb129b97937e7730d563b0932c975287ef4e2a9e43e100c7