[INFO] crate pubnub-core 0.1.0 is already in cache [INFO] testing pubnub-core-0.1.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate pubnub-core 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pubnub-core 0.1.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb19fa6d9dfc77bc0dbc59a71c0afcfc14557ea300182e04a1b848dd8d82365a [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" "fb19fa6d9dfc77bc0dbc59a71c0afcfc14557ea300182e04a1b848dd8d82365a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb19fa6d9dfc77bc0dbc59a71c0afcfc14557ea300182e04a1b848dd8d82365a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb19fa6d9dfc77bc0dbc59a71c0afcfc14557ea300182e04a1b848dd8d82365a", kill_on_drop: false }` [INFO] [stdout] fb19fa6d9dfc77bc0dbc59a71c0afcfc14557ea300182e04a1b848dd8d82365a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc2011098960ab0215c92765edfbb7883d24059d84892fb7a94ca49c04df1a67 [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" "fc2011098960ab0215c92765edfbb7883d24059d84892fb7a94ca49c04df1a67", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling error-iter v0.2.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates v1.0.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling mockall_derive v0.6.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [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 07s [INFO] running `Command { std: "docker" "inspect" "fc2011098960ab0215c92765edfbb7883d24059d84892fb7a94ca49c04df1a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2011098960ab0215c92765edfbb7883d24059d84892fb7a94ca49c04df1a67", kill_on_drop: false }` [INFO] [stdout] fc2011098960ab0215c92765edfbb7883d24059d84892fb7a94ca49c04df1a67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", 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] 6b5fb71bf257b7fb9cabcdf2801a0f94b87dd749f255658e0b66d26e23cfa156 [INFO] running `Command { std: "docker" "start" "-a" "6b5fb71bf257b7fb9cabcdf2801a0f94b87dd749f255658e0b66d26e23cfa156", kill_on_drop: false }` [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling randomize v3.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [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 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 10.32s [INFO] running `Command { std: "docker" "inspect" "6b5fb71bf257b7fb9cabcdf2801a0f94b87dd749f255658e0b66d26e23cfa156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b5fb71bf257b7fb9cabcdf2801a0f94b87dd749f255658e0b66d26e23cfa156", kill_on_drop: false }` [INFO] [stdout] 6b5fb71bf257b7fb9cabcdf2801a0f94b87dd749f255658e0b66d26e23cfa156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+1.45.2" "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] 1698a418431fcf2a27b17da63ddbff5c6d2fe3dc92cd1321df68f5c9df4850ef [INFO] running `Command { std: "docker" "start" "-a" "1698a418431fcf2a27b17da63ddbff5c6d2fe3dc92cd1321df68f5c9df4850ef", 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.08s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pubnub_core-fcc58a425630c6ee [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test data::channel::tests::name_valid ... ok [INFO] [stdout] test data::target::tests::standard_invalid ... ok [INFO] [stdout] test data::target::tests::standard_valid ... ok [INFO] [stdout] test data::channel::tests::name_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:32Z DEBUG pubnub_core::subscription::subscribe_loop_supervisor] Creating the subscribe loop [INFO] [stdout] [2020-08-08T14:36:32Z DEBUG pubnub_core::subscription::subscribe_loop_supervisor] Waiting for subscription loop ready... [INFO] [stdout] [2020-08-08T14:36:32Z DEBUG pubnub_core::subscription::subscribe_loop] Starting subscribe loop [INFO] [stdout] [2020-08-08T14:36:32Z 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:32Z DEBUG pubnub_core::subscription::subscribe_loop] timetoken: Timetoken { t: 150, r: 1 } [INFO] [stdout] [2020-08-08T14:36:32Z DEBUG pubnub_core::subscription::subscribe_loop] route: test_channel (channel) [INFO] [stdout] [2020-08-08T14:36:32Z 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/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/mem/mod.rs:655:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55ccccf02875 - backtrace::backtrace::libunwind::trace::ha215bbf14e328799 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55ccccf02875 - backtrace::backtrace::trace_unsynchronized::h3384b099b135857a [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55ccccf02875 - std::sys_common::backtrace::_print_fmt::hfec93740f7294682 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55ccccf02875 - ::fmt::h5fe20777f4174074 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55ccccf2adfc - core::fmt::write::he14c3177144df275 [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x55cccccd0ba5 - std::io::Write::write_fmt::ha866504c9998fe5e [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x55ccccefc901 - std::io::impls::>::write_fmt::h8f0a2af895559593 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x55ccccf050a0 - std::sys_common::backtrace::_print::h9cfa4c87526ba064 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55ccccf050a0 - std::sys_common::backtrace::print::h94936584848b3272 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55ccccf050a0 - std::panicking::default_hook::{{closure}}::h733b20cc9b496e46 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55ccccf04d9a - std::panicking::default_hook::h556d8cff6c12a651 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55ccccf056d7 - std::panicking::rust_panic_with_hook::ha0c7ca5b39baa9d5 [INFO] [stdout] at src/libstd/panicking.rs:486 [INFO] [stdout] 12: 0x55ccccf052db - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:388 [INFO] [stdout] 13: 0x55ccccf29751 - core::panicking::panic_fmt::h106d7128cbbc7cd2 [INFO] [stdout] at src/libcore/panicking.rs:101 [INFO] [stdout] 14: 0x55ccccf2969d - core::panicking::panic::hfe03c118d2519816 [INFO] [stdout] at src/libcore/panicking.rs:56 [INFO] [stdout] 15: 0x55ccccc76226 - core::mem::uninitialized::h0052ee78c72cc579 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/mem/mod.rs:655 [INFO] [stdout] 16: 0x55ccccc76226 - fragile::fragile::Fragile::into_inner::hb97e8ace2e436222 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fragile-0.3.0/src/fragile.rs:70 [INFO] [stdout] 17: 0x55ccccc7efba - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Rfunc::call_mut::hc92e4ad393cf1f91 [INFO] [stdout] at src/mock/runtime.rs:13 [INFO] [stdout] 18: 0x55ccccc7feb0 - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Expectation::call::h2ba4b1eeeb23bbd8 [INFO] [stdout] at src/mock/runtime.rs:13 [INFO] [stdout] 19: 0x55ccccc807c5 - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Expectations::call::{{closure}}::ha7c0b779780a365c [INFO] [stdout] at src/mock/runtime.rs:13 [INFO] [stdout] 20: 0x55ccccc98720 - core::option::Option::map::h7d4a4b8a8a1615bb [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/option.rs:458 [INFO] [stdout] 21: 0x55ccccc806f1 - pubnub_core::mock::runtime::gen::__mock_Runtime_Clone::clone::Expectations::call::h7cf26acea1cfca1a [INFO] [stdout] at src/mock/runtime.rs:13 [INFO] [stdout] 22: 0x55ccccc70893 - ::clone::he2907d90ffc801fb [INFO] [stdout] at src/mock/runtime.rs:13 [INFO] [stdout] 23: 0x55ccccc8d4c0 - pubnub_core::subscription::subscribe_loop_supervisor::SubscribeLoopSupervisor::subscribe::{{closure}}::hcd224b46da642574 [INFO] [stdout] at src/subscription/subscribe_loop_supervisor.rs:151 [INFO] [stdout] 24: 0x55ccccc8b9f0 - as core::future::future::Future>::poll::hd2546848b2011875 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/future/mod.rs:73 [INFO] [stdout] 25: 0x55ccccc67a0e - pubnub_core::pubnub::subscribe::>::subscribe::{{closure}}::h01ad95e1d702921e [INFO] [stdout] at src/pubnub/subscribe.rs:46 [INFO] [stdout] 26: 0x55ccccc8bb10 - as core::future::future::Future>::poll::hd81e82417bdbd162 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/future/mod.rs:73 [INFO] [stdout] 27: 0x55ccccca1bc4 - pubnub_core::pubnub::tests::mocked_pubnub_subscribe_ok::{{closure}}::ha5fb5709e683c18d [INFO] [stdout] at src/pubnub/tests.rs:164 [INFO] [stdout] 28: 0x55ccccc8b8a7 - as core::future::future::Future>::poll::ha45ea7c09bade657 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/future/mod.rs:73 [INFO] [stdout] 29: 0x55ccccedc07c - as core::future::future::Future>::poll::h9e6f0d62a0b89f74 [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: 0x55cccced91be - as futures_core::stream::Stream>::poll_next::hc2b7d38aace834be [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: 0x55cccceda12c - futures_util::stream::stream::StreamExt::poll_next_unpin::h76425d23e91cfd1b [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: 0x55cccced2fd2 - futures_executor::local_pool::LocalPool::poll_pool_once::ha685ff2709f02c33 [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: 0x55cccced2c67 - futures_executor::local_pool::LocalPool::poll_pool::hb864ecfb132c6f34 [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: 0x55cccced2c2a - futures_executor::local_pool::LocalPool::run::{{closure}}::hcd6f3b9b9fd4ca05 [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: 0x55cccced2a7e - futures_executor::local_pool::run_executor::{{closure}}::h7015cba4da326e62 [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: 0x55cccced383d - std::thread::local::LocalKey::try_with::h0c82aa56b9df3cf7 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/thread/local.rs:263 [INFO] [stdout] 37: 0x55cccced3694 - std::thread::local::LocalKey::with::h2a5808057d934b6d [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/thread/local.rs:239 [INFO] [stdout] 38: 0x55cccced29c8 - futures_executor::local_pool::run_executor::h50a42cf1dee73ed1 [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: 0x55cccced2bfe - futures_executor::local_pool::LocalPool::run::hfb4a114b6a9ab33f [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: 0x55ccccca00be - pubnub_core::pubnub::tests::mocked_pubnub_subscribe_ok::hbee98d9149b289bc [INFO] [stdout] at src/pubnub/tests.rs:189 [INFO] [stdout] 41: 0x55ccccc9ff8a - pubnub_core::pubnub::tests::mocked_pubnub_subscribe_ok::{{closure}}::h390149bafc3f5e70 [INFO] [stdout] at src/pubnub/tests.rs:56 [INFO] [stdout] 42: 0x55ccccc8f50e - core::ops::function::FnOnce::call_once::h19d37671d2229c63 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/ops/function.rs:232 [INFO] [stdout] 43: 0x55cccccf7d92 - as core::ops::function::FnOnce>::call_once::h1efcc6525b6aa145 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 44: 0x55cccccf7d92 - as core::ops::function::FnOnce<()>>::call_once::hafd7ae2f3c23f399 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:318 [INFO] [stdout] 45: 0x55cccccf7d92 - std::panicking::try::do_call::h83baf26f5fc8b0a5 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:297 [INFO] [stdout] 46: 0x55cccccf7d92 - std::panicking::try::h8d28a678b90bb6ac [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:274 [INFO] [stdout] 47: 0x55cccccf7d92 - std::panic::catch_unwind::h20734e8710644f59 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:394 [INFO] [stdout] 48: 0x55cccccf7d92 - test::run_test_in_process::h2c1fb2dd0c9013bb [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 49: 0x55cccccf7d92 - test::run_test::run_test_inner::{{closure}}::h7c58b7aefdb9adf3 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 50: 0x55cccccd0066 - std::sys_common::backtrace::__rust_begin_short_backtrace::h498f21fd16bdff05 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 51: 0x55cccccd53a5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hb35336a0a0430e6d [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/thread/mod.rs:475 [INFO] [stdout] 52: 0x55cccccd53a5 - as core::ops::function::FnOnce<()>>::call_once::h8569a86268e08ad1 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:318 [INFO] [stdout] 53: 0x55cccccd53a5 - std::panicking::try::do_call::hcc5472a0f1ff31ac [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:297 [INFO] [stdout] 54: 0x55cccccd53a5 - std::panicking::try::h774b0c4fd770945c [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:274 [INFO] [stdout] 55: 0x55cccccd53a5 - std::panic::catch_unwind::hfaf7c6beb53320e7 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:394 [INFO] [stdout] 56: 0x55cccccd53a5 - std::thread::Builder::spawn_unchecked::{{closure}}::h481343a824704446 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/thread/mod.rs:474 [INFO] [stdout] 57: 0x55cccccd53a5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dcbc7fc2c4c6c48 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/ops/function.rs:232 [INFO] [stdout] 58: 0x55ccccf0ba3a - as core::ops::function::FnOnce>::call_once::hf311c88f1fadb9b8 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 59: 0x55ccccf0ba3a - as core::ops::function::FnOnce>::call_once::h8cfb7235b81393ef [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 60: 0x55ccccf0ba3a - std::sys::unix::thread::Thread::new::thread_start::hf745c8cf29a89648 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 61: 0x7feeb5d94609 - start_thread [INFO] [stdout] 62: 0x7feeb601f103 - __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" "1698a418431fcf2a27b17da63ddbff5c6d2fe3dc92cd1321df68f5c9df4850ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1698a418431fcf2a27b17da63ddbff5c6d2fe3dc92cd1321df68f5c9df4850ef", kill_on_drop: false }` [INFO] [stdout] 1698a418431fcf2a27b17da63ddbff5c6d2fe3dc92cd1321df68f5c9df4850ef