[INFO] fetching crate async-fetch 0.4.0... [INFO] testing async-fetch-0.4.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate async-fetch 0.4.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate async-fetch 0.4.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b54d067c766e45e2e10220724b9c6af064a8af2d087f705b4307b3a11098bd70 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b54d067c766e45e2e10220724b9c6af064a8af2d087f705b4307b3a11098bd70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b54d067c766e45e2e10220724b9c6af064a8af2d087f705b4307b3a11098bd70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54d067c766e45e2e10220724b9c6af064a8af2d087f705b4307b3a11098bd70", kill_on_drop: false }` [INFO] [stdout] b54d067c766e45e2e10220724b9c6af064a8af2d087f705b4307b3a11098bd70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ea4bf84b5bf27bc52fe5deeaa232202bdaa3c767ea91f8f8eb58e7e93550818 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4ea4bf84b5bf27bc52fe5deeaa232202bdaa3c767ea91f8f8eb58e7e93550818", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling async-io v1.2.0 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling async-std v1.7.0 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling async-uninet v0.2.0 [INFO] [stderr] Compiling async-httplib v0.5.0 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling async-fetch v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.84s [INFO] running `Command { std: "docker" "inspect" "4ea4bf84b5bf27bc52fe5deeaa232202bdaa3c767ea91f8f8eb58e7e93550818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea4bf84b5bf27bc52fe5deeaa232202bdaa3c767ea91f8f8eb58e7e93550818", kill_on_drop: false }` [INFO] [stdout] 4ea4bf84b5bf27bc52fe5deeaa232202bdaa3c767ea91f8f8eb58e7e93550818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db0476df0ff15620ac3e3a45057f978d1749bbb6799b45d4978b54334a75ce40 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "db0476df0ff15620ac3e3a45057f978d1749bbb6799b45d4978b54334a75ce40", kill_on_drop: false }` [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[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] error[E0599]: no method named `send_json` found for struct `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] | ^^^^^^^^^ help: there is an associated function with a similar name: `send_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "db0476df0ff15620ac3e3a45057f978d1749bbb6799b45d4978b54334a75ce40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db0476df0ff15620ac3e3a45057f978d1749bbb6799b45d4978b54334a75ce40", kill_on_drop: false }` [INFO] [stdout] db0476df0ff15620ac3e3a45057f978d1749bbb6799b45d4978b54334a75ce40