[INFO] crate rust_cast 0.15.1 is already in cache [INFO] testing rust_cast-0.15.1 against 1.44.0 for beta-1.45-1 [INFO] extracting crate rust_cast 0.15.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate rust_cast 0.15.1 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] cf450768c986c858512622aae273bec361afaf00450d6038d2ef1feb03825d8c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "cf450768c986c858512622aae273bec361afaf00450d6038d2ef1feb03825d8c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] [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 dev [unoptimized + debuginfo] target(s) in 30.11s [INFO] running `"docker" "inspect" "cf450768c986c858512622aae273bec361afaf00450d6038d2ef1feb03825d8c"` [INFO] running `"docker" "rm" "-f" "cf450768c986c858512622aae273bec361afaf00450d6038d2ef1feb03825d8c"` [INFO] [stdout] cf450768c986c858512622aae273bec361afaf00450d6038d2ef1feb03825d8c [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ec61d9813e2f61f4ed5c59c20bf697b599bfe819160ae6f5cd587218bd9d1366 [INFO] running `"docker" "start" "-a" "ec61d9813e2f61f4ed5c59c20bf697b599bfe819160ae6f5cd587218bd9d1366"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rust_cast v0.15.1 (/opt/rustwide/workdir) [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 3.22s [INFO] running `"docker" "inspect" "ec61d9813e2f61f4ed5c59c20bf697b599bfe819160ae6f5cd587218bd9d1366"` [INFO] running `"docker" "rm" "-f" "ec61d9813e2f61f4ed5c59c20bf697b599bfe819160ae6f5cd587218bd9d1366"` [INFO] [stdout] ec61d9813e2f61f4ed5c59c20bf697b599bfe819160ae6f5cd587218bd9d1366 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 659dafbdd0c51e7f63bac660d0e2b6d796ea17d985488b82526e25c92cb2db4e [INFO] running `"docker" "start" "-a" "659dafbdd0c51e7f63bac660d0e2b6d796ea17d985488b82526e25c92cb2db4e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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.37s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_cast-735e149a56f0af6c [INFO] [stderr] Doc-tests rust_cast [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - CastDevice::receive (line 162) ... FAILED [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::connect_without_host_verification (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - CastDevice::connect (line 75) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/channels/receiver.rs - channels::receiver::ReceiverChannel::launch_app (line 203) 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] | ^^^^^^^^^^^^^ use of undeclared type or module `CastDeviceApp` [INFO] [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: 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::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] | ^^^^^^^^^^ use of undeclared type or module `CastDevice` [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: possible candidate is found in another module, you can import it into scope [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: possible candidate is found in another module, you can import it into scope [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] ---- 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] | ^^^^^^^^^^ use of undeclared type or module `CastDevice` [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: possible candidate is found in another module, you can import it into scope [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: possible candidate is found in another module, you can import it into scope [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] [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] running `"docker" "inspect" "659dafbdd0c51e7f63bac660d0e2b6d796ea17d985488b82526e25c92cb2db4e"` [INFO] running `"docker" "rm" "-f" "659dafbdd0c51e7f63bac660d0e2b6d796ea17d985488b82526e25c92cb2db4e"` [INFO] [stdout] 659dafbdd0c51e7f63bac660d0e2b6d796ea17d985488b82526e25c92cb2db4e