[INFO] crate pubnub-core 0.1.0 is already in cache [INFO] testing pubnub-core-0.1.0 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate pubnub-core 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate pubnub-core 0.1.0 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", 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] 2c8983bfe9f12e6a03474ddc145e8e89ac8a4f4ed282f8639c4c5149b8a6e4ea [INFO] running `Command { std: "docker" "start" "-a" "2c8983bfe9f12e6a03474ddc145e8e89ac8a4f4ed282f8639c4c5149b8a6e4ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c8983bfe9f12e6a03474ddc145e8e89ac8a4f4ed282f8639c4c5149b8a6e4ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8983bfe9f12e6a03474ddc145e8e89ac8a4f4ed282f8639c4c5149b8a6e4ea", kill_on_drop: false }` [INFO] [stdout] 2c8983bfe9f12e6a03474ddc145e8e89ac8a4f4ed282f8639c4c5149b8a6e4ea [INFO] running `Command { std: "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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c55befc8016c2aa6106296ccf7ec67e80e09e8f3196d1ac925085af421ea1db [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" "2c55befc8016c2aa6106296ccf7ec67e80e09e8f3196d1ac925085af421ea1db", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling error-iter v0.2.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates v1.0.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling mockall_derive v0.6.0 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling mockall v0.6.0 [INFO] [stderr] Compiling pubnub-core v0.1.0 (/opt/rustwide/workdir) [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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "2c55befc8016c2aa6106296ccf7ec67e80e09e8f3196d1ac925085af421ea1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c55befc8016c2aa6106296ccf7ec67e80e09e8f3196d1ac925085af421ea1db", kill_on_drop: false }` [INFO] [stdout] 2c55befc8016c2aa6106296ccf7ec67e80e09e8f3196d1ac925085af421ea1db [INFO] running `Command { std: "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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeced3fe22257f35f861ba795ab6102e7d53ee5f769bfb07c32de7bb08787f5b [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" "aeced3fe22257f35f861ba795ab6102e7d53ee5f769bfb07c32de7bb08787f5b", kill_on_drop: false }` [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling randomize v3.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling futures-executor v0.3.5 [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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 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: 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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.63s [INFO] running `Command { std: "docker" "inspect" "aeced3fe22257f35f861ba795ab6102e7d53ee5f769bfb07c32de7bb08787f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeced3fe22257f35f861ba795ab6102e7d53ee5f769bfb07c32de7bb08787f5b", kill_on_drop: false }` [INFO] [stdout] aeced3fe22257f35f861ba795ab6102e7d53ee5f769bfb07c32de7bb08787f5b [INFO] running `Command { std: "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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cbc964c12c43dcc5d1741a622b1a874e87aa5a6259ac0c025c093b33e6d6c452 [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" "cbc964c12c43dcc5d1741a622b1a874e87aa5a6259ac0c025c093b33e6d6c452", kill_on_drop: false }` [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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pubnub_core-feaf105d86579efb [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test data::channel::tests::name_invalid ... ok [INFO] [stdout] test data::channel::tests::name_valid ... ok [INFO] [stdout] test data::target::tests::standard_valid ... ok [INFO] [stdout] test data::target::tests::standard_invalid ... ok [INFO] [stdout] test pubnub::tests::mocked_pubnub_publish_ok ... 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] [2020-08-08T14:36:31Z DEBUG pubnub_core::subscription::subscribe_loop_supervisor] Creating the subscribe loop [INFO] [stdout] [2020-08-08T14:36:31Z DEBUG pubnub_core::subscription::subscribe_loop_supervisor] Waiting for subscription loop ready... [INFO] [stdout] [2020-08-08T14:36:31Z DEBUG pubnub_core::subscription::subscribe_loop] Starting subscribe loop [INFO] [stdout] [2020-08-08T14:36:31Z 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] [2020-08-08T14:36:31Z DEBUG pubnub_core::subscription::subscribe_loop] timetoken: Timetoken { t: 150, r: 1 } [INFO] [stdout] [2020-08-08T14:36:31Z DEBUG pubnub_core::subscription::subscribe_loop] route: test_channel (channel) [INFO] [stdout] [2020-08-08T14:36:31Z 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/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/mem/mod.rs:664:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e1ad31a465 - backtrace::backtrace::libunwind::trace::h5e2646fa3eddf2ea [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55e1ad31a465 - backtrace::backtrace::trace_unsynchronized::hb95dd7f77ce47877 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55e1ad31a465 - std::sys_common::backtrace::_print_fmt::h5e71b67af43fd70d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55e1ad31a465 - ::fmt::hdb4a83d2b61107e5 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55e1ad3427fc - core::fmt::write::ha20e7262fa3e8a7a [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x55e1ad0f26a5 - std::io::Write::write_fmt::hd8ff364c7845d2d0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x55e1ad314741 - std::io::impls::>::write_fmt::h1c057ef6e8762996 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x55e1ad31cbc0 - std::sys_common::backtrace::_print::h9c07314cc66ba539 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55e1ad31cbc0 - std::sys_common::backtrace::print::hd1fd65f49a2d8544 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55e1ad31cbc0 - std::panicking::default_hook::{{closure}}::h222da46485ab36fc [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55e1ad31c8ba - std::panicking::default_hook::hc5868949d129ed00 [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x55e1ad31d203 - std::panicking::rust_panic_with_hook::h26a6ab8b0993c0c8 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x55e1ad31cdfb - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x55e1ad341151 - core::panicking::panic_fmt::h17139c2000299725 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 14: 0x55e1ad34109d - core::panicking::panic::hcdaeac63c39347d7 [INFO] [stdout] at src/libcore/panicking.rs:50 [INFO] [stdout] 15: 0x55e1ad094bd6 - core::mem::uninitialized::h9e46a3c2555f6b1f [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/mem/mod.rs:664 [INFO] [stdout] 16: 0x55e1ad094bd6 - fragile::fragile::Fragile::into_inner::hbd9825eb279bb408 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fragile-0.3.0/src/fragile.rs:70 [INFO] [stdout] 17: 0x55e1ad09f09a - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Rfunc::call_mut::he78a1d157769d3f4 [INFO] [stdout] at src/mock/runtime.rs:13 [INFO] [stdout] 18: 0x55e1ad09ff90 - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Expectation::call::haec319c18049f521 [INFO] [stdout] at src/mock/runtime.rs:13 [INFO] [stdout] 19: 0x55e1ad0a08a5 - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Expectations::call::{{closure}}::h09090e0dc58a4f4f [INFO] [stdout] at src/mock/runtime.rs:13 [INFO] [stdout] 20: 0x55e1ad0b7510 - core::option::Option::map::h49a96d36f862ffa5 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/option.rs:453 [INFO] [stdout] 21: 0x55e1ad0a07d1 - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Expectations::call::h79b2ea6530cc6eb5 [INFO] [stdout] at src/mock/runtime.rs:13 [INFO] [stdout] 22: 0x55e1ad097fe3 - ::clone::h91e88585db09ad23 [INFO] [stdout] at src/mock/runtime.rs:13 [INFO] [stdout] 23: 0x55e1ad09d2ce - pubnub_core::subscription::subscribe_loop_supervisor::SubscribeLoopSupervisor::subscribe::{{closure}}::h46dfa36a62d99492 [INFO] [stdout] at src/subscription/subscribe_loop_supervisor.rs:151 [INFO] [stdout] 24: 0x55e1ad096c70 - as core::future::future::Future>::poll::h5d1b2ea0925ebd38 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/future/mod.rs:78 [INFO] [stdout] 25: 0x55e1ad08908a - pubnub_core::pubnub::subscribe::>::subscribe::{{closure}}::hd0298a8ecf55d47d [INFO] [stdout] at src/pubnub/subscribe.rs:46 [INFO] [stdout] 26: 0x55e1ad096d90 - as core::future::future::Future>::poll::h60d95bccec0ffe67 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/future/mod.rs:78 [INFO] [stdout] 27: 0x55e1ad0c1e54 - pubnub_core::pubnub::tests::mocked_pubnub_subscribe_ok::{{closure}}::hd0d3b095fdc963e5 [INFO] [stdout] at src/pubnub/tests.rs:164 [INFO] [stdout] 28: 0x55e1ad0969f7 - as core::future::future::Future>::poll::h16cc20d1e37c3e40 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/future/mod.rs:78 [INFO] [stdout] 29: 0x55e1ad2ea1bc - as core::future::future::Future>::poll::h0a3f795f64b0df79 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.5/src/future_obj.rs:86 [INFO] [stdout] 30: 0x55e1ad2f18f6 - as futures_core::stream::Stream>::poll_next::h31bd15b016c87d69 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.5/src/stream/futures_unordered/mod.rs:542 [INFO] [stdout] 31: 0x55e1ad2f28ac - futures_util::stream::stream::StreamExt::poll_next_unpin::h41c3e30ecb44f5ea [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.5/src/stream/stream/mod.rs:1323 [INFO] [stdout] 32: 0x55e1ad2eb8af - futures_executor::local_pool::LocalPool::poll_pool_once::h6edcdd91568a6456 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.5/src/local_pool.rs:299 [INFO] [stdout] 33: 0x55e1ad2eb557 - futures_executor::local_pool::LocalPool::poll_pool::hb8b16f7aed67c620 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.5/src/local_pool.rs:272 [INFO] [stdout] 34: 0x55e1ad2eb51a - futures_executor::local_pool::LocalPool::run::{{closure}}::h120c9892aec6ce6a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.5/src/local_pool.rs:151 [INFO] [stdout] 35: 0x55e1ad2eb36e - futures_executor::local_pool::run_executor::{{closure}}::heec8303219a8cd72 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.5/src/local_pool.rs:87 [INFO] [stdout] 36: 0x55e1ad2ec10d - std::thread::local::LocalKey::try_with::h12c2d0120c7a9656 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/local.rs:263 [INFO] [stdout] 37: 0x55e1ad2ebf64 - std::thread::local::LocalKey::with::h4c94028e38c681b7 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/local.rs:239 [INFO] [stdout] 38: 0x55e1ad2eb2b8 - futures_executor::local_pool::run_executor::h092e89179924de65 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.5/src/local_pool.rs:83 [INFO] [stdout] 39: 0x55e1ad2eb4ee - futures_executor::local_pool::LocalPool::run::hc83b3265728f8f9c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.5/src/local_pool.rs:151 [INFO] [stdout] 40: 0x55e1ad0c034e - pubnub_core::pubnub::tests::mocked_pubnub_subscribe_ok::h45bdd84a1b0a7383 [INFO] [stdout] at src/pubnub/tests.rs:189 [INFO] [stdout] 41: 0x55e1ad0c021a - pubnub_core::pubnub::tests::mocked_pubnub_subscribe_ok::{{closure}}::h552336cf9c8ea6d9 [INFO] [stdout] at src/pubnub/tests.rs:56 [INFO] [stdout] 42: 0x55e1ad0a7fee - core::ops::function::FnOnce::call_once::h547762879296961c [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 43: 0x55e1ad119c1c - as core::ops::function::FnOnce>::call_once::h42148c33ed88c979 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 44: 0x55e1ad119c1c - as core::ops::function::FnOnce<()>>::call_once::h759dc0b09d774665 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 45: 0x55e1ad119c1c - std::panicking::try::do_call::h676ad1fc9e9badea [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 46: 0x55e1ad119c1c - std::panicking::try::hee36a8727a3050b0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 47: 0x55e1ad119c1c - std::panic::catch_unwind::hd5d426ebd89b2542 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 48: 0x55e1ad119c1c - test::run_test_in_process::h8dacdba4dc4cbaa5 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 49: 0x55e1ad119c1c - test::run_test::run_test_inner::{{closure}}::hf93754afad6be40f [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 50: 0x55e1ad0f1b96 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2c69fab544a90730 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 51: 0x55e1ad0f6c25 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hcf302fafa60d80f2 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:475 [INFO] [stdout] 52: 0x55e1ad0f6c25 - as core::ops::function::FnOnce<()>>::call_once::h39ede710608e817e [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 53: 0x55e1ad0f6c25 - std::panicking::try::do_call::hec0b4d2faa46fbf7 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 54: 0x55e1ad0f6c25 - std::panicking::try::h0144ba3f2539803d [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 55: 0x55e1ad0f6c25 - std::panic::catch_unwind::ha03e59eb589f857b [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 56: 0x55e1ad0f6c25 - std::thread::Builder::spawn_unchecked::{{closure}}::hdeba34620a4a7a44 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:474 [INFO] [stdout] 57: 0x55e1ad0f6c25 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h552693dbb801eadd [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 58: 0x55e1ad32345a - as core::ops::function::FnOnce>::call_once::h61c24496ae624ac5 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 59: 0x55e1ad32345a - as core::ops::function::FnOnce>::call_once::h89548957afa14049 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 60: 0x55e1ad32345a - std::sys::unix::thread::Thread::new::thread_start::h73903fbbff5b990e [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 61: 0x7ff1df289609 - start_thread [INFO] [stdout] 62: 0x7ff1df514103 - __clone [INFO] [stdout] 63: 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "cbc964c12c43dcc5d1741a622b1a874e87aa5a6259ac0c025c093b33e6d6c452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbc964c12c43dcc5d1741a622b1a874e87aa5a6259ac0c025c093b33e6d6c452", kill_on_drop: false }` [INFO] [stdout] cbc964c12c43dcc5d1741a622b1a874e87aa5a6259ac0c025c093b33e6d6c452