[INFO] crate rust_cast 0.15.1 is already in cache [INFO] testing rust_cast-0.15.1 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate rust_cast 0.15.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rust_cast 0.15.1 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 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-7/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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stdout] 1efa70f282e4aae37f790c9fd91f2c7b19c5eebfe607069c4aa6a8abde47720e [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" "1efa70f282e4aae37f790c9fd91f2c7b19c5eebfe607069c4aa6a8abde47720e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1efa70f282e4aae37f790c9fd91f2c7b19c5eebfe607069c4aa6a8abde47720e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1efa70f282e4aae37f790c9fd91f2c7b19c5eebfe607069c4aa6a8abde47720e", kill_on_drop: false }` [INFO] [stdout] 1efa70f282e4aae37f790c9fd91f2c7b19c5eebfe607069c4aa6a8abde47720e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 12f9383a539b1cdf391cc0bd9824cfac34ae7085f9ad616c92fbcc3436d9f8bd [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" "12f9383a539b1cdf391cc0bd9824cfac34ae7085f9ad616c92fbcc3436d9f8bd", kill_on_drop: false }` [INFO] [stderr] Compiling protobuf v2.10.1 [INFO] [stderr] Compiling protoc v2.10.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling protobuf-codegen v2.10.1 [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 16.88s [INFO] running `Command { std: "docker" "inspect" "12f9383a539b1cdf391cc0bd9824cfac34ae7085f9ad616c92fbcc3436d9f8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12f9383a539b1cdf391cc0bd9824cfac34ae7085f9ad616c92fbcc3436d9f8bd", kill_on_drop: false }` [INFO] [stdout] 12f9383a539b1cdf391cc0bd9824cfac34ae7085f9ad616c92fbcc3436d9f8bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] c4dd70c1010e5bd7f9e90eed6694cb566a15d1bcc7e4d998fccac8b6b73ac72c [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" "c4dd70c1010e5bd7f9e90eed6694cb566a15d1bcc7e4d998fccac8b6b73ac72c", 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.31s [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c4dd70c1010e5bd7f9e90eed6694cb566a15d1bcc7e4d998fccac8b6b73ac72c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4dd70c1010e5bd7f9e90eed6694cb566a15d1bcc7e4d998fccac8b6b73ac72c", kill_on_drop: false }` [INFO] [stdout] c4dd70c1010e5bd7f9e90eed6694cb566a15d1bcc7e4d998fccac8b6b73ac72c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 31f6d416f30a6f4fd1311e7c34ef4c1d141b937e0c960c2b016e64e244aa23d6 [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" "31f6d416f30a6f4fd1311e7c34ef4c1d141b937e0c960c2b016e64e244aa23d6", 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.25s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_cast-ec0998f71f3fa486 [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/message_manager.rs - message_manager::MessageManager::receive_find_map (line 118) ... FAILED [INFO] [stdout] test src/channels/receiver.rs - channels::receiver::ReceiverChannel::launch_app (line 203) ... 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/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/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/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" "31f6d416f30a6f4fd1311e7c34ef4c1d141b937e0c960c2b016e64e244aa23d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f6d416f30a6f4fd1311e7c34ef4c1d141b937e0c960c2b016e64e244aa23d6", kill_on_drop: false }` [INFO] [stdout] 31f6d416f30a6f4fd1311e7c34ef4c1d141b937e0c960c2b016e64e244aa23d6