[INFO] fetching crate containers-api 0.9.0... [INFO] checking containers-api-0.9.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate containers-api 0.9.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate containers-api 0.9.0 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 containers-api 0.9.0 [INFO] finished tweaking crates.io crate containers-api 0.9.0 [INFO] tweaked toml for crates.io crate containers-api 0.9.0 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] [stderr] Blocking waiting for file lock on package cache [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] 8a45b18d538cba122ab8759070224895b6358ba7889a165f185bf866448c14df [INFO] running `Command { std: "docker" "start" "-a" "8a45b18d538cba122ab8759070224895b6358ba7889a165f185bf866448c14df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a45b18d538cba122ab8759070224895b6358ba7889a165f185bf866448c14df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a45b18d538cba122ab8759070224895b6358ba7889a165f185bf866448c14df", kill_on_drop: false }` [INFO] [stdout] 8a45b18d538cba122ab8759070224895b6358ba7889a165f185bf866448c14df [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] 09ee266d49b2aea1ff3958f2abeda47765130a1fb3fecf3e535a2d301fee6081 [INFO] running `Command { std: "docker" "start" "-a" "09ee266d49b2aea1ff3958f2abeda47765130a1fb3fecf3e535a2d301fee6081", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking xattr v1.0.1 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyperlocal v0.8.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking containers-api v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `self` [INFO] [stdout] --> src/conn/client.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | self.stream_upgrade(Method::POST, endpoint, body) [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________`self` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 265 | | .await [INFO] [stdout] 266 | | .map_err(E::from) [INFO] [stdout] | |_____________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `E` may not live long enough [INFO] [stdout] --> src/conn/client.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | self.stream_upgrade(Method::POST, endpoint, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `E` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 26 | impl + From + 'static> RequestClient { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `self` [INFO] [stdout] --> src/conn/client.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | self.stream_upgrade(Method::POST, endpoint, body) [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________`self` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 265 | | .await [INFO] [stdout] 266 | | .map_err(E::from) [INFO] [stdout] | |_____________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `E` may not live long enough [INFO] [stdout] --> src/conn/client.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | self.stream_upgrade(Method::POST, endpoint, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `E` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 26 | impl + From + 'static> RequestClient { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/datetime.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(DateTime::::from_utc(timestamp, Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/datetime.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(DateTime::::from_utc(timestamp, Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/datetime.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(DateTime::::from_utc(timestamp, Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/datetime.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(DateTime::::from_utc(timestamp, Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0310, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `containers-api` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0310, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `containers-api` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "09ee266d49b2aea1ff3958f2abeda47765130a1fb3fecf3e535a2d301fee6081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09ee266d49b2aea1ff3958f2abeda47765130a1fb3fecf3e535a2d301fee6081", kill_on_drop: false }` [INFO] [stdout] 09ee266d49b2aea1ff3958f2abeda47765130a1fb3fecf3e535a2d301fee6081