[INFO] fetching crate tiny_gcs 0.2.0... [INFO] checking tiny_gcs-0.2.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate tiny_gcs 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate tiny_gcs 0.2.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7619ca6ab8be57ecb1e31fb0019c07a518729f2a11cbbde7bc0fa848a2a84a3a [INFO] running `Command { std: "docker" "start" "-a" "7619ca6ab8be57ecb1e31fb0019c07a518729f2a11cbbde7bc0fa848a2a84a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7619ca6ab8be57ecb1e31fb0019c07a518729f2a11cbbde7bc0fa848a2a84a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7619ca6ab8be57ecb1e31fb0019c07a518729f2a11cbbde7bc0fa848a2a84a3a", kill_on_drop: false }` [INFO] [stdout] 7619ca6ab8be57ecb1e31fb0019c07a518729f2a11cbbde7bc0fa848a2a84a3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47eb521d535ac83461f3fc47eae93320c7faca68d629f0a87f952335c70fc0aa [INFO] running `Command { std: "docker" "start" "-a" "47eb521d535ac83461f3fc47eae93320c7faca68d629f0a87f952335c70fc0aa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking backtrace v0.3.61 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking serde v1.0.128 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tiny_gcs v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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: `--force-warn ellipsis-inclusive-range-patterns` implied by `--force-warn rust-2021-compatibility` [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: 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] 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: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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: `--force-warn ellipsis-inclusive-range-patterns` implied by `--force-warn rust-2021-compatibility` [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: 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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "47eb521d535ac83461f3fc47eae93320c7faca68d629f0a87f952335c70fc0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47eb521d535ac83461f3fc47eae93320c7faca68d629f0a87f952335c70fc0aa", kill_on_drop: false }` [INFO] [stdout] 47eb521d535ac83461f3fc47eae93320c7faca68d629f0a87f952335c70fc0aa