[INFO] fetching crate now_lambda 0.1.3... [INFO] testing now_lambda-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-2 [INFO] extracting crate now_lambda 0.1.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate now_lambda 0.1.3 [INFO] finished tweaking crates.io crate now_lambda 0.1.3 [INFO] tweaked toml for crates.io crate now_lambda 0.1.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate now_lambda 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 140 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.10.1 (available: v0.22.1) [INFO] [stderr] Adding http v0.1.21 (available: v1.3.1) [INFO] [stderr] Adding lambda_runtime v0.2.1 (available: v0.14.4) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 688f32ecbfc3ac1cfb5077bf9604ca8a2c222f16f162fa2a3899d535623bb016 [INFO] running `Command { std: "docker" "start" "-a" "688f32ecbfc3ac1cfb5077bf9604ca8a2c222f16f162fa2a3899d535623bb016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "688f32ecbfc3ac1cfb5077bf9604ca8a2c222f16f162fa2a3899d535623bb016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "688f32ecbfc3ac1cfb5077bf9604ca8a2c222f16f162fa2a3899d535623bb016", kill_on_drop: false }` [INFO] [stdout] 688f32ecbfc3ac1cfb5077bf9604ca8a2c222f16f162fa2a3899d535623bb016 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 669ea87bba43a5ce65bfa0467298835a5209abbe44efa0c4de4c4f71a3eb90cc [INFO] running `Command { std: "docker" "start" "-a" "669ea87bba43a5ce65bfa0467298835a5209abbe44efa0c4de4c4f71a3eb90cc", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling 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] Compiling either v1.15.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling lambda_runtime_core v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling lambda_runtime_errors v0.1.1 [INFO] [stderr] Compiling lambda_runtime_client v0.2.2 [INFO] [stderr] Compiling lambda_runtime v0.2.1 [INFO] [stderr] Compiling now_lambda v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/request.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | builder.uri({ format!("https://{}{}", host, path) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 104 - builder.uri({ format!("https://{}{}", host, path) }); [INFO] [stdout] 104 + builder.uri(format!("https://{}{}", host, path)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/request.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct NowEvent<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | #[serde(rename = "Action")] [INFO] [stdout] 28 | action: Cow<'a, str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NowEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/request.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | mem::replace(req.headers_mut(), headers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = mem::replace(req.headers_mut(), headers); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "669ea87bba43a5ce65bfa0467298835a5209abbe44efa0c4de4c4f71a3eb90cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669ea87bba43a5ce65bfa0467298835a5209abbe44efa0c4de4c4f71a3eb90cc", kill_on_drop: false }` [INFO] [stdout] 669ea87bba43a5ce65bfa0467298835a5209abbe44efa0c4de4c4f71a3eb90cc [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05110b356b7181648951a496a709105551cd9514b0d41a34c21d4942b24ac40b [INFO] running `Command { std: "docker" "start" "-a" "05110b356b7181648951a496a709105551cd9514b0d41a34c21d4942b24ac40b", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/request.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | builder.uri({ format!("https://{}{}", host, path) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 104 - builder.uri({ format!("https://{}{}", host, path) }); [INFO] [stdout] 104 + builder.uri(format!("https://{}{}", host, path)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/request.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct NowEvent<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | #[serde(rename = "Action")] [INFO] [stdout] 28 | action: Cow<'a, str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NowEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling now_lambda v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/request.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | mem::replace(req.headers_mut(), headers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = mem::replace(req.headers_mut(), headers); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/request.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | builder.uri({ format!("https://{}{}", host, path) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 104 - builder.uri({ format!("https://{}{}", host, path) }); [INFO] [stdout] 104 + builder.uri(format!("https://{}{}", host, path)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/request.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct NowEvent<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | #[serde(rename = "Action")] [INFO] [stdout] 28 | action: Cow<'a, str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NowEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/request.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | mem::replace(req.headers_mut(), headers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = mem::replace(req.headers_mut(), headers); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "05110b356b7181648951a496a709105551cd9514b0d41a34c21d4942b24ac40b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05110b356b7181648951a496a709105551cd9514b0d41a34c21d4942b24ac40b", kill_on_drop: false }` [INFO] [stdout] 05110b356b7181648951a496a709105551cd9514b0d41a34c21d4942b24ac40b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca8d7d2d6a232274ee5686ef10050f3e1447edced470d4ecb8726af7ac3c4bf4 [INFO] running `Command { std: "docker" "start" "-a" "ca8d7d2d6a232274ee5686ef10050f3e1447edced470d4ecb8726af7ac3c4bf4", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/request.rs:104:21 [INFO] [stderr] | [INFO] [stderr] 104 | builder.uri({ format!("https://{}{}", host, path) }); [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 104 - builder.uri({ format!("https://{}{}", host, path) }); [INFO] [stderr] 104 + builder.uri(format!("https://{}{}", host, path)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `action` is never read [INFO] [stderr] --> src/request.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub(crate) struct NowEvent<'a> { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 27 | #[serde(rename = "Action")] [INFO] [stderr] 28 | action: Cow<'a, str>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NowEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/request.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | mem::replace(req.headers_mut(), headers); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 118 | let _ = mem::replace(req.headers_mut(), headers); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `now_lambda` (lib) generated 3 warnings (run `cargo fix --lib -p now_lambda` to apply 1 suggestion) [INFO] [stderr] warning: `now_lambda` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/now_lambda-1f97096744d8dab9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests now_lambda [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/request.rs:104:21 [INFO] [stderr] | [INFO] [stderr] 104 | builder.uri({ format!("https://{}{}", host, path) }); [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 104 - builder.uri({ format!("https://{}{}", host, path) }); [INFO] [stderr] 104 + builder.uri(format!("https://{}{}", host, path)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/body.rs - body::Body (line 38) ... ok [INFO] [stdout] test src/body.rs - body::Body (line 51) ... ok [INFO] [stdout] test src/body.rs - body::Body (line 27) ... ok [INFO] [stdout] test src/response.rs - response::IntoResponse (line 79) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ca8d7d2d6a232274ee5686ef10050f3e1447edced470d4ecb8726af7ac3c4bf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca8d7d2d6a232274ee5686ef10050f3e1447edced470d4ecb8726af7ac3c4bf4", kill_on_drop: false }` [INFO] [stdout] ca8d7d2d6a232274ee5686ef10050f3e1447edced470d4ecb8726af7ac3c4bf4