[INFO] cloning repository https://github.com/zetok/tox-protocol-test [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox-protocol-test'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9fc0e54e86ef40fbf8116a9b951658d4d0300324 [INFO] testing zetok/tox-protocol-test against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox-protocol-test" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zetok/tox-protocol-test on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating git repository `https://github.com/zetok/tox.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/zetok/tox.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 21dda4b4fe9b45a7030d438a3b905d440a7a6856a6fe1d7fc9c2d100b6c3c416 [INFO] running `"docker" "start" "-a" "21dda4b4fe9b45a7030d438a3b905d440a7a6856a6fe1d7fc9c2d100b6c3c416"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling libsodium-sys v0.0.16 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling sodiumoxide v0.0.16 [INFO] [stderr] Compiling tox v0.0.1 (https://github.com/zetok/tox.git#6fe1c4e3) [INFO] [stderr] Compiling tox-protocol-test v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function `u16_to_array` in this scope [INFO] [stderr] --> src/deconstructed.rs:91:35 [INFO] [stderr] | [INFO] [stderr] 91 | result.extend_from_slice(&u16_to_array(self.port.to_be())); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `array_to_u16` in this scope [INFO] [stderr] --> src/deconstructed.rs:118:37 [INFO] [stderr] | [INFO] [stderr] 118 | let port = u16::from_be(array_to_u16(&[bytes[18], bytes[19]])); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `array_to_u16` in this scope [INFO] [stderr] --> src/deconstructed.rs:130:37 [INFO] [stderr] | [INFO] [stderr] 130 | let port = u16::from_be(array_to_u16(&[bytes[6], bytes[7]])); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `u64_to_array` in this scope [INFO] [stderr] --> src/result.rs:57:35 [INFO] [stderr] | [INFO] [stderr] 57 | result.extend_from_slice(&u64_to_array(msg_len)); // lenght of msg [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `array_to_u64` in this scope [INFO] [stderr] --> src/tests/binary_decode.rs:40:33 [INFO] [stderr] | [INFO] [stderr] 40 | let to_parse = u64::from_be(array_to_u64(&[bytes[0], bytes[1], bytes[2], [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `array_to_u64` in this scope [INFO] [stderr] --> src/main.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | let num = array_to_u64(&[bytes[0], bytes[1], bytes[2], bytes[3], [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stderr] --> src/deconstructed.rs:99:16 [INFO] [stderr] | [INFO] [stderr] 99 | impl FromBytes for DecPackedNode { [INFO] [stderr] | ^^^^^^^^^^^^^ unexpected type argument [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `parse_bytes` [INFO] [stderr] --> src/deconstructed.rs:99:1 [INFO] [stderr] | [INFO] [stderr] 99 | impl FromBytes for DecPackedNode { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `parse_bytes` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn parse_bytes(_: &[u8]) -> tox::toxcore::tcp::binary_io::IResult<&[u8], Self> { todo!() }` [INFO] [stderr] [INFO] [stderr] error[E0616]: field `ip_type` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stderr] --> src/deconstructed.rs:62:28 [INFO] [stderr] | [INFO] [stderr] 62 | let udp = match pn.ip_type { [INFO] [stderr] | ^^^^^^^ private field [INFO] [stderr] | [INFO] [stderr] help: a method `ip_type` also exists, call it with parentheses [INFO] [stderr] | [INFO] [stderr] 62 | let udp = match pn.ip_type() { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0616]: field `saddr` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stderr] --> src/deconstructed.rs:69:22 [INFO] [stderr] | [INFO] [stderr] 69 | addr: pn.saddr.ip(), [INFO] [stderr] | ^^^^^ private field [INFO] [stderr] [INFO] [stderr] error[E0616]: field `saddr` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stderr] --> src/deconstructed.rs:70:22 [INFO] [stderr] | [INFO] [stderr] 70 | port: pn.saddr.port(), [INFO] [stderr] | ^^^^^ private field [INFO] [stderr] [INFO] [stderr] error[E0616]: field `pk` of struct `tox::toxcore::dht::PackedNode` is private [INFO] [stderr] --> src/deconstructed.rs:71:28 [INFO] [stderr] | [INFO] [stderr] 71 | public_key: pn.pk, [INFO] [stderr] | ^^ private field [INFO] [stderr] | [INFO] [stderr] help: a method `pk` also exists, call it with parentheses [INFO] [stderr] | [INFO] [stderr] 71 | public_key: pn.pk(), [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/deconstructed.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 122 | / return Some(DecPackedNode { [INFO] [stderr] 123 | | udp: udp, [INFO] [stderr] 124 | | addr: IpAddr::V6(ipv6), [INFO] [stderr] 125 | | port: port, [INFO] [stderr] 126 | | public_key: pk, [INFO] [stderr] 127 | | }) [INFO] [stderr] | |______________- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 141 | None // :c [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0107, E0425, E0616. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [INFO] [stderr] error: could not compile `tox-protocol-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "21dda4b4fe9b45a7030d438a3b905d440a7a6856a6fe1d7fc9c2d100b6c3c416"` [INFO] running `"docker" "rm" "-f" "21dda4b4fe9b45a7030d438a3b905d440a7a6856a6fe1d7fc9c2d100b6c3c416"` [INFO] [stdout] 21dda4b4fe9b45a7030d438a3b905d440a7a6856a6fe1d7fc9c2d100b6c3c416