[INFO] updating cached repository Trangar/artnet_protocol [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Trangar/artnet_protocol [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Trangar/artnet_protocol" "work/ex/beta-1.38-1/sources/1.37.0/gh/Trangar/artnet_protocol"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/Trangar/artnet_protocol'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Trangar/artnet_protocol" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Trangar/artnet_protocol"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Trangar/artnet_protocol'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5c00553ee0d6316d88d1cee580b715b105c8ad49 [INFO] sha for GitHub repo Trangar/artnet_protocol: 5c00553ee0d6316d88d1cee580b715b105c8ad49 [INFO] validating manifest of Trangar/artnet_protocol 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 Trangar/artnet_protocol 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 Trangar/artnet_protocol [INFO] finished frobbing Trangar/artnet_protocol [INFO] frobbed toml for Trangar/artnet_protocol written to work/ex/beta-1.38-1/sources/1.37.0/gh/Trangar/artnet_protocol/Cargo.toml [INFO] started frobbing Trangar/artnet_protocol [INFO] finished frobbing Trangar/artnet_protocol [INFO] frobbed toml for Trangar/artnet_protocol written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Trangar/artnet_protocol/Cargo.toml [INFO] crate Trangar/artnet_protocol already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/Trangar/artnet_protocol/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [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 Trangar/artnet_protocol 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-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Trangar/artnet_protocol:/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] bff5fcc98b7f841dc6e9ac1a1678d398672d8ea0f9caf81b4c4ac18491c7021f [INFO] running `"docker" "start" "-a" "bff5fcc98b7f841dc6e9ac1a1678d398672d8ea0f9caf81b4c4ac18491c7021f"` [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.0 (/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 3.53s [INFO] running `"docker" "inspect" "bff5fcc98b7f841dc6e9ac1a1678d398672d8ea0f9caf81b4c4ac18491c7021f"` [INFO] running `"docker" "rm" "-f" "bff5fcc98b7f841dc6e9ac1a1678d398672d8ea0f9caf81b4c4ac18491c7021f"` [INFO] [stdout] bff5fcc98b7f841dc6e9ac1a1678d398672d8ea0f9caf81b4c4ac18491c7021f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Trangar/artnet_protocol:/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] d2a45a744b1a11e85abd6a8bff92d0c9f3e1afe214d9c581a25f79f8a12517fd [INFO] running `"docker" "start" "-a" "d2a45a744b1a11e85abd6a8bff92d0c9f3e1afe214d9c581a25f79f8a12517fd"` [INFO] [stderr] Compiling artnet_protocol v0.1.0 (/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.38s [INFO] running `"docker" "inspect" "d2a45a744b1a11e85abd6a8bff92d0c9f3e1afe214d9c581a25f79f8a12517fd"` [INFO] running `"docker" "rm" "-f" "d2a45a744b1a11e85abd6a8bff92d0c9f3e1afe214d9c581a25f79f8a12517fd"` [INFO] [stdout] d2a45a744b1a11e85abd6a8bff92d0c9f3e1afe214d9c581a25f79f8a12517fd [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Trangar/artnet_protocol:/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] 8249ac0de5d564b7653a076b956f50ced7cc6d85a4ac5850df8865368d1612ae [INFO] running `"docker" "start" "-a" "8249ac0de5d564b7653a076b956f50ced7cc6d85a4ac5850df8865368d1612ae"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/crater/target/debug/deps/artnet_protocol-bdb74fece8563d1b [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test command::poll_reply::test_encode_decode ... ok [INFO] [stdout] test command::poll::test_encode_decode ... ok [INFO] [stdout] test command::output::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" "8249ac0de5d564b7653a076b956f50ced7cc6d85a4ac5850df8865368d1612ae"` [INFO] running `"docker" "rm" "-f" "8249ac0de5d564b7653a076b956f50ced7cc6d85a4ac5850df8865368d1612ae"` [INFO] [stdout] 8249ac0de5d564b7653a076b956f50ced7cc6d85a4ac5850df8865368d1612ae