[INFO] fetching crate actix-http 3.0.0-beta.12... [INFO] testing actix-http-3.0.0-beta.12 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate actix-http 3.0.0-beta.12 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate actix-http 3.0.0-beta.12 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-http 3.0.0-beta.12 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate actix-http 3.0.0-beta.12 [INFO] tweaked toml for crates.io crate actix-http 3.0.0-beta.12 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate actix-http 3.0.0-beta.12 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bd73cf93110d9c8a46d03452c35b498bc880841ffa1a81bfde99fbfd3635b740 [INFO] running `Command { std: "docker" "start" "-a" "bd73cf93110d9c8a46d03452c35b498bc880841ffa1a81bfde99fbfd3635b740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd73cf93110d9c8a46d03452c35b498bc880841ffa1a81bfde99fbfd3635b740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd73cf93110d9c8a46d03452c35b498bc880841ffa1a81bfde99fbfd3635b740", kill_on_drop: false }` [INFO] [stdout] bd73cf93110d9c8a46d03452c35b498bc880841ffa1a81bfde99fbfd3635b740 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c7047783601251af4db50c7435cd228823b042f4e759e3bd4bdc88e43b02a9f [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" "1c7047783601251af4db50c7435cd228823b042f4e759e3bd4bdc88e43b02a9f", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling actix-service v2.0.1 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling actix-codec v0.4.1 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-rt v2.4.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling actix-http v3.0.0-beta.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.29s [INFO] running `Command { std: "docker" "inspect" "1c7047783601251af4db50c7435cd228823b042f4e759e3bd4bdc88e43b02a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c7047783601251af4db50c7435cd228823b042f4e759e3bd4bdc88e43b02a9f", kill_on_drop: false }` [INFO] [stdout] 1c7047783601251af4db50c7435cd228823b042f4e759e3bd4bdc88e43b02a9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1e0f93420ebbc47b02f96111f0df46de096d8305d70e101fdbaddcb4014d589d [INFO] running `Command { std: "docker" "start" "-a" "1e0f93420ebbc47b02f96111f0df46de096d8305d70e101fdbaddcb4014d589d", kill_on_drop: false }` [INFO] [stderr] Compiling actix-http v3.0.0-beta.12 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `actix_http_test` [INFO] [stdout] --> tests/test_ws.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use actix_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | use actix_http::test_server; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/streaming-error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_server::Server; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 12 | use actix_service::Server; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/hello-world.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_server::Server; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use actix_service::Server; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_stream` [INFO] [stdout] --> examples/streaming-error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use async_stream::stream; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `async_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `stream` [INFO] [stdout] --> examples/streaming-error.rs:27:70 [INFO] [stdout] | [INFO] [stdout] 27 | Ok::<_, Infallible>(res.set_body(BodyStream::new(stream! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/echo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_server::Server; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use actix_service::Server; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http_test` [INFO] [stdout] --> tests/test_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use actix_http::test_server; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/echo2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_server::Server; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use actix_service::Server; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/hello-world.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/hello-world.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/echo.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/streaming-error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/echo.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> tests/test_h2_ping_pong.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_server::Server; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use actix_service::Server; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/streaming-error.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> examples/streaming-error.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{convert::Infallible, io, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> examples/streaming-error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/echo2.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/echo2.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/test_h2_ping_pong.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | tokio::spawn(async move { conn.await.unwrap() }); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/test_h2_ping_pong.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^^^ not found in `tokio::runtime` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use actix_http::uri::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use h2::client::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use h2::server::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use http::request::Builder; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/test_h2_ping_pong.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | let stream = tokio::net::TcpStream::connect(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in `tokio::net` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use actix_rt::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` due to 4 previous errors [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> tests/test_ws.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | use futures_util::{SinkExt as _, StreamExt as _}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http_test` [INFO] [stdout] --> tests/test_server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 13 | use actix_http::test_server; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> tests/test_server.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/body/mod.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/body/mod.rs:230:44 [INFO] [stdout] | [INFO] [stdout] 230 | Body::from(serde_json::to_vec(&json!({"test-key":"test-value"})).unwrap()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/body/mod.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | Body::from(serde_json::to_vec(&Value::String("test".to_owned())).unwrap()) [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] --> src/body/mod.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | Body::from(serde_json::to_vec(&json!({"test-key":"test-value"})).unwrap()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1e0f93420ebbc47b02f96111f0df46de096d8305d70e101fdbaddcb4014d589d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0f93420ebbc47b02f96111f0df46de096d8305d70e101fdbaddcb4014d589d", kill_on_drop: false }` [INFO] [stdout] 1e0f93420ebbc47b02f96111f0df46de096d8305d70e101fdbaddcb4014d589d