[INFO] fetching crate actix-protobuf 0.7.0... [INFO] testing actix-protobuf-0.7.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate actix-protobuf 0.7.0 into /workspace/builds/worker-47/source [INFO] validating manifest of crates.io crate actix-protobuf 0.7.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-protobuf 0.7.0 [INFO] finished tweaking crates.io crate actix-protobuf 0.7.0 [INFO] tweaked toml for crates.io crate actix-protobuf 0.7.0 written to /workspace/builds/worker-47/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e2e9136bec9bee4b6196d823f27dd62b8ffdbade5c6efb63a6ae15f9e4cbeec [INFO] running `Command { std: "docker" "start" "-a" "5e2e9136bec9bee4b6196d823f27dd62b8ffdbade5c6efb63a6ae15f9e4cbeec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e2e9136bec9bee4b6196d823f27dd62b8ffdbade5c6efb63a6ae15f9e4cbeec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e2e9136bec9bee4b6196d823f27dd62b8ffdbade5c6efb63a6ae15f9e4cbeec", kill_on_drop: false }` [INFO] [stdout] 5e2e9136bec9bee4b6196d823f27dd62b8ffdbade5c6efb63a6ae15f9e4cbeec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1596c4ba517859aed1853b474b55237c500051bad32537588e56802924308c83 [INFO] running `Command { std: "docker" "start" "-a" "1596c4ba517859aed1853b474b55237c500051bad32537588e56802924308c83", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling actix-protobuf v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "1596c4ba517859aed1853b474b55237c500051bad32537588e56802924308c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1596c4ba517859aed1853b474b55237c500051bad32537588e56802924308c83", kill_on_drop: false }` [INFO] [stdout] 1596c4ba517859aed1853b474b55237c500051bad32537588e56802924308c83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b810530a252ff66f772dc99bc50960ab85364c7ec7118d8a20e5a37b8a1a9aeb [INFO] running `Command { std: "docker" "start" "-a" "b810530a252ff66f772dc99bc50960ab85364c7ec7118d8a20e5a37b8a1a9aeb", kill_on_drop: false }` [INFO] [stderr] Compiling actix-protobuf v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/lib.rs:297:18 [INFO] [stdout] | [INFO] [stdout] 297 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/lib.rs:309:18 [INFO] [stdout] | [INFO] [stdout] 309 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Message` in this scope [INFO] [stdout] --> src/lib.rs:289:32 [INFO] [stdout] | [INFO] [stdout] 289 | #[derive(Clone, PartialEq, Message)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prost` in this scope [INFO] [stdout] --> src/lib.rs:291:11 [INFO] [stdout] | [INFO] [stdout] 291 | #[prost(int32, tag = "1")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `prost` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prost` in this scope [INFO] [stdout] --> src/lib.rs:293:11 [INFO] [stdout] | [INFO] [stdout] 293 | #[prost(string, tag = "2")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `prost` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyObject: prost::Message` is not satisfied [INFO] [stdout] --> src/lib.rs:299:33 [INFO] [stdout] | [INFO] [stdout] 299 | let protobuf = ProtoBuf(MyObject { [INFO] [stdout] | ________________________--------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 300 | | number: 9, [INFO] [stdout] 301 | | name: "test".to_owned(), [INFO] [stdout] 302 | | }); [INFO] [stdout] | |_________^ the trait `prost::Message` is not implemented for `MyObject` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ProtoBuf` [INFO] [stdout] --> src/lib.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ProtoBuf(pub T); [INFO] [stdout] | ^^^^^^^ required by this bound in `ProtoBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyObject: prost::Message` is not satisfied [INFO] [stdout] --> src/lib.rs:299:24 [INFO] [stdout] | [INFO] [stdout] 299 | let protobuf = ProtoBuf(MyObject { [INFO] [stdout] | ________________________^ [INFO] [stdout] 300 | | number: 9, [INFO] [stdout] 301 | | name: "test".to_owned(), [INFO] [stdout] 302 | | }); [INFO] [stdout] | |__________^ the trait `prost::Message` is not implemented for `MyObject` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ProtoBuf` [INFO] [stdout] --> src/lib.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ProtoBuf(pub T); [INFO] [stdout] | ^^^^^^^ required by this bound in `ProtoBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `respond_to` exists for struct `ProtoBuf`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:304:29 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ProtoBuf(pub T); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `respond_to` not found for this [INFO] [stdout] | doesn't satisfy `ProtoBuf: actix_web::Responder` [INFO] [stdout] ... [INFO] [stdout] 290 | pub struct MyObject { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `MyObject: Default` [INFO] [stdout] | doesn't satisfy `MyObject: prost::Message` [INFO] [stdout] ... [INFO] [stdout] 304 | let resp = protobuf.respond_to(&req); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `ProtoBuf` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `MyObject: prost::Message` was not satisfied [INFO] [stdout] --> src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | impl Responder for ProtoBuf { [INFO] [stdout] | ^^^^^^^ --------- ----------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: trait bound `MyObject: Default` was not satisfied [INFO] [stdout] --> src/lib.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | impl Responder for ProtoBuf { [INFO] [stdout] | ^^^^^^^ --------- ----------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.9.0/src/message.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pub trait Message: Debug + Send + Sync { [INFO] [stdout] 15 | | /// Encodes the message to a buffer. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// This method will panic if the buffer has insufficient capacity. [INFO] [stdout] ... | [INFO] [stdout] 162 | | fn clear(&mut self); [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: consider annotating `MyObject` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `ProtoBufMessage`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:312:53 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ProtoBufMessage { [INFO] [stdout] | ------------------------------------------------ function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 290 | pub struct MyObject { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `MyObject: Default` [INFO] [stdout] | doesn't satisfy `MyObject: prost::Message` [INFO] [stdout] ... [INFO] [stdout] 312 | let protobuf = ProtoBufMessage::::new(&req, &mut pl).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `ProtoBufMessage` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: prost::Message` [INFO] [stdout] `MyObject: Default` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.9.0/src/message.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pub trait Message: Debug + Send + Sync { [INFO] [stdout] 15 | | /// Encodes the message to a buffer. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// This method will panic if the buffer has insufficient capacity. [INFO] [stdout] ... | [INFO] [stdout] 162 | | fn clear(&mut self); [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: consider annotating `MyObject` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyObject: prost::Message` is not satisfied [INFO] [stdout] --> src/lib.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | let protobuf = ProtoBufMessage::::new(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `prost::Message` is not implemented for `MyObject` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ProtoBufMessage` [INFO] [stdout] --> src/lib.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ProtoBufMessage { [INFO] [stdout] | ^^^^^^^ required by this bound in `ProtoBufMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyObject: Default` is not satisfied [INFO] [stdout] --> src/lib.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | let protobuf = ProtoBufMessage::::new(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `MyObject` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ProtoBufMessage` [INFO] [stdout] --> src/lib.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ProtoBufMessage { [INFO] [stdout] | ^^^^^^^ required by this bound in `ProtoBufMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `ProtoBufMessage`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:318:53 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ProtoBufMessage { [INFO] [stdout] | ------------------------------------------------ function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 290 | pub struct MyObject { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `MyObject: Default` [INFO] [stdout] | doesn't satisfy `MyObject: prost::Message` [INFO] [stdout] ... [INFO] [stdout] 318 | let protobuf = ProtoBufMessage::::new(&req, &mut pl).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `ProtoBufMessage` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: prost::Message` [INFO] [stdout] `MyObject: Default` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.9.0/src/message.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pub trait Message: Debug + Send + Sync { [INFO] [stdout] 15 | | /// Encodes the message to a buffer. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// This method will panic if the buffer has insufficient capacity. [INFO] [stdout] ... | [INFO] [stdout] 162 | | fn clear(&mut self); [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: consider annotating `MyObject` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyObject: prost::Message` is not satisfied [INFO] [stdout] --> src/lib.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | let protobuf = ProtoBufMessage::::new(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `prost::Message` is not implemented for `MyObject` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ProtoBufMessage` [INFO] [stdout] --> src/lib.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ProtoBufMessage { [INFO] [stdout] | ^^^^^^^ required by this bound in `ProtoBufMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyObject: Default` is not satisfied [INFO] [stdout] --> src/lib.rs:318:24 [INFO] [stdout] | [INFO] [stdout] 318 | let protobuf = ProtoBufMessage::::new(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `MyObject` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ProtoBufMessage` [INFO] [stdout] --> src/lib.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ProtoBufMessage { [INFO] [stdout] | ^^^^^^^ required by this bound in `ProtoBufMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `ProtoBufMessage`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:325:53 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ProtoBufMessage { [INFO] [stdout] | ------------------------------------------------ function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 290 | pub struct MyObject { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `MyObject: Default` [INFO] [stdout] | doesn't satisfy `MyObject: prost::Message` [INFO] [stdout] ... [INFO] [stdout] 325 | let protobuf = ProtoBufMessage::::new(&req, &mut pl) [INFO] [stdout] | ^^^ function or associated item cannot be called on `ProtoBufMessage` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: prost::Message` [INFO] [stdout] `MyObject: Default` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.9.0/src/message.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pub trait Message: Debug + Send + Sync { [INFO] [stdout] 15 | | /// Encodes the message to a buffer. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// This method will panic if the buffer has insufficient capacity. [INFO] [stdout] ... | [INFO] [stdout] 162 | | fn clear(&mut self); [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: consider annotating `MyObject` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyObject: prost::Message` is not satisfied [INFO] [stdout] --> src/lib.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 325 | let protobuf = ProtoBufMessage::::new(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `prost::Message` is not implemented for `MyObject` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ProtoBufMessage` [INFO] [stdout] --> src/lib.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ProtoBufMessage { [INFO] [stdout] | ^^^^^^^ required by this bound in `ProtoBufMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyObject: Default` is not satisfied [INFO] [stdout] --> src/lib.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 325 | let protobuf = ProtoBufMessage::::new(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `MyObject` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ProtoBufMessage` [INFO] [stdout] --> src/lib.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ProtoBufMessage { [INFO] [stdout] | ^^^^^^^ required by this bound in `ProtoBufMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-protobuf` due to 18 previous errors [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b810530a252ff66f772dc99bc50960ab85364c7ec7118d8a20e5a37b8a1a9aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b810530a252ff66f772dc99bc50960ab85364c7ec7118d8a20e5a37b8a1a9aeb", kill_on_drop: false }` [INFO] [stdout] b810530a252ff66f772dc99bc50960ab85364c7ec7118d8a20e5a37b8a1a9aeb