[INFO] cloning repository https://github.com/zetok/tox-protocol-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zetok/tox-protocol-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox-protocol-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox-protocol-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fc0e54e86ef40fbf8116a9b951658d4d0300324 [INFO] checking zetok/tox-protocol-test against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox-protocol-test" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zetok/tox-protocol-test on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zetok/tox-protocol-test [INFO] finished tweaking git repo https://github.com/zetok/tox-protocol-test [INFO] tweaked toml for git repo https://github.com/zetok/tox-protocol-test written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/zetok/tox-protocol-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/zetok/tox.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd6e78076f29fe0ace2a58b91c978d6c566618095fde826b4d3c6d3066a70a0e [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" "dd6e78076f29fe0ace2a58b91c978d6c566618095fde826b4d3c6d3066a70a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd6e78076f29fe0ace2a58b91c978d6c566618095fde826b4d3c6d3066a70a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd6e78076f29fe0ace2a58b91c978d6c566618095fde826b4d3c6d3066a70a0e", kill_on_drop: false }` [INFO] [stdout] dd6e78076f29fe0ace2a58b91c978d6c566618095fde826b4d3c6d3066a70a0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36893b09ac6621a9e528555727c45443afedff746d1ad95badcf83494a89eece [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" "36893b09ac6621a9e528555727c45443afedff746d1ad95badcf83494a89eece", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling libsodium-sys v0.0.16 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking sodiumoxide v0.0.16 [INFO] [stderr] Checking tox v0.0.1 (https://github.com/zetok/tox.git#6fe1c4e3) [INFO] [stderr] Checking tox-protocol-test v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `u16_to_array` in this scope [INFO] [stdout] --> src/deconstructed.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | result.extend_from_slice(&u16_to_array(self.port.to_be())); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `array_to_u16` in this scope [INFO] [stdout] --> src/deconstructed.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | let port = u16::from_be(array_to_u16(&[bytes[18], bytes[19]])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `array_to_u16` in this scope [INFO] [stdout] --> src/deconstructed.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 130 | let port = u16::from_be(array_to_u16(&[bytes[6], bytes[7]])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `u64_to_array` in this scope [INFO] [stdout] --> src/result.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | result.extend_from_slice(&u64_to_array(msg_len)); // lenght of msg [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `array_to_u64` in this scope [INFO] [stdout] --> src/tests/binary_decode.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | let to_parse = u64::from_be(array_to_u64(&[bytes[0], bytes[1], bytes[2], [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `array_to_u64` in this scope [INFO] [stdout] --> src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let num = array_to_u64(&[bytes[0], bytes[1], bytes[2], bytes[3], [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/deconstructed.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | impl FromBytes for DecPackedNode { [INFO] [stdout] | ^^^^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `u16_to_array` in this scope [INFO] [stdout] --> src/deconstructed.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | result.extend_from_slice(&u16_to_array(self.port.to_be())); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `array_to_u16` in this scope [INFO] [stdout] --> src/deconstructed.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | let port = u16::from_be(array_to_u16(&[bytes[18], bytes[19]])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `array_to_u16` in this scope [INFO] [stdout] --> src/deconstructed.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 130 | let port = u16::from_be(array_to_u16(&[bytes[6], bytes[7]])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `u64_to_array` in this scope [INFO] [stdout] --> src/result.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | result.extend_from_slice(&u64_to_array(msg_len)); // lenght of msg [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `array_to_u64` in this scope [INFO] [stdout] --> src/tests/binary_decode.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | let to_parse = u64::from_be(array_to_u64(&[bytes[0], bytes[1], bytes[2], [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `array_to_u64` in this scope [INFO] [stdout] --> src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let num = array_to_u64(&[bytes[0], bytes[1], bytes[2], bytes[3], [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/deconstructed.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | impl FromBytes for DecPackedNode { [INFO] [stdout] | ^^^^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `parse_bytes` [INFO] [stdout] --> src/deconstructed.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | impl FromBytes for DecPackedNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `parse_bytes` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn parse_bytes(_: &[u8]) -> IResult<&[u8], Self> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `ip_type` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stdout] --> src/deconstructed.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | let udp = match pn.ip_type { [INFO] [stdout] | ^^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `ip_type` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 62 | let udp = match pn.ip_type() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `parse_bytes` [INFO] [stdout] --> src/deconstructed.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | impl FromBytes for DecPackedNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `parse_bytes` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn parse_bytes(_: &[u8]) -> IResult<&[u8], Self> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `ip_type` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stdout] --> src/deconstructed.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | let udp = match pn.ip_type { [INFO] [stdout] | ^^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `ip_type` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 62 | let udp = match pn.ip_type() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `saddr` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stdout] --> src/deconstructed.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | addr: pn.saddr.ip(), [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `saddr` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stdout] --> src/deconstructed.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | port: pn.saddr.port(), [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `saddr` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stdout] --> src/deconstructed.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | addr: pn.saddr.ip(), [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `saddr` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stdout] --> src/deconstructed.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | port: pn.saddr.port(), [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `pk` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stdout] --> src/deconstructed.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | public_key: pn.pk, [INFO] [stdout] | ^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `pk` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 71 | public_key: pn.pk(), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `pk` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stdout] --> src/deconstructed.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | public_key: pn.pk, [INFO] [stdout] | ^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `pk` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 71 | public_key: pn.pk(), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/deconstructed.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 122 | / return Some(DecPackedNode { [INFO] [stdout] 123 | | udp: udp, [INFO] [stdout] 124 | | addr: IpAddr::V6(ipv6), [INFO] [stdout] 125 | | port: port, [INFO] [stdout] 126 | | public_key: pk, [INFO] [stdout] 127 | | }) [INFO] [stdout] | |______________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 141 | None // :c [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/deconstructed.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 122 | / return Some(DecPackedNode { [INFO] [stdout] 123 | | udp: udp, [INFO] [stdout] 124 | | addr: IpAddr::V6(ipv6), [INFO] [stdout] 125 | | port: port, [INFO] [stdout] 126 | | public_key: pk, [INFO] [stdout] 127 | | }) [INFO] [stdout] | |______________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 141 | None // :c [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0425, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0425, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tox-protocol-test` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "36893b09ac6621a9e528555727c45443afedff746d1ad95badcf83494a89eece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36893b09ac6621a9e528555727c45443afedff746d1ad95badcf83494a89eece", kill_on_drop: false }` [INFO] [stdout] 36893b09ac6621a9e528555727c45443afedff746d1ad95badcf83494a89eece