[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox-protocol-test" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zetok/tox-protocol-test on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-14/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" "+beta" "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-14/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" "+beta" "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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aeda54fa10f7af4611f6f41ca1e5428ee570ffc1e57096664961a4cbc42aba49 [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" "aeda54fa10f7af4611f6f41ca1e5428ee570ffc1e57096664961a4cbc42aba49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeda54fa10f7af4611f6f41ca1e5428ee570ffc1e57096664961a4cbc42aba49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeda54fa10f7af4611f6f41ca1e5428ee570ffc1e57096664961a4cbc42aba49", kill_on_drop: false }` [INFO] [stdout] aeda54fa10f7af4611f6f41ca1e5428ee570ffc1e57096664961a4cbc42aba49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0337a12ad047f685903a1b81343039b33dfde78b17979876cd4feb073578bedb [INFO] running `Command { std: "docker" "start" "-a" "0337a12ad047f685903a1b81343039b33dfde78b17979876cd4feb073578bedb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cookie-factory v0.2.4 [INFO] [stderr] Compiling libsodium-sys v0.0.16 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking sodiumoxide v0.0.16 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking mio-uds v0.6.8 [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-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking tokio-proto v0.1.1 [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 `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] 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] 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" "0337a12ad047f685903a1b81343039b33dfde78b17979876cd4feb073578bedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0337a12ad047f685903a1b81343039b33dfde78b17979876cd4feb073578bedb", kill_on_drop: false }` [INFO] [stdout] 0337a12ad047f685903a1b81343039b33dfde78b17979876cd4feb073578bedb