[INFO] fetching crate bulletinboard 0.5.3... [INFO] checking bulletinboard-0.5.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate bulletinboard 0.5.3 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate bulletinboard 0.5.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (available: v1.1.3) [INFO] [stderr] Adding dbus v0.3.4 (available: v0.9.7) [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding env_logger v0.3.5 (available: v0.11.5) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding memchr v0.1.11 (available: v2.7.4) [INFO] [stderr] Adding quote v0.3.15 (available: v1.0.37) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding regex v0.1.80 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (available: v0.8.4) [INFO] [stderr] Adding serde v0.9.15 (available: v1.0.210) [INFO] [stderr] Adding serde_derive v0.9.15 (available: v1.0.210) [INFO] [stderr] Adding strsim v0.5.2 (available: v0.11.1) [INFO] [stderr] Adding syn v0.11.11 (available: v2.0.77) [INFO] [stderr] Adding thread-id v2.0.0 (available: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (available: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding unicode-xid v0.0.4 (available: v0.2.6) [INFO] [stderr] Adding utf8-ranges v0.1.3 (available: v1.0.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v0.9.15 [INFO] [stderr] Downloaded serde_codegen_internals v0.14.2 [INFO] [stderr] Downloaded docopt v0.6.86 [INFO] [stderr] Downloaded strsim v0.5.2 [INFO] [stderr] Downloaded dbus v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fc09e7ec77efb682b2b015424556feff1b081186a2d94bdacc483f4b5f8a488 [INFO] running `Command { std: "docker" "start" "-a" "3fc09e7ec77efb682b2b015424556feff1b081186a2d94bdacc483f4b5f8a488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fc09e7ec77efb682b2b015424556feff1b081186a2d94bdacc483f4b5f8a488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fc09e7ec77efb682b2b015424556feff1b081186a2d94bdacc483f4b5f8a488", kill_on_drop: false }` [INFO] [stdout] 3fc09e7ec77efb682b2b015424556feff1b081186a2d94bdacc483f4b5f8a488 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3375d50251d48448aca4f9b63ce86bb6e75eec2203781cfb1de73c8fa6a570f1 [INFO] running `Command { std: "docker" "start" "-a" "3375d50251d48448aca4f9b63ce86bb6e75eec2203781cfb1de73c8fa6a570f1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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 serde v1.0.210 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling dbus v0.3.4 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking docopt v0.6.86 [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[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: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/main.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(RustcDecodable, Debug)] [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:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let mut it = try!(addr.to_socket_addrs()); [INFO] [stdout] | ^^^ [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_st... [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_st... [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_st... [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_st... [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_st... [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_st... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/main.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(RustcDecodable, Debug)] [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:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let mut it = try!(addr.to_socket_addrs()); [INFO] [stdout] | ^^^ [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_st... [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_st... [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_st... [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_st... [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_st... [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_st... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | let mut default_config = env::home_dir().unwrap_or(PathBuf::from("/tmp/")); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | let mut default_config = env::home_dir().unwrap_or(PathBuf::from("/tmp/")); [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`, which is required by `&message::Message: serde::ser::Serialize` [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] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 128 others [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-6f17d22bba15001f/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-6f17d22bba15001f/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`, which is required by `&message::Message: serde::ser::Serialize` [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] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 128 others [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-6f17d22bba15001f/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-6f17d22bba15001f/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`, which is required by `&message::Message: serde::ser::Serialize` [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] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 128 others [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-6f17d22bba15001f/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-6f17d22bba15001f/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] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 139 others [INFO] [stdout] note: required by a bound in `bincode::deserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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`, which is required by `&message::Message: serde::ser::Serialize` [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] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 128 others [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-6f17d22bba15001f/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-6f17d22bba15001f/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`, which is required by `&message::Message: serde::ser::Serialize` [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] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 128 others [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-6f17d22bba15001f/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-6f17d22bba15001f/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`, which is required by `&message::Message: serde::ser::Serialize` [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] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 128 others [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-6f17d22bba15001f/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-6f17d22bba15001f/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] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 139 others [INFO] [stdout] note: required by a bound in `bincode::deserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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`, which is required by `Vec: serde::de::Deserialize<'_>` [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] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 139 others [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-6f17d22bba15001f/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::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`, which is required by `Vec: serde::ser::Serialize` [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] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 128 others [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-6f17d22bba15001f/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-6f17d22bba15001f/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`, which is required by `Vec: serde::de::Deserialize<'_>` [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] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 139 others [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-6f17d22bba15001f/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::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`, which is required by `Vec: serde::ser::Serialize` [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] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 128 others [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-6f17d22bba15001f/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-6f17d22bba15001f/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: aborting due to 13 previous errors; 26 warnings emitted [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 15 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors; 26 warnings emitted [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" test) due to 15 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3375d50251d48448aca4f9b63ce86bb6e75eec2203781cfb1de73c8fa6a570f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3375d50251d48448aca4f9b63ce86bb6e75eec2203781cfb1de73c8fa6a570f1", kill_on_drop: false }` [INFO] [stdout] 3375d50251d48448aca4f9b63ce86bb6e75eec2203781cfb1de73c8fa6a570f1