[INFO] fetching crate pubnub-core 0.1.0... [INFO] testing pubnub-core-0.1.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate pubnub-core 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate pubnub-core 0.1.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pubnub-core 0.1.0 [INFO] finished tweaking crates.io crate pubnub-core 0.1.0 [INFO] tweaked toml for crates.io crate pubnub-core 0.1.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6aa78d504a42c5d33312a767401b7736bd8ccd641c9cca95e0bebea4c76471ab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6aa78d504a42c5d33312a767401b7736bd8ccd641c9cca95e0bebea4c76471ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aa78d504a42c5d33312a767401b7736bd8ccd641c9cca95e0bebea4c76471ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aa78d504a42c5d33312a767401b7736bd8ccd641c9cca95e0bebea4c76471ab", kill_on_drop: false }` [INFO] [stdout] 6aa78d504a42c5d33312a767401b7736bd8ccd641c9cca95e0bebea4c76471ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f76985d91fdef4cc63b7db2d09f73d404850d2a97baf00462375ee91bab6ee0e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f76985d91fdef4cc63b7db2d09f73d404850d2a97baf00462375ee91bab6ee0e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling error-iter v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling mockall_derive v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling mockall v0.6.0 [INFO] [stderr] Compiling pubnub-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/mock/runtime.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / mock! { [INFO] [stdout] 14 | | pub Runtime { [INFO] [stdout] 15 | | fn mock_workaround_spawn(&self, future: Pin + Send + 'static>>) {} [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/mock/runtime.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / mock! { [INFO] [stdout] 14 | | pub Runtime { [INFO] [stdout] 15 | | fn mock_workaround_spawn(&self, future: Pin + Send + 'static>>) {} [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/mock/transport.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / mock! { [INFO] [stdout] 23 | | pub Transport { [INFO] [stdout] 24 | | fn call( [INFO] [stdout] 25 | | &self, [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "f76985d91fdef4cc63b7db2d09f73d404850d2a97baf00462375ee91bab6ee0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f76985d91fdef4cc63b7db2d09f73d404850d2a97baf00462375ee91bab6ee0e", kill_on_drop: false }` [INFO] [stdout] f76985d91fdef4cc63b7db2d09f73d404850d2a97baf00462375ee91bab6ee0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e935e7d7510c71b5f239a1ce961d960ea3ca290032c62bef778be7913a576604 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e935e7d7510c71b5f239a1ce961d960ea3ca290032c62bef778be7913a576604", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling randomize v3.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/mock/runtime.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / mock! { [INFO] [stdout] 14 | | pub Runtime { [INFO] [stdout] 15 | | fn mock_workaround_spawn(&self, future: Pin + Send + 'static>>) {} [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/mock/runtime.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / mock! { [INFO] [stdout] 14 | | pub Runtime { [INFO] [stdout] 15 | | fn mock_workaround_spawn(&self, future: Pin + Send + 'static>>) {} [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/mock/transport.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / mock! { [INFO] [stdout] 23 | | pub Transport { [INFO] [stdout] 24 | | fn call( [INFO] [stdout] 25 | | &self, [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pubnub-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/mock/runtime.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / mock! { [INFO] [stdout] 14 | | pub Runtime { [INFO] [stdout] 15 | | fn mock_workaround_spawn(&self, future: Pin + Send + 'static>>) {} [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/mock/runtime.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / mock! { [INFO] [stdout] 14 | | pub Runtime { [INFO] [stdout] 15 | | fn mock_workaround_spawn(&self, future: Pin + Send + 'static>>) {} [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/mock/transport.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / mock! { [INFO] [stdout] 23 | | pub Transport { [INFO] [stdout] 24 | | fn call( [INFO] [stdout] 25 | | &self, [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.52s [INFO] running `Command { std: "docker" "inspect" "e935e7d7510c71b5f239a1ce961d960ea3ca290032c62bef778be7913a576604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e935e7d7510c71b5f239a1ce961d960ea3ca290032c62bef778be7913a576604", kill_on_drop: false }` [INFO] [stdout] e935e7d7510c71b5f239a1ce961d960ea3ca290032c62bef778be7913a576604 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", 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] c15579617604cea56d17ce58ff0bed2b5495cd52f4e572662eeaa25a844f9543 [INFO] running `Command { std: "docker" "start" "-a" "c15579617604cea56d17ce58ff0bed2b5495cd52f4e572662eeaa25a844f9543", kill_on_drop: false }` [INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stderr] --> src/lib.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/mock/runtime.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / mock! { [INFO] [stderr] 14 | | pub Runtime { [INFO] [stderr] 15 | | fn mock_workaround_spawn(&self, future: Pin + Send + 'static>>) {} [INFO] [stderr] 16 | | } [INFO] [stderr] ... | [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/mock/runtime.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / mock! { [INFO] [stderr] 14 | | pub Runtime { [INFO] [stderr] 15 | | fn mock_workaround_spawn(&self, future: Pin + Send + 'static>>) {} [INFO] [stderr] 16 | | } [INFO] [stderr] ... | [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/mock/transport.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | / mock! { [INFO] [stderr] 23 | | pub Transport { [INFO] [stderr] 24 | | fn call( [INFO] [stderr] 25 | | &self, [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in the macro `mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `pubnub-core` (lib) generated 4 warnings [INFO] [stderr] warning: `pubnub-core` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pubnub_core-a19ce59d3cb54a39) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test data::channel::tests::name_valid ... ok [INFO] [stdout] test data::channel::tests::name_invalid ... ok [INFO] [stdout] test data::target::tests::standard_valid ... ok [INFO] [stdout] test pubnub::tests::mocked_pubnub_publish_ok ... ok [INFO] [stdout] test data::target::tests::standard_invalid ... ok [INFO] [stdout] test pubnub::tests::mocked_pubnub_subscribe_ok ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- pubnub::tests::mocked_pubnub_subscribe_ok stdout ---- [INFO] [stdout] [2021-08-03T18:23:30Z DEBUG pubnub_core::subscription::subscribe_loop_supervisor] Creating the subscribe loop [INFO] [stdout] [2021-08-03T18:23:30Z DEBUG pubnub_core::subscription::subscribe_loop_supervisor] Waiting for subscription loop ready... [INFO] [stdout] [2021-08-03T18:23:30Z DEBUG pubnub_core::subscription::subscribe_loop] Starting subscribe loop [INFO] [stdout] [2021-08-03T18:23:30Z DEBUG pubnub_core::subscription::subscribe_loop] messages: [Message { message_type: Publish, route: Some(Name("test_channel")), channel: Name("test_channel"), json: Object(Object { store: [("test", Short("value"), 0, 0)] }), metadata: Null, timetoken: Timetoken { t: 100, r: 12 }, client: None, subscribe_key: "test_subscribe_key", flags: 514 }] [INFO] [stdout] [2021-08-03T18:23:30Z DEBUG pubnub_core::subscription::subscribe_loop] timetoken: Timetoken { t: 150, r: 1 } [INFO] [stdout] [2021-08-03T18:23:30Z DEBUG pubnub_core::subscription::subscribe_loop] route: test_channel (channel) [INFO] [stdout] [2021-08-03T18:23:30Z DEBUG pubnub_core::subscription::subscribe_loop] Delivering to 1 listeners... [INFO] [stdout] thread 'pubnub::tests::mocked_pubnub_subscribe_ok' panicked at 'attempted to leave type `std::mem::ManuallyDrop mock::runtime::gen::MockRuntime>>>>` uninitialized, which is invalid', /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/mem/mod.rs:663:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x564913050810 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x564913050810 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x564913050810 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x564913050810 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5649130732cc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x56491304d685 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x56491305298b - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56491305298b - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56491305298b - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56491305249c - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x564913053054 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x564913052b07 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:517:13 [INFO] [stdout] 12: 0x564913050cec - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x564913052a99 - rust_begin_unwind [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x564912dbc8c1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x564912dbc80d - core::panicking::panic::hd695e3b1d0dd4ef4 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x564912dcfc46 - core::mem::uninitialized::h1a246d3ca86114f6 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/mem/mod.rs:663:9 [INFO] [stdout] 17: 0x564912dcfc46 - fragile::fragile::Fragile::into_inner::h26674f7a20a66e58 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fragile-0.3.0/src/fragile.rs:70:55 [INFO] [stdout] 18: 0x564912dc8ab1 - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Rfunc::call_mut::hcfab489bb2052497 [INFO] [stdout] at /opt/rustwide/workdir/src/mock/runtime.rs:13:5 [INFO] [stdout] 19: 0x564912dc9a09 - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Expectation::call::hfb5d7f5d9e93e0b9 [INFO] [stdout] at /opt/rustwide/workdir/src/mock/runtime.rs:13:5 [INFO] [stdout] 20: 0x564912dca2b5 - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Expectations::call::{{closure}}::hdae0c5cb9de518af [INFO] [stdout] at /opt/rustwide/workdir/src/mock/runtime.rs:13:5 [INFO] [stdout] 21: 0x564912e0c80a - core::option::Option::map::hb76ddf27f356d47b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/option.rs:823:29 [INFO] [stdout] 22: 0x564912dca1eb - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Expectations::call::h35dd6dd08f412d7c [INFO] [stdout] at /opt/rustwide/workdir/src/mock/runtime.rs:13:5 [INFO] [stdout] 23: 0x564912dd185d - ::clone::h8062bcbb38ea71a6 [INFO] [stdout] at /opt/rustwide/workdir/src/mock/runtime.rs:13:5 [INFO] [stdout] 24: 0x564912e15885 - pubnub_core::subscription::subscribe_loop_supervisor::SubscribeLoopSupervisor::subscribe::{{closure}}::hd79f2a48ec4042bb [INFO] [stdout] at /opt/rustwide/workdir/src/subscription/subscribe_loop_supervisor.rs:151:22 [INFO] [stdout] 25: 0x564912ddc995 - as core::future::future::Future>::poll::h3623d040dd4d0f49 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 26: 0x564912dd2f8b - pubnub_core::pubnub::subscribe::>::subscribe::{{closure}}::hb93247ee2d2850c4 [INFO] [stdout] at /opt/rustwide/workdir/src/pubnub/subscribe.rs:46:9 [INFO] [stdout] 27: 0x564912ddcc55 - as core::future::future::Future>::poll::h9baf9ddd65232703 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 28: 0x564912e1c6d9 - pubnub_core::pubnub::tests::mocked_pubnub_subscribe_ok::{{closure}}::hfa87258109595f8e [INFO] [stdout] at /opt/rustwide/workdir/src/pubnub/tests.rs:164:36 [INFO] [stdout] 29: 0x564912ddc849 - as core::future::future::Future>::poll::h1cd09fed076a6706 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 30: 0x56491301f7b9 - as core::future::future::Future>::poll::h3d7abafbd99092bb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.16/src/future_obj.rs:84:18 [INFO] [stdout] 31: 0x564913024538 - as futures_core::stream::Stream>::poll_next::h32970a6d98bbbc99 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.16/src/stream/futures_unordered/mod.rs:521:17 [INFO] [stdout] 32: 0x56491302575c - futures_util::stream::stream::StreamExt::poll_next_unpin::h9a085c0e5040f796 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.16/src/stream/stream/mod.rs:1474:9 [INFO] [stdout] 33: 0x56491301df89 - futures_executor::local_pool::LocalPool::poll_pool_once::h4212701f5fd3db66 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.16/src/local_pool.rs:297:9 [INFO] [stdout] 34: 0x56491301dbe7 - futures_executor::local_pool::LocalPool::poll_pool::hcc5be99d58dfefbd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.16/src/local_pool.rs:270:23 [INFO] [stdout] 35: 0x56491301dbaa - futures_executor::local_pool::LocalPool::run::{{closure}}::h7c5e284a28eb9e7f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.16/src/local_pool.rs:149:27 [INFO] [stdout] 36: 0x56491301da03 - futures_executor::local_pool::run_executor::{{closure}}::h061ac16936fd0977 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.16/src/local_pool.rs:90:37 [INFO] [stdout] 37: 0x56491301a42a - std::thread::local::LocalKey::try_with::h3dfb7d69ebf8f211 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/local.rs:399:16 [INFO] [stdout] 38: 0x56491301a2e4 - std::thread::local::LocalKey::with::hced4ebdecdf52540 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/local.rs:375:9 [INFO] [stdout] 39: 0x56491301d944 - futures_executor::local_pool::run_executor::hc5208531ba9a2d65 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.16/src/local_pool.rs:86:5 [INFO] [stdout] 40: 0x56491301db7e - futures_executor::local_pool::LocalPool::run::h16f314856a9e5f89 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.16/src/local_pool.rs:149:9 [INFO] [stdout] 41: 0x564912e1a9a7 - pubnub_core::pubnub::tests::mocked_pubnub_subscribe_ok::hd43af4e10158f77f [INFO] [stdout] at /opt/rustwide/workdir/src/pubnub/tests.rs:189:5 [INFO] [stdout] 42: 0x564912e1a82a - pubnub_core::pubnub::tests::mocked_pubnub_subscribe_ok::{{closure}}::he0b75d45e7ced776 [INFO] [stdout] at /opt/rustwide/workdir/src/pubnub/tests.rs:56:1 [INFO] [stdout] 43: 0x564912dde4be - core::ops::function::FnOnce::call_once::h1172fc5c44254df5 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 44: 0x564912e77e23 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 45: 0x564912e77e23 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:578:5 [INFO] [stdout] 46: 0x564912e76898 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 47: 0x564912e76898 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 48: 0x564912e76898 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 49: 0x564912e76898 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 50: 0x564912e76898 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 51: 0x564912e76898 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:601:18 [INFO] [stdout] 52: 0x564912e76898 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:493:39 [INFO] [stdout] 53: 0x564912e4501d - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:520:37 [INFO] [stdout] 54: 0x564912e4501d - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 55: 0x564912e49748 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 56: 0x564912e49748 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 57: 0x564912e49748 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 58: 0x564912e49748 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 59: 0x564912e49748 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 60: 0x564912e49748 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 61: 0x564912e49748 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 62: 0x564913057c47 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 63: 0x564913057c47 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 64: 0x564913057c47 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 65: 0x7f3d19fd7609 - start_thread [INFO] [stdout] 66: 0x7f3d1a262293 - clone [INFO] [stdout] 67: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] pubnub::tests::mocked_pubnub_subscribe_ok [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "c15579617604cea56d17ce58ff0bed2b5495cd52f4e572662eeaa25a844f9543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c15579617604cea56d17ce58ff0bed2b5495cd52f4e572662eeaa25a844f9543", kill_on_drop: false }` [INFO] [stdout] c15579617604cea56d17ce58ff0bed2b5495cd52f4e572662eeaa25a844f9543