[INFO] fetching crate async-fetch 0.4.0...
[INFO] testing async-fetch-0.4.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate async-fetch 0.4.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate async-fetch 0.4.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate async-fetch 0.4.0
[INFO] finished tweaking crates.io crate async-fetch 0.4.0
[INFO] tweaked toml for crates.io crate async-fetch 0.4.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 103 packages to latest compatible versions
[INFO] [stderr]       Adding async-native-tls v0.3.3 (available: v0.5.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2fa1fed7afa45c2ac24c0fae04ffb32280715d8bbd1a99ff7f32a1f6843824ff
[INFO] running `Command { std: "docker" "start" "-a" "2fa1fed7afa45c2ac24c0fae04ffb32280715d8bbd1a99ff7f32a1f6843824ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2fa1fed7afa45c2ac24c0fae04ffb32280715d8bbd1a99ff7f32a1f6843824ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fa1fed7afa45c2ac24c0fae04ffb32280715d8bbd1a99ff7f32a1f6843824ff", kill_on_drop: false }`
[INFO] [stdout] 2fa1fed7afa45c2ac24c0fae04ffb32280715d8bbd1a99ff7f32a1f6843824ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bbe3c99c06e45a7bca715c39e18680365ea43c958ddd6b3ef68afd1094595c16
[INFO] running `Command { std: "docker" "start" "-a" "bbe3c99c06e45a7bca715c39e18680365ea43c958ddd6b3ef68afd1094595c16", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling futures-lite v2.4.0
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling value-bag v1.10.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling async-executor v1.13.1
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling event-listener-strategy v0.5.2
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling polling v3.7.3
[INFO] [stderr]    Compiling async-io v2.3.4
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling async-std v1.13.0
[INFO] [stderr]    Compiling async-native-tls v0.3.3
[INFO] [stderr]    Compiling async-uninet v0.2.0
[INFO] [stderr]    Compiling async-httplib v0.5.0
[INFO] [stderr]    Compiling async-fetch v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/request.rs:225:35
[INFO] [stdout]     |
[INFO] [stdout] 225 |         self.send_stream(&mut body.clone()).await
[INFO] [stdout]     |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.68s
[INFO] running `Command { std: "docker" "inspect" "bbe3c99c06e45a7bca715c39e18680365ea43c958ddd6b3ef68afd1094595c16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbe3c99c06e45a7bca715c39e18680365ea43c958ddd6b3ef68afd1094595c16", kill_on_drop: false }`
[INFO] [stdout] bbe3c99c06e45a7bca715c39e18680365ea43c958ddd6b3ef68afd1094595c16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ee7b93d0c35082b1a00920a44f011aeed8f4b08468ef49704893a0125e52a10
[INFO] running `Command { std: "docker" "start" "-a" "9ee7b93d0c35082b1a00920a44f011aeed8f4b08468ef49704893a0125e52a10", kill_on_drop: false }`
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/request.rs:225:35
[INFO] [stdout]     |
[INFO] [stdout] 225 |         self.send_stream(&mut body.clone()).await
[INFO] [stdout]     |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling async-fetch v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
[INFO] [stdout]   --> tests/lib.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let data = serde_json::json!({ "name": "John" });
[INFO] [stdout]    |                ^^^^^^^^^^ use of undeclared crate or module `serde_json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_json` found for struct `async_fetch::Request` in the current scope
[INFO] [stdout]   --> tests/lib.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut res = req.send_json(&data).await.unwrap();
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `send_str` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut res = req.send_str(&data).await.unwrap();
[INFO] [stdout]    |                       ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
[INFO] [stdout]   --> tests/lib.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let name: String = serde_json::from_str(&name.to_string()).unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^ use of undeclared crate or module `serde_json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async-fetch` (test "lib") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/request.rs:225:35
[INFO] [stdout]     |
[INFO] [stdout] 225 |         self.send_stream(&mut body.clone()).await
[INFO] [stdout]     |                                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9ee7b93d0c35082b1a00920a44f011aeed8f4b08468ef49704893a0125e52a10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ee7b93d0c35082b1a00920a44f011aeed8f4b08468ef49704893a0125e52a10", kill_on_drop: false }`
[INFO] [stdout] 9ee7b93d0c35082b1a00920a44f011aeed8f4b08468ef49704893a0125e52a10
