[INFO] fetching crate unsplash-rs 0.1.1... [INFO] checking unsplash-rs-0.1.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate unsplash-rs 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate unsplash-rs 0.1.1 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 unsplash-rs 0.1.1 [INFO] finished tweaking crates.io crate unsplash-rs 0.1.1 [INFO] tweaked toml for crates.io crate unsplash-rs 0.1.1 written to /workspace/builds/worker-7-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] Blocking waiting for file lock on package cache [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 09f0009068d761abde033902c2e536b2428fe53e6f1f0ed5855afd65abb36033 [INFO] running `Command { std: "docker" "start" "-a" "09f0009068d761abde033902c2e536b2428fe53e6f1f0ed5855afd65abb36033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09f0009068d761abde033902c2e536b2428fe53e6f1f0ed5855afd65abb36033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f0009068d761abde033902c2e536b2428fe53e6f1f0ed5855afd65abb36033", kill_on_drop: false }` [INFO] [stdout] 09f0009068d761abde033902c2e536b2428fe53e6f1f0ed5855afd65abb36033 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2109707f698163f9a5504350e1f3ff932f12e9d495b9467a838111dcc28db7b1 [INFO] running `Command { std: "docker" "start" "-a" "2109707f698163f9a5504350e1f3ff932f12e9d495b9467a838111dcc28db7b1", kill_on_drop: false }` [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking serde_url_params v0.1.1 [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking unsplash-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `option_replace` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_replace)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `option_replace` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_replace)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self) -> Option<&Fail> { self.inner.cause() } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self) -> Option<&dyn Fail> { self.inner.cause() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self) -> Option<&Fail> { self.inner.cause() } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self) -> Option<&dyn Fail> { self.inner.cause() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/me.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | ::endpoint::get((), client, format!("Bearer {}", bearer).as_ref(), ME_URI.clone()) [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] 108 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/me.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | ::endpoint::put(self, client, format!("Bearer {}", bearer).as_ref(), ME_URI.clone()) [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] 179 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/me.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | ::endpoint::get((), client, format!("Bearer {}", bearer).as_ref(), ME_URI.clone()) [INFO] [stdout] | ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] 108 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/mod.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 142 | / ::endpoint::get( [INFO] [stdout] 143 | | (), [INFO] [stdout] 144 | | &client, [INFO] [stdout] 145 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 146 | | self.links.download_location.parse().unwrap(), [INFO] [stdout] 147 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 148 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/me.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | ::endpoint::put(self, client, format!("Bearer {}", bearer).as_ref(), ME_URI.clone()) [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] 179 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/list.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 68 | / ::endpoint::get( [INFO] [stdout] 69 | | self, [INFO] [stdout] 70 | | client, [INFO] [stdout] 71 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 72 | | LIST_URI.clone(), [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 74 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/random.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 199 | / ::endpoint::get( [INFO] [stdout] 200 | | serial, [INFO] [stdout] 201 | | &client, [INFO] [stdout] 202 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 203 | | RANDOM_URI.clone(), [INFO] [stdout] 204 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 205 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/mod.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 142 | / ::endpoint::get( [INFO] [stdout] 143 | | (), [INFO] [stdout] 144 | | &client, [INFO] [stdout] 145 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 146 | | self.links.download_location.parse().unwrap(), [INFO] [stdout] 147 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 148 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/random.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 241 | / ::endpoint::get( [INFO] [stdout] 242 | | serial, [INFO] [stdout] 243 | | client, [INFO] [stdout] 244 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 245 | | RANDOM_URI.clone(), [INFO] [stdout] 246 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 247 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/list.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 68 | / ::endpoint::get( [INFO] [stdout] 69 | | self, [INFO] [stdout] 70 | | client, [INFO] [stdout] 71 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 72 | | LIST_URI.clone(), [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 74 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/random.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 277 | / ::endpoint::get( [INFO] [stdout] 278 | | serial, [INFO] [stdout] 279 | | client, [INFO] [stdout] 280 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 281 | | RANDOM_URI.clone(), [INFO] [stdout] 282 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 283 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/random.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 199 | / ::endpoint::get( [INFO] [stdout] 200 | | serial, [INFO] [stdout] 201 | | &client, [INFO] [stdout] 202 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 203 | | RANDOM_URI.clone(), [INFO] [stdout] 204 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 205 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/random.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 313 | / ::endpoint::get( [INFO] [stdout] 314 | | serial, [INFO] [stdout] 315 | | client, [INFO] [stdout] 316 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 317 | | RANDOM_URI.clone(), [INFO] [stdout] 318 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 319 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/random.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 241 | / ::endpoint::get( [INFO] [stdout] 242 | | serial, [INFO] [stdout] 243 | | client, [INFO] [stdout] 244 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 245 | | RANDOM_URI.clone(), [INFO] [stdout] 246 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 247 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/random.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 349 | / ::endpoint::get( [INFO] [stdout] 350 | | serial, [INFO] [stdout] 351 | | client, [INFO] [stdout] 352 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 353 | | RANDOM_URI.clone(), [INFO] [stdout] 354 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 355 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/random.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 277 | / ::endpoint::get( [INFO] [stdout] 278 | | serial, [INFO] [stdout] 279 | | client, [INFO] [stdout] 280 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 281 | | RANDOM_URI.clone(), [INFO] [stdout] 282 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 283 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/random.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 313 | / ::endpoint::get( [INFO] [stdout] 314 | | serial, [INFO] [stdout] 315 | | client, [INFO] [stdout] 316 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 317 | | RANDOM_URI.clone(), [INFO] [stdout] 318 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 319 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/endpoint/photos/random.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 349 | / ::endpoint::get( [INFO] [stdout] 350 | | serial, [INFO] [stdout] 351 | | client, [INFO] [stdout] 352 | | format!("Client-ID: {}", access_key).as_ref(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 353 | | RANDOM_URI.clone(), [INFO] [stdout] 354 | | ) [INFO] [stdout] | |_________- argument requires that borrow lasts for `'static` [INFO] [stdout] 355 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unsplash-rs` (lib test) due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unsplash-rs` (lib) due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2109707f698163f9a5504350e1f3ff932f12e9d495b9467a838111dcc28db7b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2109707f698163f9a5504350e1f3ff932f12e9d495b9467a838111dcc28db7b1", kill_on_drop: false }` [INFO] [stdout] 2109707f698163f9a5504350e1f3ff932f12e9d495b9467a838111dcc28db7b1