[INFO] fetching crate webtonic-server 0.1.0... [INFO] checking webtonic-server-0.1.0 against try#99a443d6903f71d521237d8acb5a3016b534d17b for pr-83354 [INFO] extracting crate webtonic-server 0.1.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate webtonic-server 0.1.0 on toolchain 99a443d6903f71d521237d8acb5a3016b534d17b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate webtonic-server 0.1.0 [INFO] finished tweaking crates.io crate webtonic-server 0.1.0 [INFO] tweaked toml for crates.io crate webtonic-server 0.1.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webtonic-proto v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c85a2bbb1c35e861038a492608fa06044aa2d21c1a2e63d4970f379d8c54f855 [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" "c85a2bbb1c35e861038a492608fa06044aa2d21c1a2e63d4970f379d8c54f855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c85a2bbb1c35e861038a492608fa06044aa2d21c1a2e63d4970f379d8c54f855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c85a2bbb1c35e861038a492608fa06044aa2d21c1a2e63d4970f379d8c54f855", kill_on_drop: false }` [INFO] [stdout] c85a2bbb1c35e861038a492608fa06044aa2d21c1a2e63d4970f379d8c54f855 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f90bd262ff53be2a71bef05f0492813a5feb3af3c24e37d78b6f90d0c78217b [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" "6f90bd262ff53be2a71bef05f0492813a5feb3af3c24e37d78b6f90d0c78217b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tower-make v0.3.0 [INFO] [stderr] Checking tower-ready-cache v0.3.1 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking async-stream v0.2.1 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking tower-discover v0.3.0 [INFO] [stderr] Checking tower-retry v0.3.0 [INFO] [stderr] Checking tower-timeout v0.3.0 [INFO] [stderr] Checking tower-util v0.3.1 [INFO] [stderr] Checking tower-load-shed v0.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking tower-load v0.3.0 [INFO] [stderr] Checking tower-buffer v0.3.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tonic v0.4.1 [INFO] [stderr] Checking tower-limit v0.3.1 [INFO] [stderr] Checking tower-balance v0.3.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking tower v0.3.1 [INFO] [stderr] Checking prost v0.6.1 [INFO] [stderr] Checking prost v0.7.0 [INFO] [stderr] Checking webtonic-proto v0.1.1 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking warp v0.2.5 [INFO] [stderr] Checking tonic v0.3.1 [INFO] [stderr] Checking webtonic-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `Call` in the current scope [INFO] [stdout] --> src/lib.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | let call = match Call::decode(msg) { [INFO] [stdout] | ^^^^^^ function or associated item not found in `Call` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 8 | use prost::message::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `Call` in the current scope [INFO] [stdout] --> src/lib.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | let call = match Call::decode(msg) { [INFO] [stdout] | ^^^^^^ function or associated item not found in `Call` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 8 | use prost::message::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:263:78 [INFO] [stdout] | [INFO] [stdout] 263 | let mut response = match routes.root.clone().call((path.to_string(), call)).await { [INFO] [stdout] | ^^^^ expected struct `BoxBody`, found struct `tonic::body::BoxBody` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `http::Request` [INFO] [stdout] found struct `http::Request` [INFO] [stdout] = note: perhaps two different versions of crate `tonic` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:263:78 [INFO] [stdout] | [INFO] [stdout] 263 | let mut response = match routes.root.clone().call((path.to_string(), call)).await { [INFO] [stdout] | ^^^^ expected struct `BoxBody`, found struct `tonic::body::BoxBody` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `http::Request` [INFO] [stdout] found struct `http::Request` [INFO] [stdout] = note: perhaps two different versions of crate `tonic` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:272:60 [INFO] [stdout] | [INFO] [stdout] 272 | let reply = webtonic_proto::http_response_to_reply(&mut response).await; [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `tonic::body::BoxBody`, found struct `BoxBody` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut http::Response` [INFO] [stdout] found mutable reference `&mut http::Response` [INFO] [stdout] = note: perhaps two different versions of crate `tonic` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `webtonic_proto::Reply` in the current scope [INFO] [stdout] --> src/lib.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | match reply.encode(&mut msg) { [INFO] [stdout] | ^^^^^^ method not found in `webtonic_proto::Reply` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 8 | use prost::message::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:272:60 [INFO] [stdout] | [INFO] [stdout] 272 | let reply = webtonic_proto::http_response_to_reply(&mut response).await; [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `tonic::body::BoxBody`, found struct `BoxBody` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut http::Response` [INFO] [stdout] found mutable reference `&mut http::Response` [INFO] [stdout] = note: perhaps two different versions of crate `tonic` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `webtonic_proto::Reply` in the current scope [INFO] [stdout] --> src/lib.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | match reply.encode(&mut msg) { [INFO] [stdout] | ^^^^^^ method not found in `webtonic_proto::Reply` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 8 | use prost::message::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:296:56 [INFO] [stdout] | [INFO] [stdout] 296 | let reply = webtonic_proto::http_response_to_reply(&mut response).await; [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `tonic::body::BoxBody`, found struct `BoxBody` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut http::Response` [INFO] [stdout] found mutable reference `&mut http::Response` [INFO] [stdout] = note: perhaps two different versions of crate `tonic` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `webtonic_proto::Reply` in the current scope [INFO] [stdout] --> src/lib.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | reply.encode(&mut msg).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `webtonic_proto::Reply` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 8 | use prost::message::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use prost::Message as ProstMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webtonic-server` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:296:56 [INFO] [stdout] | [INFO] [stdout] 296 | let reply = webtonic_proto::http_response_to_reply(&mut response).await; [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `tonic::body::BoxBody`, found struct `BoxBody` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut http::Response` [INFO] [stdout] found mutable reference `&mut http::Response` [INFO] [stdout] = note: perhaps two different versions of crate `tonic` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `webtonic_proto::Reply` in the current scope [INFO] [stdout] --> src/lib.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | reply.encode(&mut msg).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `webtonic_proto::Reply` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prost-0.7.0/src/message.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn encode(&self, buf: &mut B) -> Result<(), EncodeError> [INFO] [stdout] | ------ the method is available for `Box` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 8 | use prost::message::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use prost::Message as ProstMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6f90bd262ff53be2a71bef05f0492813a5feb3af3c24e37d78b6f90d0c78217b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f90bd262ff53be2a71bef05f0492813a5feb3af3c24e37d78b6f90d0c78217b", kill_on_drop: false }` [INFO] [stdout] 6f90bd262ff53be2a71bef05f0492813a5feb3af3c24e37d78b6f90d0c78217b