[INFO] fetching crate bulletinboard 0.5.3... [INFO] checking bulletinboard-0.5.3 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate bulletinboard 0.5.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate bulletinboard 0.5.3 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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 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 log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding serde v0.9.15 (available: v1.0.215) [INFO] [stderr] Adding serde_derive v0.9.15 (available: v1.0.215) [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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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_codegen_internals v0.14.2 [INFO] [stderr] Downloaded dbus v0.3.4 [INFO] [stderr] Downloaded serde_derive v0.9.15 [INFO] [stderr] Downloaded serde v0.9.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c87832689990776f25f49317ad8791a3ca7ed8a71b0ddc670868fd37d954696 [INFO] running `Command { std: "docker" "start" "-a" "2c87832689990776f25f49317ad8791a3ca7ed8a71b0ddc670868fd37d954696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c87832689990776f25f49317ad8791a3ca7ed8a71b0ddc670868fd37d954696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c87832689990776f25f49317ad8791a3ca7ed8a71b0ddc670868fd37d954696", kill_on_drop: false }` [INFO] [stdout] 2c87832689990776f25f49317ad8791a3ca7ed8a71b0ddc670868fd37d954696 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab4a86d5650e3e75b29571d82e02982af6f597ac6bb95b8e74dc3a3aed872e60 [INFO] running `Command { std: "docker" "start" "-a" "ab4a86d5650e3e75b29571d82e02982af6f597ac6bb95b8e74dc3a3aed872e60", 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 quote v0.3.15 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling dbus v0.3.4 [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] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking regex v0.1.80 [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 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[E0277]: the trait bound `message::Message: serde::ser::Serialize` is not satisfied because the trait comes from a different crate version [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] = 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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [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 because the trait comes from a different crate version [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] = 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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [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 because the trait comes from a different crate version [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] = 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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [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 because the trait comes from a different crate version [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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Node: serde::de::Deserialize<'_>` is not satisfied because the trait comes from a different crate version [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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `message::Message: serde::ser::Serialize` is not satisfied because the trait comes from a different crate version [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] = 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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [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 `Node: serde::ser::Serialize` is not satisfied because the trait comes from a different crate version [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] = 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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [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 `message::Message: serde::ser::Serialize` is not satisfied because the trait comes from a different crate version [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] = 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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [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 because the trait comes from a different crate version [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] = 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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [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 because the trait comes from a different crate version [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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [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 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Node: serde::de::Deserialize<'_>` is not satisfied because the trait comes from a different crate version [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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Node: serde::ser::Serialize` is not satisfied because the trait comes from a different crate version [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] = 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-6f17d22bba15001f/serde-1.0.215/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` is used here, as a direct dependency of the current crate [INFO] [stdout] 4 | extern crate bincode; [INFO] [stdout] | --------------------- one version of crate `serde` is 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-6f17d22bba15001f/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] [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] 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 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ab4a86d5650e3e75b29571d82e02982af6f597ac6bb95b8e74dc3a3aed872e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab4a86d5650e3e75b29571d82e02982af6f597ac6bb95b8e74dc3a3aed872e60", kill_on_drop: false }` [INFO] [stdout] ab4a86d5650e3e75b29571d82e02982af6f597ac6bb95b8e74dc3a3aed872e60