[INFO] fetching crate actix-protobuf 0.7.0-beta.2... [INFO] testing actix-protobuf-0.7.0-beta.2 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate actix-protobuf 0.7.0-beta.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate actix-protobuf 0.7.0-beta.2 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-protobuf 0.7.0-beta.2 [INFO] finished tweaking crates.io crate actix-protobuf 0.7.0-beta.2 [INFO] tweaked toml for crates.io crate actix-protobuf 0.7.0-beta.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0970e6b6ab996887144f268135756b43e977770874c4fb12984302ab94d5d80c [INFO] running `Command { std: "docker" "start" "-a" "0970e6b6ab996887144f268135756b43e977770874c4fb12984302ab94d5d80c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0970e6b6ab996887144f268135756b43e977770874c4fb12984302ab94d5d80c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0970e6b6ab996887144f268135756b43e977770874c4fb12984302ab94d5d80c", kill_on_drop: false }` [INFO] [stdout] 0970e6b6ab996887144f268135756b43e977770874c4fb12984302ab94d5d80c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e64b27cfd1a99fbead43c4f5d1ea50bd7b95c485ebfbe30f731eda14be86af52 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e64b27cfd1a99fbead43c4f5d1ea50bd7b95c485ebfbe30f731eda14be86af52", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling firestorm v0.4.6 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling actix-service v2.0.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling actix-router v0.5.0-beta.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-codec v0.4.1 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.5 [INFO] [stderr] Compiling actix-rt v2.4.0 [INFO] [stderr] Compiling actix-server v2.0.0-beta.9 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling actix-http v3.0.0-beta.12 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-web v4.0.0-beta.11 [INFO] [stderr] Compiling actix-protobuf v0.7.0-beta.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "e64b27cfd1a99fbead43c4f5d1ea50bd7b95c485ebfbe30f731eda14be86af52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64b27cfd1a99fbead43c4f5d1ea50bd7b95c485ebfbe30f731eda14be86af52", kill_on_drop: false }` [INFO] [stdout] e64b27cfd1a99fbead43c4f5d1ea50bd7b95c485ebfbe30f731eda14be86af52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e68454faf19d4f911164eaf07710324147e77d104ba1c81b483b8d0dcfdf79b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5e68454faf19d4f911164eaf07710324147e77d104ba1c81b483b8d0dcfdf79b", kill_on_drop: false }` [INFO] [stderr] Compiling actix-protobuf v0.7.0-beta.2 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Message` in this scope [INFO] [stdout] --> src/lib.rs:285:32 [INFO] [stdout] | [INFO] [stdout] 285 | #[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:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prost` in this scope [INFO] [stdout] --> src/lib.rs:287:11 [INFO] [stdout] | [INFO] [stdout] 287 | #[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:289:11 [INFO] [stdout] | [INFO] [stdout] 289 | #[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:295:33 [INFO] [stdout] | [INFO] [stdout] 295 | let protobuf = ProtoBuf(MyObject { [INFO] [stdout] | ________________________--------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 296 | | number: 9, [INFO] [stdout] 297 | | name: "test".to_owned(), [INFO] [stdout] 298 | | }); [INFO] [stdout] | |_________^ the trait `prost::Message` is not implemented for `MyObject` [INFO] [stdout] | [INFO] [stdout] note: required by `ProtoBuf` [INFO] [stdout] --> src/lib.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct ProtoBuf(pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyObject: prost::Message` is not satisfied [INFO] [stdout] --> src/lib.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | let protobuf = ProtoBuf(MyObject { [INFO] [stdout] | ________________________^ [INFO] [stdout] 296 | | number: 9, [INFO] [stdout] 297 | | name: "test".to_owned(), [INFO] [stdout] 298 | | }); [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:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | 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:300:29 [INFO] [stdout] | [INFO] [stdout] 71 | 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] 286 | 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] 300 | let resp = protobuf.respond_to(&req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `ProtoBuf` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: prost::Message` [INFO] [stdout] which is required by `ProtoBuf: actix_web::Responder` [INFO] [stdout] `MyObject: Default` [INFO] [stdout] which is required by `ProtoBuf: actix_web::Responder` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.8.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] 286 | #[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:308:53 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ProtoBufMessage { [INFO] [stdout] | ------------------------------------------------ function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 286 | 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] 308 | 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.8.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] 286 | #[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:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | 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:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | 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:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | 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:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | 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:314:53 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ProtoBufMessage { [INFO] [stdout] | ------------------------------------------------ function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 286 | 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] 314 | 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.8.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] 286 | #[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:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | 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:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | 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:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | 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:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | 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:321:53 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ProtoBufMessage { [INFO] [stdout] | ------------------------------------------------ function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 286 | 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] 321 | 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.8.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] 286 | #[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:321:24 [INFO] [stdout] | [INFO] [stdout] 321 | 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:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | 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:321:24 [INFO] [stdout] | [INFO] [stdout] 321 | 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:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ProtoBufMessage { [INFO] [stdout] | ^^^^^^^ required by this bound in `ProtoBufMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-protobuf` due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "5e68454faf19d4f911164eaf07710324147e77d104ba1c81b483b8d0dcfdf79b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e68454faf19d4f911164eaf07710324147e77d104ba1c81b483b8d0dcfdf79b", kill_on_drop: false }` [INFO] [stdout] 5e68454faf19d4f911164eaf07710324147e77d104ba1c81b483b8d0dcfdf79b