[INFO] fetching crate rust_cast 0.15.1... [INFO] testing rust_cast-0.15.1 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate rust_cast 0.15.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rust_cast 0.15.1 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust_cast 0.15.1 [INFO] finished tweaking crates.io crate rust_cast 0.15.1 [INFO] tweaked toml for crates.io crate rust_cast 0.15.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] 6c30447945d18caa7459039ebf9c7f94a587dbd02496499222290c8799076dd0 [INFO] running `Command { std: "docker" "start" "-a" "6c30447945d18caa7459039ebf9c7f94a587dbd02496499222290c8799076dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c30447945d18caa7459039ebf9c7f94a587dbd02496499222290c8799076dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c30447945d18caa7459039ebf9c7f94a587dbd02496499222290c8799076dd0", kill_on_drop: false }` [INFO] [stdout] 6c30447945d18caa7459039ebf9c7f94a587dbd02496499222290c8799076dd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--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] de4f75a870976b3db3e740f2de4016de364b3728eb3cbeeae6ae01ee8cbb0c68 [INFO] running `Command { std: "docker" "start" "-a" "de4f75a870976b3db3e740f2de4016de364b3728eb3cbeeae6ae01ee8cbb0c68", kill_on_drop: false }` [INFO] [stderr] Compiling protobuf v2.10.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling protoc v2.10.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling protobuf-codegen v2.10.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling protoc-rust v2.10.1 [INFO] [stderr] Compiling rust_cast v0.15.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | SslError::Generic(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | SslError::Handshake(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:77:45 [INFO] [stdout] | [INFO] [stdout] 77 | Error::Protobuf(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | Error::Serialization(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | Error::Ssl(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.20s [INFO] running `Command { std: "docker" "inspect" "de4f75a870976b3db3e740f2de4016de364b3728eb3cbeeae6ae01ee8cbb0c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de4f75a870976b3db3e740f2de4016de364b3728eb3cbeeae6ae01ee8cbb0c68", kill_on_drop: false }` [INFO] [stdout] de4f75a870976b3db3e740f2de4016de364b3728eb3cbeeae6ae01ee8cbb0c68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] a46a51150873801ad932a5e69325b338e6da0f565570b838249a007b92206705 [INFO] running `Command { std: "docker" "start" "-a" "a46a51150873801ad932a5e69325b338e6da0f565570b838249a007b92206705", kill_on_drop: false }` [INFO] [stderr] Compiling rust_cast v0.15.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | SslError::Generic(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | SslError::Handshake(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:77:45 [INFO] [stdout] | [INFO] [stdout] 77 | Error::Protobuf(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | Error::Serialization(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | Error::Ssl(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | SslError::Generic(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | SslError::Handshake(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:77:45 [INFO] [stdout] | [INFO] [stdout] 77 | Error::Protobuf(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | Error::Serialization(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | Error::Ssl(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `Command { std: "docker" "inspect" "a46a51150873801ad932a5e69325b338e6da0f565570b838249a007b92206705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46a51150873801ad932a5e69325b338e6da0f565570b838249a007b92206705", kill_on_drop: false }` [INFO] [stdout] a46a51150873801ad932a5e69325b338e6da0f565570b838249a007b92206705 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 994d0cfac834807cdfdf47e223597a86ef4bf84f38ece21734425394fba2e537 [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" "994d0cfac834807cdfdf47e223597a86ef4bf84f38ece21734425394fba2e537", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:31:43 [INFO] [stderr] | [INFO] [stderr] 31 | SslError::Generic(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:32:45 [INFO] [stderr] | [INFO] [stderr] 32 | SslError::Handshake(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:76:39 [INFO] [stderr] | [INFO] [stderr] 76 | Error::Io(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:77:45 [INFO] [stderr] | [INFO] [stderr] 77 | Error::Protobuf(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:78:50 [INFO] [stderr] | [INFO] [stderr] 78 | Error::Serialization(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:79:40 [INFO] [stderr] | [INFO] [stderr] 79 | Error::Ssl(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:31:43 [INFO] [stderr] | [INFO] [stderr] 31 | SslError::Generic(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:32:45 [INFO] [stderr] | [INFO] [stderr] 32 | SslError::Handshake(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:76:39 [INFO] [stderr] | [INFO] [stderr] 76 | Error::Io(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:77:45 [INFO] [stderr] | [INFO] [stderr] 77 | Error::Protobuf(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:78:50 [INFO] [stderr] | [INFO] [stderr] 78 | Error::Serialization(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:79:40 [INFO] [stderr] | [INFO] [stderr] 79 | Error::Ssl(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_cast-d93b844925f55e3e [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests rust_cast [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/channels/receiver.rs - channels::receiver::ReceiverChannel::launch_app (line 203) ... FAILED [INFO] [stdout] test src/message_manager.rs - message_manager::MessageManager::receive_find_map (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - CastDevice::receive (line 162) ... FAILED [INFO] [stdout] test src/lib.rs - CastDevice::connect (line 75) ... FAILED [INFO] [stdout] test src/lib.rs - CastDevice::connect_without_host_verification (line 114) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/channels/receiver.rs - channels::receiver::ReceiverChannel::launch_app (line 203) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cast_device` in this scope [INFO] [stdout] --> src/channels/receiver.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 3 | cast_device.receiver.launch_app(&CastDeviceApp::from_str("youtube").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CastDeviceApp` [INFO] [stdout] --> src/channels/receiver.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 3 | cast_device.receiver.launch_app(&CastDeviceApp::from_str("youtube").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use rust_cast::channels::receiver::CastDeviceApp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message_manager.rs - message_manager::MessageManager::receive_find_map (line 118) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message_manager` in this scope [INFO] [stdout] --> src/message_manager.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 3 | message_manager.receive_find_map(|message| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `can_handle` in this scope [INFO] [stdout] --> src/message_manager.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 4 | if !can_handle(message) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> src/message_manager.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 8 | parse(message) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - CastDevice::receive (line 162) stdout ---- [INFO] [stdout] error: unexpected `...` [INFO] [stdout] --> src/lib.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 6 | ....... [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not a valid pattern [INFO] [stdout] | help: for a rest pattern, use `..` instead of `...` [INFO] [stdout] [INFO] [stdout] error: expected one of `=>`, `if`, or `|`, found `...` [INFO] [stdout] --> src/lib.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 6 | ....... [INFO] [stdout] | ^^^ expected one of `=>`, `if`, or `|` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/lib.rs:164:44 [INFO] [stdout] | [INFO] [stdout] 4 | Ok(ChannelMessage::Connection(res)) => debug!("Connection message: {:?}", res), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ChannelMessage` [INFO] [stdout] --> src/lib.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 4 | Ok(ChannelMessage::Connection(res)) => debug!("Connection message: {:?}", res), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `ChannelMessage` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ChannelMessage` [INFO] [stdout] --> src/lib.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 5 | Ok(ChannelMessage::Heartbeat(_)) => cast_device.heartbeat.pong(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `ChannelMessage` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cast_device` in this scope [INFO] [stdout] --> src/lib.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 3 | match cast_device.receive() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cast_device` in this scope [INFO] [stdout] --> src/lib.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 5 | Ok(ChannelMessage::Heartbeat(_)) => cast_device.heartbeat.pong(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - CastDevice::connect (line 75) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CastDevice` [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 3 | let device = CastDevice::connect(args.flag_address.unwrap(), args.flag_port)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rust_cast::CastDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `args` in this scope [INFO] [stdout] --> src/lib.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 3 | let device = CastDevice::connect(args.flag_address.unwrap(), args.flag_port)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `args` in this scope [INFO] [stdout] --> src/lib.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 3 | let device = CastDevice::connect(args.flag_address.unwrap(), args.flag_port)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let device = CastDevice::connect(args.flag_address.unwrap(), args.flag_port)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - CastDevice::connect_without_host_verification (line 114) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CastDevice` [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 3 | let device = CastDevice::connect_without_host_verification( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rust_cast::CastDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `args` in this scope [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 4 | args.flag_address.unwrap(), args.flag_port)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `args` in this scope [INFO] [stdout] --> src/lib.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 4 | args.flag_address.unwrap(), args.flag_port)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let device = CastDevice::connect_without_host_verification( [INFO] [stdout] | |______________^ [INFO] [stdout] 4 | || args.flag_address.unwrap(), args.flag_port)?; [INFO] [stdout] | ||________________________________________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/channels/receiver.rs - channels::receiver::ReceiverChannel::launch_app (line 203) [INFO] [stdout] src/lib.rs - CastDevice::connect (line 75) [INFO] [stdout] src/lib.rs - CastDevice::connect_without_host_verification (line 114) [INFO] [stdout] src/lib.rs - CastDevice::receive (line 162) [INFO] [stdout] src/message_manager.rs - message_manager::MessageManager::receive_find_map (line 118) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "994d0cfac834807cdfdf47e223597a86ef4bf84f38ece21734425394fba2e537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "994d0cfac834807cdfdf47e223597a86ef4bf84f38ece21734425394fba2e537", kill_on_drop: false }` [INFO] [stdout] 994d0cfac834807cdfdf47e223597a86ef4bf84f38ece21734425394fba2e537