[INFO] fetching crate async-fetch 0.4.0... [INFO] checking async-fetch-0.4.0 against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] extracting crate async-fetch 0.4.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate async-fetch 0.4.0 on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml"` [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/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-uninet v0.2.0 [INFO] [stderr] Downloaded async-httplib v0.5.0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 20ec27a5d96bee2236e59fd5ab125161e9aba353575ae518240b39c936543781 [INFO] running `"docker" "start" "-a" "20ec27a5d96bee2236e59fd5ab125161e9aba353575ae518240b39c936543781"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Checking native-tls v0.2.4 [INFO] [stderr] Checking async-uninet v0.2.0 [INFO] [stderr] Checking async-httplib v0.5.0 [INFO] [stderr] Checking thiserror v1.0.19 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking async-fetch v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stderr] --> tests/lib.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | let data = serde_json::json!({ "name": "John" }); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stderr] --> tests/lib.rs:29:24 [INFO] [stderr] | [INFO] [stderr] 29 | let name: String = serde_json::from_str(&name.to_string()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send_json` found for struct `async_fetch::request::Request` in the current scope [INFO] [stderr] --> tests/lib.rs:23:23 [INFO] [stderr] | [INFO] [stderr] 23 | let mut res = req.send_json(&data).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^ help: there is an associated function with a similar name: `send_str` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `async-fetch`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "20ec27a5d96bee2236e59fd5ab125161e9aba353575ae518240b39c936543781"` [INFO] running `"docker" "rm" "-f" "20ec27a5d96bee2236e59fd5ab125161e9aba353575ae518240b39c936543781"` [INFO] [stdout] 20ec27a5d96bee2236e59fd5ab125161e9aba353575ae518240b39c936543781