[INFO] fetching crate webtonic-server 0.1.0... [INFO] checking webtonic-server-0.1.0 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate webtonic-server 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate webtonic-server 0.1.0 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44e636fabd21e8e658f341ad0153cd7d918f60e4f06a0359ce301cae0c046f20 [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" "44e636fabd21e8e658f341ad0153cd7d918f60e4f06a0359ce301cae0c046f20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44e636fabd21e8e658f341ad0153cd7d918f60e4f06a0359ce301cae0c046f20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e636fabd21e8e658f341ad0153cd7d918f60e4f06a0359ce301cae0c046f20", kill_on_drop: false }` [INFO] [stdout] 44e636fabd21e8e658f341ad0153cd7d918f60e4f06a0359ce301cae0c046f20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17a4ca5d651ab8ff7ec17b2ad0a38548758026cf4e026fdf925aa1e99424bfd5 [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" "17a4ca5d651ab8ff7ec17b2ad0a38548758026cf4e026fdf925aa1e99424bfd5", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking async-stream v0.2.1 [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 tungstenite v0.11.1 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking tonic v0.4.2 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking tower-discover v0.3.0 [INFO] [stderr] Checking tower-util v0.3.1 [INFO] [stderr] Checking tower-load-shed v0.3.0 [INFO] [stderr] Checking prost v0.6.1 [INFO] [stderr] Checking tower-load v0.3.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tower-timeout v0.3.0 [INFO] [stderr] Checking tower-buffer v0.3.0 [INFO] [stderr] Checking tower-make v0.3.0 [INFO] [stderr] Checking tower-ready-cache v0.3.1 [INFO] [stderr] Checking tower-retry v0.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking prost v0.7.0 [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 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" "17a4ca5d651ab8ff7ec17b2ad0a38548758026cf4e026fdf925aa1e99424bfd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17a4ca5d651ab8ff7ec17b2ad0a38548758026cf4e026fdf925aa1e99424bfd5", kill_on_drop: false }` [INFO] [stdout] 17a4ca5d651ab8ff7ec17b2ad0a38548758026cf4e026fdf925aa1e99424bfd5