[INFO] fetching crate bulletinboard 0.5.3... [INFO] checking bulletinboard-0.5.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate bulletinboard 0.5.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate bulletinboard 0.5.3 [INFO] finished tweaking crates.io crate bulletinboard 0.5.3 [INFO] tweaked toml for crates.io crate bulletinboard 0.5.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bulletinboard 0.5.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding dbus v0.3.4 (available: v0.9.8) [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding env_logger v0.3.5 (available: v0.11.8) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] [stderr] Adding serde v0.9.15 (available: v1.0.219) [INFO] [stderr] Adding serde_derive v0.9.15 (available: v1.0.219) [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18a0c3375373f9fae2f40b43d22620fac83d5303e61646a508a9f00886bf7c26 [INFO] running `Command { std: "docker" "start" "-a" "18a0c3375373f9fae2f40b43d22620fac83d5303e61646a508a9f00886bf7c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18a0c3375373f9fae2f40b43d22620fac83d5303e61646a508a9f00886bf7c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18a0c3375373f9fae2f40b43d22620fac83d5303e61646a508a9f00886bf7c26", kill_on_drop: false }` [INFO] [stdout] 18a0c3375373f9fae2f40b43d22620fac83d5303e61646a508a9f00886bf7c26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cea085fe24883c2a0083aa86e0e56794ee5223c5c621f3c947c3d45c9f5f2fe [INFO] running `Command { std: "docker" "start" "-a" "4cea085fe24883c2a0083aa86e0e56794ee5223c5c621f3c947c3d45c9f5f2fe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling dbus v0.3.4 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bulletinboard v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `bincode::Bounded` [INFO] [stdout] --> src/main.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | use bincode::{serialize, deserialize, Bounded}; [INFO] [stdout] | ^^^^^^^ no `Bounded` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] bincode::config::Bounded [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bincode::Bounded` [INFO] [stdout] --> src/server.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use bincode::{serialize, deserialize, Bounded}; [INFO] [stdout] | ^^^^^^^ no `Bounded` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] Bounded [INFO] [stdout] bincode::config::Bounded [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/main.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/node.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let mut it = try!(addr.to_socket_addrs()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/node.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | let addr = try!(it.next().ok_or(err)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/kademlia.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 281 | let mut sender = try!(self.kbuckets.construct_node(src, sender_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/kademlia.rs:299:3 [INFO] [stdout] | [INFO] [stdout] 299 | try!(self.update_buckets(&own_id, src, &msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/kbuckets.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let default = try!(Node::new(addr, node_id.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | let app_id = try!(message_item_to_string(app_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | let key = try!(message_item_to_byte_vec(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | let app_id = try!(message_item_to_string(app_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | let key = try!(message_item_to_byte_vec(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | let value = try!(message_item_to_byte_vec(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | let app_id = try!(message_item_to_string(app_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | let key = try!(message_item_to_byte_vec(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | let value = try!(message_item_to_byte_vec(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let lifetime = try!(message_item_to_u64(lifetime)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let app_id = try!(msg.get_items().get(0).ok_or(("org.manuel.BulletinBoard.Invalid", "Invaild app_id".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | let key = try!(msg.get_items().get(1).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid key".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let app_id = try!(msg.get_items().get(0).ok_or(("org.manuel.BulletinBoard.Invaild", "Invaild app_id".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | let key = try!(msg.get_items().get(1).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid key".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | let value = try!(msg.get_items().get(2).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid value".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | let app_id = try!(msg.get_items().get(0).ok_or(("org.manuel.BulletinBoard.Invaild", "Invaild app_id".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | let key = try!(msg.get_items().get(1).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid key".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | let value = try!(msg.get_items().get(2).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid value".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | let lifetime = try!(msg.get_items().get(3).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid value".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bincode::Bounded` [INFO] [stdout] --> src/main.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | use bincode::{serialize, deserialize, Bounded}; [INFO] [stdout] | ^^^^^^^ no `Bounded` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] bincode::config::Bounded [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bincode::Bounded` [INFO] [stdout] --> src/server.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use bincode::{serialize, deserialize, Bounded}; [INFO] [stdout] | ^^^^^^^ no `Bounded` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] Bounded [INFO] [stdout] bincode::config::Bounded [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/main.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `message::Message: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/server.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] | --------- ^^^ the trait `serde::ser::Serialize` is not implemented for `message::Message` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `message::Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Message { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `&message::Message` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/node.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let mut it = try!(addr.to_socket_addrs()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/node.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | let addr = try!(it.next().ok_or(err)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/kademlia.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 281 | let mut sender = try!(self.kbuckets.construct_node(src, sender_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/kademlia.rs:299:3 [INFO] [stdout] | [INFO] [stdout] 299 | try!(self.update_buckets(&own_id, src, &msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/kbuckets.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let default = try!(Node::new(addr, node_id.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | let app_id = try!(message_item_to_string(app_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | let key = try!(message_item_to_byte_vec(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/server.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ ------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 70 - let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] 70 + let buf = serialize(&req).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | let app_id = try!(message_item_to_string(app_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | let key = try!(message_item_to_byte_vec(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | let value = try!(message_item_to_byte_vec(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | let app_id = try!(message_item_to_string(app_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `message::Message: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/server.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let buf = serialize(&resp, Bounded(2048)).unwrap(); [INFO] [stdout] | --------- ^^^^ the trait `serde::ser::Serialize` is not implemented for `message::Message` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `message::Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Message { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `&message::Message` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | let key = try!(message_item_to_byte_vec(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | let value = try!(message_item_to_byte_vec(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/server.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let buf = serialize(&resp, Bounded(2048)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ ------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 78 - let buf = serialize(&resp, Bounded(2048)).unwrap(); [INFO] [stdout] 78 + let buf = serialize(&resp).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let lifetime = try!(message_item_to_u64(lifetime)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let app_id = try!(msg.get_items().get(0).ok_or(("org.manuel.BulletinBoard.Invalid", "Invaild app_id".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | let key = try!(msg.get_items().get(1).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid key".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let app_id = try!(msg.get_items().get(0).ok_or(("org.manuel.BulletinBoard.Invaild", "Invaild app_id".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | let key = try!(msg.get_items().get(1).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid key".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | let value = try!(msg.get_items().get(2).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid value".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | let app_id = try!(msg.get_items().get(0).ok_or(("org.manuel.BulletinBoard.Invaild", "Invaild app_id".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | let key = try!(msg.get_items().get(1).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid key".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | let value = try!(msg.get_items().get(2).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid value".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dbus_service.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | let lifetime = try!(msg.get_items().get(3).ok_or(("org.manuel.BulletinBoard.Invaild", "Invalid value".to_string()))).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `message::Message: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/server.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] | --------- ^^^ the trait `serde::ser::Serialize` is not implemented for `message::Message` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `message::Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Message { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `&message::Message` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/server.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ ------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 94 - let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] 94 + let buf = serialize(&req).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `message::Message: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/server.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | let msg:Result = deserialize(msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `message::Message` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `message::Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:541:1 [INFO] [stdout] | [INFO] [stdout] 541 | pub trait Deserialize<'de>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Message { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `bincode::deserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn deserialize<'a, T>(bytes: &'a [u8]) -> Result [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 178 | where [INFO] [stdout] 179 | T: serde::de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `message::Message: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/server.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] | --------- ^^^ the trait `serde::ser::Serialize` is not implemented for `message::Message` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `message::Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Message { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `&message::Message` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/server.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ ------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 70 - let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] 70 + let buf = serialize(&req).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `message::Message: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/server.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let buf = serialize(&resp, Bounded(2048)).unwrap(); [INFO] [stdout] | --------- ^^^^ the trait `serde::ser::Serialize` is not implemented for `message::Message` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `message::Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Message { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `&message::Message` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/server.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let buf = serialize(&resp, Bounded(2048)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ ------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 78 - let buf = serialize(&resp, Bounded(2048)).unwrap(); [INFO] [stdout] 78 + let buf = serialize(&resp).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `message::Message: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/server.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] | --------- ^^^ the trait `serde::ser::Serialize` is not implemented for `message::Message` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `message::Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Message { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `&message::Message` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/server.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ ------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 94 - let buf = serialize(&req, Bounded(2048)).unwrap(); [INFO] [stdout] 94 + let buf = serialize(&req).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `message::Message: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/server.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | let msg:Result = deserialize(msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `message::Message` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `message::Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:541:1 [INFO] [stdout] | [INFO] [stdout] 541 | pub trait Deserialize<'de>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Message { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `bincode::deserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn deserialize<'a, T>(bytes: &'a [u8]) -> Result [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 178 | where [INFO] [stdout] 179 | T: serde::de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Node: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let nodes:Vec = deserialize(&contents[..].as_bytes()).unwrap_or(vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Node` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Node` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:541:1 [INFO] [stdout] | [INFO] [stdout] 541 | pub trait Deserialize<'de>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/node.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Node { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Vec` to implement `serde::de::Deserialize<'_>` [INFO] [stdout] note: required by a bound in `bincode::deserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn deserialize<'a, T>(bytes: &'a [u8]) -> Result [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 178 | where [INFO] [stdout] 179 | T: serde::de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Args: Decodable` is not satisfied [INFO] [stdout] --> src/main.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | .and_then(|d| d.decode()) [INFO] [stdout] | ^^^^^^ the trait `Decodable` is not implemented for `Args` [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 71 others [INFO] [stdout] note: required by a bound in `ArgvMap::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docopt-0.6.86/src/dopt.rs:378:22 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn decode(self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ArgvMap::decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Node: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | let contents = serialize(&nodes, Bounded(100*1024)).unwrap_or(Vec::new()); [INFO] [stdout] | --------- ^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Node` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Node` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/node.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Node { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Vec` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | let contents = serialize(&nodes, Bounded(100*1024)).unwrap_or(Vec::new()); [INFO] [stdout] | ^^^^^^^^^ ----------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 125 - let contents = serialize(&nodes, Bounded(100*1024)).unwrap_or(Vec::new()); [INFO] [stdout] 125 + let contents = serialize(&nodes).unwrap_or(Vec::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Node: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let nodes:Vec = deserialize(&contents[..].as_bytes()).unwrap_or(vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Node` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Node` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:541:1 [INFO] [stdout] | [INFO] [stdout] 541 | pub trait Deserialize<'de>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/node.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Node { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Vec` to implement `serde::de::Deserialize<'_>` [INFO] [stdout] note: required by a bound in `bincode::deserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn deserialize<'a, T>(bytes: &'a [u8]) -> Result [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 178 | where [INFO] [stdout] 179 | T: serde::de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Args: Decodable` is not satisfied [INFO] [stdout] --> src/main.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | .and_then(|d| d.decode()) [INFO] [stdout] | ^^^^^^ the trait `Decodable` is not implemented for `Args` [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 71 others [INFO] [stdout] note: required by a bound in `ArgvMap::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docopt-0.6.86/src/dopt.rs:378:22 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn decode(self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ArgvMap::decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Node: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | let contents = serialize(&nodes, Bounded(100*1024)).unwrap_or(Vec::new()); [INFO] [stdout] | --------- ^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Node` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Node` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] note: there are multiple different versions of crate `serde` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde; [INFO] [stdout] | ------------------- one version of crate `serde` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` used here, as a dependency of crate `bincode` [INFO] [stdout] | [INFO] [stdout] ::: src/node.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Node { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-0.9.15/src/de/value.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait ValueDeserializer { [INFO] [stdout] | ------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Vec` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | let contents = serialize(&nodes, Bounded(100*1024)).unwrap_or(Vec::new()); [INFO] [stdout] | ^^^^^^^^^ ----------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 125 - let contents = serialize(&nodes, Bounded(100*1024)).unwrap_or(Vec::new()); [INFO] [stdout] 125 + let contents = serialize(&nodes).unwrap_or(Vec::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bulletinboard` (bin "bulletinboard") due to 14 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bulletinboard` (bin "bulletinboard" test) due to 14 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4cea085fe24883c2a0083aa86e0e56794ee5223c5c621f3c947c3d45c9f5f2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cea085fe24883c2a0083aa86e0e56794ee5223c5c621f3c947c3d45c9f5f2fe", kill_on_drop: false }` [INFO] [stdout] 4cea085fe24883c2a0083aa86e0e56794ee5223c5c621f3c947c3d45c9f5f2fe