[INFO] fetching crate service_discovery 0.3.0... [INFO] testing service_discovery-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate service_discovery 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate service_discovery 0.3.0 [INFO] finished tweaking crates.io crate service_discovery 0.3.0 [INFO] tweaked toml for crates.io crate service_discovery 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate service_discovery 0.3.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding maidsafe_utilities v0.4.1 (available: v0.19.0) [INFO] [stderr] Adding mio v0.5.1 (available: v1.0.4) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded maidsafe_utilities v0.4.1 [INFO] [stderr] Downloaded bincode v0.5.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a5b39e65c6c73e46f5d3189a8a55e9f6ec3206924bdf66c3d296f11918347ad [INFO] running `Command { std: "docker" "start" "-a" "3a5b39e65c6c73e46f5d3189a8a55e9f6ec3206924bdf66c3d296f11918347ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a5b39e65c6c73e46f5d3189a8a55e9f6ec3206924bdf66c3d296f11918347ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5b39e65c6c73e46f5d3189a8a55e9f6ec3206924bdf66c3d296f11918347ad", kill_on_drop: false }` [INFO] [stdout] 3a5b39e65c6c73e46f5d3189a8a55e9f6ec3206924bdf66c3d296f11918347ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3556dad7bf4777279a30693b516c6459e5a217f39dbce8211bb535edef9e8c73 [INFO] running `Command { std: "docker" "start" "-a" "3556dad7bf4777279a30693b516c6459e5a217f39dbce8211bb535edef9e8c73", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling serde v0.7.15 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling bincode v0.5.9 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling maidsafe_utilities v0.4.1 [INFO] [stderr] Compiling service_discovery v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/lib.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/lib.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | #![forbid(bad_style, exceeding_bitshifts, mutable_transmutes, no_mangle_const_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `drop_with_repr_extern` has been removed: drop flags have been removed [INFO] [stdout] --> src/lib.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | #![deny(deprecated, drop_with_repr_extern, improper_ctypes, missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | unknown_crate_types, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[forbid(renamed_and_removed_lints)]` implied by `#[forbid(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `plugin_as_library` has been removed: plugins have been deprecated and retired [INFO] [stdout] --> src/lib.rs:32:61 [INFO] [stdout] | [INFO] [stdout] 32 | non_shorthand_field_patterns, overflowing_literals, plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported [INFO] [stdout] --> src/lib.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/lib.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #![allow(box_pointers, fat_ptr_transmutes, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `fat_ptr_transmutes` has been removed: was accidentally removed back in 2014 [INFO] [stdout] --> src/lib.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | #![allow(box_pointers, fat_ptr_transmutes, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused extern crate [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | extern crate rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unused [INFO] [stdout] | [INFO] [stdout] = note: `#[forbid(unused_extern_crates)]` implied by `#[forbid(warnings)]` [INFO] [stdout] help: remove the unused `extern crate` [INFO] [stdout] | [INFO] [stdout] 53 - extern crate rand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | try!(ServiceDiscoveryImpl::::start(port, generator)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[forbid(deprecated)]` implied by `#[forbid(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | try!(udp_socket.set_broadcast(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | try!(event_loop.register(&discovery_impl.socket, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | try!(serialise::>(&DiscoveryMsg::Request).map_err(|_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:251:40 [INFO] [stdout] | [INFO] [stdout] 251 | let bind_addr = unwrap_option!(try!(("0.0.0.0", port).to_socket_addrs()).next(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:254:26 [INFO] [stdout] | [INFO] [stdout] 254 | let udp_socket = try!(UdpSocket::v4()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | try!(udp_socket.bind(&addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 261 | let mut addr = try!(SocketAddr::from_str("0.0.0.0:0").map_err(|_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:265:32 [INFO] [stdout] | [INFO] [stdout] 265 | addr = try!(udp_socket.local_addr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:277:28 [INFO] [stdout] | [INFO] [stdout] 277 | seek_peers_on: try!(SocketAddr::from_str(&format!("255.255.255.255:{}", port)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:289:30 [INFO] [stdout] | [INFO] [stdout] 289 | let mut event_loop = try!(EventLoop::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:312:48 [INFO] [stdout] | [INFO] [stdout] 312 | if let Some((bytes_read, peer_addr)) = try!(self.socket.recv_from(&mut self.read_buf)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | try!(event_loop.reregister(&self.socket, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | try!(event_loop.reregister(&self.socket, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:339:21 [INFO] [stdout] | [INFO] [stdout] 339 | try!(event_loop.reregister(&self.socket, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:357:36 [INFO] [stdout] | [INFO] [stdout] 357 | let serialised_reply = try!(serialise(&reply).map_err(|_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:363:45 [INFO] [stdout] | [INFO] [stdout] 363 | if let Some(bytes_tx) = try!(self.socket [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:368:25 [INFO] [stdout] | [INFO] [stdout] 368 | try!(event_loop.reregister(&self.socket, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:379:41 [INFO] [stdout] | [INFO] [stdout] 379 | if let Some(bytes_tx) = try!(self.socket [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | try!(event_loop.reregister(&self.socket, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 393 | Ok(try!(event_loop.reregister(&self.socket, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DiscoveryMsg: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:246:30 [INFO] [stdout] | [INFO] [stdout] 246 | try!(serialise::>(&DiscoveryMsg::Request).map_err(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Encodable` is not implemented for `DiscoveryMsg` [INFO] [stdout] --> src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | enum DiscoveryMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 78 others [INFO] [stdout] note: required by a bound in `serialise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/maidsafe_utilities-0.4.1/src/serialisation.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn serialise(data: &T) -> Result, SerialisationError> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 48 | where T: Encodable [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DiscoveryMsg: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:314:51 [INFO] [stdout] | [INFO] [stdout] 314 | ... deserialise(&self.read_buf[..bytes_read]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `DiscoveryMsg` [INFO] [stdout] --> src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | enum DiscoveryMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 74 others [INFO] [stdout] note: required by a bound in `deserialise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/maidsafe_utilities-0.4.1/src/serialisation.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn deserialise(data: &[u8]) -> Result [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 55 | where T: Decodable [INFO] [stdout] | ^^^^^^^^^ required by this bound in `deserialise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DiscoveryMsg: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:357:51 [INFO] [stdout] | [INFO] [stdout] 357 | let serialised_reply = try!(serialise(&reply).map_err(|_| { [INFO] [stdout] | --------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Encodable` is not implemented for `DiscoveryMsg` [INFO] [stdout] --> src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | enum DiscoveryMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 78 others [INFO] [stdout] note: required by a bound in `serialise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/maidsafe_utilities-0.4.1/src/serialisation.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn serialise(data: &T) -> Result, SerialisationError> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 48 | where T: Encodable [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `service_discovery` (lib) due to 33 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3556dad7bf4777279a30693b516c6459e5a217f39dbce8211bb535edef9e8c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3556dad7bf4777279a30693b516c6459e5a217f39dbce8211bb535edef9e8c73", kill_on_drop: false }` [INFO] [stdout] 3556dad7bf4777279a30693b516c6459e5a217f39dbce8211bb535edef9e8c73