[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fc0e54e86ef40fbf8116a9b951658d4d0300324 [INFO] testing zetok/tox-protocol-test against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzetok%2Ftox-protocol-test" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zetok/tox-protocol-test on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-13/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-2020-07-24" "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-13/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-2020-07-24" "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-2020-07-24" "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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2f6e87c3085be4965fad5c9fcea03037f20d592b6db527e647bd5c17666f72b [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" "f2f6e87c3085be4965fad5c9fcea03037f20d592b6db527e647bd5c17666f72b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2f6e87c3085be4965fad5c9fcea03037f20d592b6db527e647bd5c17666f72b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2f6e87c3085be4965fad5c9fcea03037f20d592b6db527e647bd5c17666f72b", kill_on_drop: false }` [INFO] [stdout] f2f6e87c3085be4965fad5c9fcea03037f20d592b6db527e647bd5c17666f72b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4a289822f1b3e3a9d2b63dbe5b0baba49f9006ce0fbaf1941cd6cfa9a9d92a9 [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" "f4a289822f1b3e3a9d2b63dbe5b0baba49f9006ce0fbaf1941cd6cfa9a9d92a9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling libsodium-sys v0.0.16 [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 parking_lot_core v0.6.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling sodiumoxide v0.0.16 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [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 tox v0.0.1 (https://github.com/zetok/tox.git#6fe1c4e3) [INFO] [stderr] Compiling 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[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]) -> tox::toxcore::tcp::binary_io::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: 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] running `Command { std: "docker" "inspect" "f4a289822f1b3e3a9d2b63dbe5b0baba49f9006ce0fbaf1941cd6cfa9a9d92a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a289822f1b3e3a9d2b63dbe5b0baba49f9006ce0fbaf1941cd6cfa9a9d92a9", kill_on_drop: false }` [INFO] [stdout] f4a289822f1b3e3a9d2b63dbe5b0baba49f9006ce0fbaf1941cd6cfa9a9d92a9