[INFO] fetching crate actix-protobuf 0.7.0-beta.2... [INFO] testing actix-protobuf-0.7.0-beta.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate actix-protobuf 0.7.0-beta.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate actix-protobuf 0.7.0-beta.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68ad6d0537fde9b5c9641cfb6fb4c17b2678b571cdbf69870251d3183740407f [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" "68ad6d0537fde9b5c9641cfb6fb4c17b2678b571cdbf69870251d3183740407f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68ad6d0537fde9b5c9641cfb6fb4c17b2678b571cdbf69870251d3183740407f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68ad6d0537fde9b5c9641cfb6fb4c17b2678b571cdbf69870251d3183740407f", kill_on_drop: false }` [INFO] [stdout] 68ad6d0537fde9b5c9641cfb6fb4c17b2678b571cdbf69870251d3183740407f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", 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] fd96e4d0a51a0bc89b966bbd77464f4be2b0d7763fb0c84cf89d8f19418d3d41 [INFO] running `Command { std: "docker" "start" "-a" "fd96e4d0a51a0bc89b966bbd77464f4be2b0d7763fb0c84cf89d8f19418d3d41", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling firestorm v0.4.6 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling actix-router v0.5.0-beta.2 [INFO] [stderr] Compiling actix-service v2.0.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.3.5 [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 local-channel v0.1.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling actix-codec v0.4.1 [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 v1.0.130 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.71 [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 1m 54s [INFO] running `Command { std: "docker" "inspect" "fd96e4d0a51a0bc89b966bbd77464f4be2b0d7763fb0c84cf89d8f19418d3d41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd96e4d0a51a0bc89b966bbd77464f4be2b0d7763fb0c84cf89d8f19418d3d41", kill_on_drop: false }` [INFO] [stdout] fd96e4d0a51a0bc89b966bbd77464f4be2b0d7763fb0c84cf89d8f19418d3d41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", 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] 238c80d6d0e90b10b04028865a7501760d28c644403155cbf4fdcd6a3c3d8e2e [INFO] running `Command { std: "docker" "start" "-a" "238c80d6d0e90b10b04028865a7501760d28c644403155cbf4fdcd6a3c3d8e2e", 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" "238c80d6d0e90b10b04028865a7501760d28c644403155cbf4fdcd6a3c3d8e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "238c80d6d0e90b10b04028865a7501760d28c644403155cbf4fdcd6a3c3d8e2e", kill_on_drop: false }` [INFO] [stdout] 238c80d6d0e90b10b04028865a7501760d28c644403155cbf4fdcd6a3c3d8e2e