[INFO] fetching crate actix-hash 0.3.0... [INFO] testing actix-hash-0.3.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate actix-hash 0.3.0 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate actix-hash 0.3.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-hash 0.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate actix-hash 0.3.0 [INFO] tweaked toml for crates.io crate actix-hash 0.3.0 written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate crates.io crate actix-hash 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blake2 v0.10.4 [INFO] [stderr] Downloaded md4 v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d24bbd3ef464b290b122e2d52e422550414a40014c45c5f92a13ac575720bfc [INFO] running `Command { std: "docker" "start" "-a" "3d24bbd3ef464b290b122e2d52e422550414a40014c45c5f92a13ac575720bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d24bbd3ef464b290b122e2d52e422550414a40014c45c5f92a13ac575720bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d24bbd3ef464b290b122e2d52e422550414a40014c45c5f92a13ac575720bfc", kill_on_drop: false }` [INFO] [stdout] 3d24bbd3ef464b290b122e2d52e422550414a40014c45c5f92a13ac575720bfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c79755fd70bfefffae9fa63521939684404e31de0480a378981d98d19175dc4 [INFO] running `Command { std: "docker" "start" "-a" "0c79755fd70bfefffae9fa63521939684404e31de0480a378981d98d19175dc4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling md4 v0.10.1 [INFO] [stderr] Compiling blake2 v0.10.4 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha3 v0.10.1 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling actix-hash v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "0c79755fd70bfefffae9fa63521939684404e31de0480a378981d98d19175dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c79755fd70bfefffae9fa63521939684404e31de0480a378981d98d19175dc4", kill_on_drop: false }` [INFO] [stdout] 0c79755fd70bfefffae9fa63521939684404e31de0480a378981d98d19175dc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aab4f6c037ca0d030b89b73e344442db2d5424190ed84d6f106f4df1a7b9b344 [INFO] running `Command { std: "docker" "start" "-a" "aab4f6c037ca0d030b89b73e344442db2d5424190ed84d6f106f4df1a7b9b344", kill_on_drop: false }` [INFO] [stderr] Compiling actix-hash v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web_lab` [INFO] [stdout] --> tests/body_hash.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web_lab::extract::Json; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `actix_web_lab` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web::extract::Json; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/body_sha2.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hex_literal` [INFO] [stdout] --> tests/body_hash.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `hex_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/body_hash.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/body_hash.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/body_hash.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/body_hash.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> tests/body_hash.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | hex!("e3b0c442 98fc1c14 9afbf4c8 996fb924 27ae41e4 649b934c a495991b 7852b855").as_ref() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> tests/body_hash.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | hex!("ba7816bf 8f01cfea 414140de 5dae2223 b00361a3 96177a9c b410ff61 f20015ad").as_ref() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> tests/body_hash.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | hex!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> tests/body_hash.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | hex!("ba7816bf 8f01cfea 414140de 5dae2223 b00361a3 96177a9c b410ff61 f20015ad").as_ref() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> tests/body_hash.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | hex!("03ac6742 16f3e15c 761ee1a5 e255f067 953623c8 b388b445 9e13f978 d7c846f4").as_ref() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> tests/body_hash.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | hex!("03ac6742 16f3e15c 761ee1a5 e255f067 953623c8 b388b445 9e13f978 d7c846f4").as_ref() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> tests/body_hash.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | hex!("e3b0c442 98fc1c14 9afbf4c8 996fb924 27ae41e4 649b934c a495991b 7852b855").as_ref() [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 `env_logger` [INFO] [stdout] --> examples/body_sha2.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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/body_sha2.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | 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[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> tests/body_hash.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | web::get().to(|body: BodyHash, Sha256>| async move { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::web::Json; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::web::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> tests/body_hash.rs:110:49 [INFO] [stdout] | [INFO] [stdout] 110 | |null: BodyHash<(), Sha256>, _body: Json| async move { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::web::Json; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::web::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> tests/body_hash.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | |_body: Json, null: BodyHash<(), Sha256>| async move { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::web::Json; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::web::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/body_sha2.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/body_hash.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | let req = test::TestRequest::default().set_json(1234).to_request(); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::ser::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::ser::Serialize for i128; [INFO] [stdout] - impl serde::ser::Serialize for i16; [INFO] [stdout] - impl serde::ser::Serialize for i32; [INFO] [stdout] - impl serde::ser::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_request.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn set_json(mut self, data: impl Serialize) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/body_hash.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | let req = test::TestRequest::default().set_json(12345).to_request(); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::ser::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::ser::Serialize for i128; [INFO] [stdout] - impl serde::ser::Serialize for i16; [INFO] [stdout] - impl serde::ser::Serialize for i32; [INFO] [stdout] - impl serde::ser::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_request.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn set_json(mut self, data: impl Serialize) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-hash` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/body_hash.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | let req = test::TestRequest::default().set_json(1234).to_request(); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::ser::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::ser::Serialize for i128; [INFO] [stdout] - impl serde::ser::Serialize for i16; [INFO] [stdout] - impl serde::ser::Serialize for i32; [INFO] [stdout] - impl serde::ser::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_request.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn set_json(mut self, data: impl Serialize) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/body_hash.rs:140:44 [INFO] [stdout] | [INFO] [stdout] 140 | let req = test::TestRequest::default().set_json(1234).to_request(); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::ser::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::ser::Serialize for i128; [INFO] [stdout] - impl serde::ser::Serialize for i16; [INFO] [stdout] - impl serde::ser::Serialize for i32; [INFO] [stdout] - impl serde::ser::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_request.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn set_json(mut self, data: impl Serialize) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "aab4f6c037ca0d030b89b73e344442db2d5424190ed84d6f106f4df1a7b9b344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab4f6c037ca0d030b89b73e344442db2d5424190ed84d6f106f4df1a7b9b344", kill_on_drop: false }` [INFO] [stdout] aab4f6c037ca0d030b89b73e344442db2d5424190ed84d6f106f4df1a7b9b344