[INFO] crate artnet_protocol 0.1.1 is already in cache [INFO] extracting crate artnet_protocol 0.1.1 into work/ex/beta-1.38-1/sources/1.37.0/reg/artnet_protocol/0.1.1 [INFO] extracting crate artnet_protocol 0.1.1 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/artnet_protocol/0.1.1 [INFO] validating manifest of artnet_protocol-0.1.1 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of artnet_protocol-0.1.1 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing artnet_protocol-0.1.1 [INFO] finished frobbing artnet_protocol-0.1.1 [INFO] frobbed toml for artnet_protocol-0.1.1 written to work/ex/beta-1.38-1/sources/1.37.0/reg/artnet_protocol/0.1.1/Cargo.toml [INFO] started frobbing artnet_protocol-0.1.1 [INFO] finished frobbing artnet_protocol-0.1.1 [INFO] frobbed toml for artnet_protocol-0.1.1 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/artnet_protocol/0.1.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing artnet_protocol-0.1.1 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/artnet_protocol/0.1.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 1598cefa46880c7c7391270eb9587318b5b78af866ebf4ba169a52d7a994e14f [INFO] running `"docker" "start" "-a" "1598cefa46880c7c7391270eb9587318b5b78af866ebf4ba169a52d7a994e14f"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling backtrace v0.3.35 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling artnet_protocol v0.1.1 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/command/poll_reply.rs:85:46 [INFO] [stderr] | [INFO] [stderr] 85 | .field("short_name", &short_name.trim_right_matches('\0')) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/command/poll_reply.rs:86:44 [INFO] [stderr] | [INFO] [stderr] 86 | .field("long_name", &long_name.trim_right_matches('\0')) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.20s [INFO] running `"docker" "inspect" "1598cefa46880c7c7391270eb9587318b5b78af866ebf4ba169a52d7a994e14f"` [INFO] running `"docker" "rm" "-f" "1598cefa46880c7c7391270eb9587318b5b78af866ebf4ba169a52d7a994e14f"` [INFO] [stdout] 1598cefa46880c7c7391270eb9587318b5b78af866ebf4ba169a52d7a994e14f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/artnet_protocol/0.1.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] dc54635c72af9455233f81ff6d72ca37c7abbf220af3e3dc3849c4f90e87c5ce [INFO] running `"docker" "start" "-a" "dc54635c72af9455233f81ff6d72ca37c7abbf220af3e3dc3849c4f90e87c5ce"` [INFO] [stderr] Compiling artnet_protocol v0.1.1 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/command/poll_reply.rs:85:46 [INFO] [stderr] | [INFO] [stderr] 85 | .field("short_name", &short_name.trim_right_matches('\0')) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/command/poll_reply.rs:86:44 [INFO] [stderr] | [INFO] [stderr] 86 | .field("long_name", &long_name.trim_right_matches('\0')) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `"docker" "inspect" "dc54635c72af9455233f81ff6d72ca37c7abbf220af3e3dc3849c4f90e87c5ce"` [INFO] running `"docker" "rm" "-f" "dc54635c72af9455233f81ff6d72ca37c7abbf220af3e3dc3849c4f90e87c5ce"` [INFO] [stdout] dc54635c72af9455233f81ff6d72ca37c7abbf220af3e3dc3849c4f90e87c5ce [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/artnet_protocol/0.1.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] 1de14b662813fe97e8450676d6258b200aa852cc3a1168f044335954b351029d [INFO] running `"docker" "start" "-a" "1de14b662813fe97e8450676d6258b200aa852cc3a1168f044335954b351029d"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/crater/target/debug/deps/artnet_protocol-90d7ba620d943624 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test command::output::test_encode_decode ... ok [INFO] [stdout] test command::poll::test_encode_decode ... ok [INFO] [stdout] test command::poll_reply::test_encode_decode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests artnet_protocol [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 3) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 3) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket` [INFO] [stdout] --> src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 3 | let socket = UdpSocket::bind(("0.0.0.0", 6454))?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `UdpSocket` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ArtCommand` [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | let buff = ArtCommand::Poll(Poll::default()).into_buffer().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ArtCommand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stdout] --> src/lib.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 6 | let buff = ArtCommand::Poll(Poll::default()).into_buffer().unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type or module `Poll` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ArtCommand` [INFO] [stdout] --> src/lib.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 12 | let command = ArtCommand::from_buffer(&buffer[..length]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ArtCommand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ArtCommand` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | ArtCommand::Poll(poll) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ArtCommand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ArtCommand` [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | ArtCommand::PollReply(reply) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ArtCommand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ArtCommand` [INFO] [stdout] --> src/lib.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 21 | let command = ArtCommand::Output(Output { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `ArtCommand` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Output` [INFO] [stdout] --> src/lib.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 24 | ..Output::default() [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Output` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Output` in this scope [INFO] [stdout] --> src/lib.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 21 | let command = ArtCommand::Output(Output { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Output; [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:4:14 [INFO] [stdout] | [INFO] [stdout] 3 | let socket = UdpSocket::bind(("0.0.0.0", 6454))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [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[E0599]: no method named `to_socket_addrs` found for type `(&'static str, {integer})` in the current scope [INFO] [stdout] --> src/lib.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 4 | let broadcast_addr = ("255.255.255.255", 6454).to_socket_addrs().unwrap().next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::ToSocketAddrs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0433, E0599. [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/lib.rs - (line 3) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "1de14b662813fe97e8450676d6258b200aa852cc3a1168f044335954b351029d"` [INFO] running `"docker" "rm" "-f" "1de14b662813fe97e8450676d6258b200aa852cc3a1168f044335954b351029d"` [INFO] [stdout] 1de14b662813fe97e8450676d6258b200aa852cc3a1168f044335954b351029d