[INFO] fetching crate tiny_gcs 0.2.0... [INFO] checking tiny_gcs-0.2.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate tiny_gcs 0.2.0 into /workspace/builds/worker-37/source [INFO] validating manifest of crates.io crate tiny_gcs 0.2.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tiny_gcs 0.2.0 [INFO] finished tweaking crates.io crate tiny_gcs 0.2.0 [INFO] tweaked toml for crates.io crate tiny_gcs 0.2.0 written to /workspace/builds/worker-37/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be302d8d550a5518661d19b652a4f5e6450cb9f36a8672a98b0e7695840e86fd [INFO] running `Command { std: "docker" "start" "-a" "be302d8d550a5518661d19b652a4f5e6450cb9f36a8672a98b0e7695840e86fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be302d8d550a5518661d19b652a4f5e6450cb9f36a8672a98b0e7695840e86fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be302d8d550a5518661d19b652a4f5e6450cb9f36a8672a98b0e7695840e86fd", kill_on_drop: false }` [INFO] [stdout] be302d8d550a5518661d19b652a4f5e6450cb9f36a8672a98b0e7695840e86fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58a6ce916268c7b86b121aadf493ceb7cbefa17875e99fd9a993bf43a93cae13 [INFO] running `Command { std: "docker" "start" "-a" "58a6ce916268c7b86b121aadf493ceb7cbefa17875e99fd9a993bf43a93cae13", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tiny_gcs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | 'a'...'z' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | '0'...'9' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | '\u{7F}'...'\u{84}' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | '\u{86}'...'\u{9F}' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | std::error::Error::description(self).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | std::error::Error::description(self).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/objects.rs:208:43 [INFO] [stdout] | [INFO] [stdout] 208 | let mut response: Self = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | 'a'...'z' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | '0'...'9' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | '\u{7F}'...'\u{84}' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | '\u{86}'...'\u{9F}' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | std::error::Error::description(self).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | std::error::Error::description(self).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/objects.rs:208:43 [INFO] [stdout] | [INFO] [stdout] 208 | let mut response: Self = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `response.buffer` does not live long enough [INFO] [stdout] --> src/objects.rs:213:40 [INFO] [stdout] | [INFO] [stdout] 200 | impl<'a> TryFrom for GetObjectResponse<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 208 | let mut response: Self = mem::uninitialized(); [INFO] [stdout] | ---- type annotation requires that `response.buffer` is borrowed for `'a` [INFO] [stdout] ... [INFO] [stdout] 213 | serde_json::from_slice(&response.buffer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 218 | } [INFO] [stdout] | - `response.buffer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `response` because it is borrowed [INFO] [stdout] --> src/objects.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 200 | impl<'a> TryFrom for GetObjectResponse<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 208 | let mut response: Self = mem::uninitialized(); [INFO] [stdout] | ---- type annotation requires that `response.buffer` is borrowed for `'a` [INFO] [stdout] ... [INFO] [stdout] 213 | serde_json::from_slice(&response.buffer) [INFO] [stdout] | ---------------- borrow of `response.buffer` occurs here [INFO] [stdout] ... [INFO] [stdout] 217 | Ok(response) [INFO] [stdout] | ^^^^^^^^ move out of `response` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny_gcs` due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0597]: `response.buffer` does not live long enough [INFO] [stdout] --> src/objects.rs:213:40 [INFO] [stdout] | [INFO] [stdout] 200 | impl<'a> TryFrom for GetObjectResponse<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 208 | let mut response: Self = mem::uninitialized(); [INFO] [stdout] | ---- type annotation requires that `response.buffer` is borrowed for `'a` [INFO] [stdout] ... [INFO] [stdout] 213 | serde_json::from_slice(&response.buffer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 218 | } [INFO] [stdout] | - `response.buffer` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `response` because it is borrowed [INFO] [stdout] --> src/objects.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 200 | impl<'a> TryFrom for GetObjectResponse<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 208 | let mut response: Self = mem::uninitialized(); [INFO] [stdout] | ---- type annotation requires that `response.buffer` is borrowed for `'a` [INFO] [stdout] ... [INFO] [stdout] 213 | serde_json::from_slice(&response.buffer) [INFO] [stdout] | ---------------- borrow of `response.buffer` occurs here [INFO] [stdout] ... [INFO] [stdout] 217 | Ok(response) [INFO] [stdout] | ^^^^^^^^ move out of `response` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "58a6ce916268c7b86b121aadf493ceb7cbefa17875e99fd9a993bf43a93cae13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a6ce916268c7b86b121aadf493ceb7cbefa17875e99fd9a993bf43a93cae13", kill_on_drop: false }` [INFO] [stdout] 58a6ce916268c7b86b121aadf493ceb7cbefa17875e99fd9a993bf43a93cae13