[INFO] fetching crate burgundy 0.3.3... [INFO] checking burgundy-0.3.3 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate burgundy 0.3.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate burgundy 0.3.3 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate burgundy 0.3.3 [INFO] finished tweaking crates.io crate burgundy 0.3.3 [INFO] tweaked toml for crates.io crate burgundy 0.3.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a33bf99bc953d786801ed4222aae06ee2fdf96a451b889a88010cd0d82439ef [INFO] running `Command { std: "docker" "start" "-a" "5a33bf99bc953d786801ed4222aae06ee2fdf96a451b889a88010cd0d82439ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a33bf99bc953d786801ed4222aae06ee2fdf96a451b889a88010cd0d82439ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a33bf99bc953d786801ed4222aae06ee2fdf96a451b889a88010cd0d82439ef", kill_on_drop: false }` [INFO] [stdout] 5a33bf99bc953d786801ed4222aae06ee2fdf96a451b889a88010cd0d82439ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deb67e780bd13484cd3d0f46bb930cd96678f3510aea216e9415460bd6e067bc [INFO] running `Command { std: "docker" "start" "-a" "deb67e780bd13484cd3d0f46bb930cd96678f3510aea216e9415460bd6e067bc", kill_on_drop: false }` [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking backtrace v0.3.69 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking hyper v0.12.36 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking burgundy v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/request_information/mod.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | write!(f, "{}{}", domain.url.trim_right_matches(&"/"), parts.url)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 101 | write!(f, "{}{}", domain.url.trim_end_matches(&"/"), parts.url)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/request_information/mod.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, "{}{}", self.domain.url.trim_right_matches(&"/"), self.parts.url)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, "{}{}", self.domain.url.trim_end_matches(&"/"), self.parts.url)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/request_information/mod.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | write!(f, "{}{}", domain.url.trim_right_matches(&"/"), parts.url)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 101 | write!(f, "{}{}", domain.url.trim_end_matches(&"/"), parts.url)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/request_information/mod.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, "{}{}", self.domain.url.trim_right_matches(&"/"), self.parts.url)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, "{}{}", self.domain.url.trim_end_matches(&"/"), self.parts.url)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/native_client/mod.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 43 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 50 | let future = self.request(method, domain_info, path_info, content)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/native_client/mod.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 45 | domain_info: &request_information::RequestInformation, [INFO] [stdout] | ----------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `domain_info` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 50 | let future = self.request(method, domain_info, path_info, content)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `domain_info` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/native_client/mod.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 46 | path_info: &request_information::RequestInformation, [INFO] [stdout] | --------- - let's call the lifetime of this reference `'3` [INFO] [stdout] | | [INFO] [stdout] | `path_info` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 50 | let future = self.request(method, domain_info, path_info, content)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `path_info` escapes the method body here [INFO] [stdout] | argument requires that `'3` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.tokio_runtime` as mutable more than once at a time [INFO] [stdout] --> src/native_client/mod.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 50 | let future = self.request(method, domain_info, path_info, content)?; [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 53 | let response = self.tokio_runtime.block_on(future); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/native_client/mod.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 43 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 50 | let future = self.request(method, domain_info, path_info, content)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/native_client/mod.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 45 | domain_info: &request_information::RequestInformation, [INFO] [stdout] | ----------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `domain_info` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 50 | let future = self.request(method, domain_info, path_info, content)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `domain_info` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/native_client/mod.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 46 | path_info: &request_information::RequestInformation, [INFO] [stdout] | --------- - let's call the lifetime of this reference `'3` [INFO] [stdout] | | [INFO] [stdout] | `path_info` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 50 | let future = self.request(method, domain_info, path_info, content)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `path_info` escapes the method body here [INFO] [stdout] | argument requires that `'3` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.tokio_runtime` as mutable more than once at a time [INFO] [stdout] --> src/native_client/mod.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 50 | let future = self.request(method, domain_info, path_info, content)?; [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 53 | let response = self.tokio_runtime.block_on(future); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `burgundy` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `burgundy` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "deb67e780bd13484cd3d0f46bb930cd96678f3510aea216e9415460bd6e067bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deb67e780bd13484cd3d0f46bb930cd96678f3510aea216e9415460bd6e067bc", kill_on_drop: false }` [INFO] [stdout] deb67e780bd13484cd3d0f46bb930cd96678f3510aea216e9415460bd6e067bc