[INFO] fetching crate paperclip 0.3.0... [INFO] checking paperclip-0.3.0 against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] extracting crate paperclip 0.3.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate paperclip 0.3.0 on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate paperclip 0.3.0 [INFO] finished tweaking crates.io crate paperclip 0.3.0 [INFO] tweaked toml for crates.io crate paperclip 0.3.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paperclip-actix v0.1.0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+b61e69433951e31f7bd746e22f516a48ad41623b" "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] 11b4a032fb3f928c5042b9783d497c82a4f667b925bdf67b4058d7e11ccc191f [INFO] running `"docker" "start" "-a" "11b4a032fb3f928c5042b9783d497c82a4f667b925bdf67b4058d7e11ccc191f"` [INFO] [stderr] Compiling paperclip-macros v0.2.0 [INFO] [stderr] Checking trust-dns-proto v0.7.4 [INFO] [stderr] Checking actix-server v0.6.1 [INFO] [stderr] Checking actix-testing v0.1.0 [INFO] [stderr] Checking paperclip-core v0.1.0 [INFO] [stderr] Checking trust-dns-resolver v0.11.1 [INFO] [stderr] Checking actix-connect v0.2.5 [INFO] [stderr] Checking paperclip v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking actix-http v0.2.10 [INFO] [stderr] Checking awc v0.2.7 [INFO] [stderr] Checking actix-web v1.0.8 [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> tests/test_k8s.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | env_logger::builder() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `paperclip`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `paperclip::actix` [INFO] [stderr] --> tests/test_app.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | use paperclip::actix::{api_v2_operation, api_v2_schema, web, OpenApiExt}; [INFO] [stderr] | ^^^^^ could not find `actix` in `paperclip` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_schema` [INFO] [stderr] --> tests/test_app.rs:25:3 [INFO] [stderr] | [INFO] [stderr] 25 | #[api_v2_schema] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_schema` [INFO] [stderr] --> tests/test_app.rs:33:3 [INFO] [stderr] | [INFO] [stderr] 33 | #[api_v2_schema] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_schema` [INFO] [stderr] --> tests/test_app.rs:43:7 [INFO] [stderr] | [INFO] [stderr] 43 | #[api_v2_schema] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_operation` [INFO] [stderr] --> tests/test_app.rs:49:7 [INFO] [stderr] | [INFO] [stderr] 49 | #[api_v2_operation] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_operation` [INFO] [stderr] --> tests/test_app.rs:54:7 [INFO] [stderr] | [INFO] [stderr] 54 | #[api_v2_operation] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_schema` [INFO] [stderr] --> tests/test_app.rs:195:7 [INFO] [stderr] | [INFO] [stderr] 195 | #[api_v2_schema] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_schema` [INFO] [stderr] --> tests/test_app.rs:202:7 [INFO] [stderr] | [INFO] [stderr] 202 | #[api_v2_schema] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_schema` [INFO] [stderr] --> tests/test_app.rs:209:7 [INFO] [stderr] | [INFO] [stderr] 209 | #[api_v2_schema] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_operation` [INFO] [stderr] --> tests/test_app.rs:215:7 [INFO] [stderr] | [INFO] [stderr] 215 | #[api_v2_operation] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_operation` [INFO] [stderr] --> tests/test_app.rs:220:7 [INFO] [stderr] | [INFO] [stderr] 220 | #[api_v2_operation] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_operation` [INFO] [stderr] --> tests/test_app.rs:225:7 [INFO] [stderr] | [INFO] [stderr] 225 | #[api_v2_operation] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_operation` [INFO] [stderr] --> tests/test_app.rs:234:7 [INFO] [stderr] | [INFO] [stderr] 234 | #[api_v2_operation] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_schema` [INFO] [stderr] --> tests/test_app.rs:379:7 [INFO] [stderr] | [INFO] [stderr] 379 | #[api_v2_schema] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_operation` [INFO] [stderr] --> tests/test_app.rs:385:7 [INFO] [stderr] | [INFO] [stderr] 385 | #[api_v2_operation] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_schema` [INFO] [stderr] --> tests/test_app.rs:442:7 [INFO] [stderr] | [INFO] [stderr] 442 | #[api_v2_schema] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_schema` [INFO] [stderr] --> tests/test_app.rs:449:7 [INFO] [stderr] | [INFO] [stderr] 449 | #[api_v2_schema] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_operation` [INFO] [stderr] --> tests/test_app.rs:456:7 [INFO] [stderr] | [INFO] [stderr] 456 | #[api_v2_operation] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_operation` [INFO] [stderr] --> tests/test_app.rs:535:7 [INFO] [stderr] | [INFO] [stderr] 535 | #[api_v2_operation] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_schema` [INFO] [stderr] --> tests/test_app.rs:540:7 [INFO] [stderr] | [INFO] [stderr] 540 | #[api_v2_schema] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `api_v2_operation` [INFO] [stderr] --> tests/test_app.rs:546:7 [INFO] [stderr] | [INFO] [stderr] 546 | #[api_v2_operation] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `reqwest` [INFO] [stderr] --> tests/test_app.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | static ref CLIENT: reqwest::Client = reqwest::Client::new(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `reqwest` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `reqwest` [INFO] [stderr] --> tests/test_app.rs:21:42 [INFO] [stderr] | [INFO] [stderr] 21 | static ref CLIENT: reqwest::Client = reqwest::Client::new(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `reqwest` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `reqwest` [INFO] [stderr] --> tests/test_app.rs:668:26 [INFO] [stderr] | [INFO] [stderr] 668 | fn check_json(resp: &mut reqwest::Response, expected: serde_json::Value) { [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `reqwest` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wrap_api` found for type `actix_web::app::App` in the current scope [INFO] [stderr] --> tests/test_app.rs:67:18 [INFO] [stderr] | [INFO] [stderr] 67 | .wrap_api() [INFO] [stderr] | ^^^^^^^^ method not found in `actix_web::app::App` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get` found for type `CLIENT` in the current scope [INFO] [stderr] --> tests/test_app.rs:74:18 [INFO] [stderr] | [INFO] [stderr] 20 | / lazy_static! { [INFO] [stderr] 21 | | static ref CLIENT: reqwest::Client = reqwest::Client::new(); [INFO] [stderr] 22 | | static ref PORTS: Mutex> = Mutex::new(HashSet::new()); [INFO] [stderr] 23 | | } [INFO] [stderr] | |_- method `get` not found for this [INFO] [stderr] ... [INFO] [stderr] 74 | .get(&format!("http://{}/api/spec", addr)) [INFO] [stderr] | ^^^ method not found in `CLIENT` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `core::panic::BoxMeUp` [INFO] [stderr] candidate #2: `std::slice::SliceIndex` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wrap_api` found for type `actix_web::app::App` in the current scope [INFO] [stderr] --> tests/test_app.rs:242:18 [INFO] [stderr] | [INFO] [stderr] 242 | .wrap_api() [INFO] [stderr] | ^^^^^^^^ method not found in `actix_web::app::App` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get` found for type `CLIENT` in the current scope [INFO] [stderr] --> tests/test_app.rs:261:18 [INFO] [stderr] | [INFO] [stderr] 20 | / lazy_static! { [INFO] [stderr] 21 | | static ref CLIENT: reqwest::Client = reqwest::Client::new(); [INFO] [stderr] 22 | | static ref PORTS: Mutex> = Mutex::new(HashSet::new()); [INFO] [stderr] 23 | | } [INFO] [stderr] | |_- method `get` not found for this [INFO] [stderr] ... [INFO] [stderr] 261 | .get(&format!("http://{}/api/spec", addr)) [INFO] [stderr] | ^^^ method not found in `CLIENT` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `core::panic::BoxMeUp` [INFO] [stderr] candidate #2: `std::slice::SliceIndex` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wrap_api` found for type `actix_web::app::App` in the current scope [INFO] [stderr] --> tests/test_app.rs:393:18 [INFO] [stderr] | [INFO] [stderr] 393 | .wrap_api() [INFO] [stderr] | ^^^^^^^^ method not found in `actix_web::app::App` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get` found for type `CLIENT` in the current scope [INFO] [stderr] --> tests/test_app.rs:400:18 [INFO] [stderr] | [INFO] [stderr] 20 | / lazy_static! { [INFO] [stderr] 21 | | static ref CLIENT: reqwest::Client = reqwest::Client::new(); [INFO] [stderr] 22 | | static ref PORTS: Mutex> = Mutex::new(HashSet::new()); [INFO] [stderr] 23 | | } [INFO] [stderr] | |_- method `get` not found for this [INFO] [stderr] ... [INFO] [stderr] 400 | .get(&format!("http://{}/api/spec", addr)) [INFO] [stderr] | ^^^ method not found in `CLIENT` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `core::panic::BoxMeUp` [INFO] [stderr] candidate #2: `std::slice::SliceIndex` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wrap_api` found for type `actix_web::app::App` in the current scope [INFO] [stderr] --> tests/test_app.rs:464:18 [INFO] [stderr] | [INFO] [stderr] 464 | .wrap_api() [INFO] [stderr] | ^^^^^^^^ method not found in `actix_web::app::App` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get` found for type `CLIENT` in the current scope [INFO] [stderr] --> tests/test_app.rs:471:18 [INFO] [stderr] | [INFO] [stderr] 20 | / lazy_static! { [INFO] [stderr] 21 | | static ref CLIENT: reqwest::Client = reqwest::Client::new(); [INFO] [stderr] 22 | | static ref PORTS: Mutex> = Mutex::new(HashSet::new()); [INFO] [stderr] 23 | | } [INFO] [stderr] | |_- method `get` not found for this [INFO] [stderr] ... [INFO] [stderr] 471 | .get(&format!("http://{}/api/spec", addr)) [INFO] [stderr] | ^^^ method not found in `CLIENT` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `core::panic::BoxMeUp` [INFO] [stderr] candidate #2: `std::slice::SliceIndex` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wrap_api` found for type `actix_web::app::App` in the current scope [INFO] [stderr] --> tests/test_app.rs:554:18 [INFO] [stderr] | [INFO] [stderr] 554 | .wrap_api() [INFO] [stderr] | ^^^^^^^^ method not found in `actix_web::app::App` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get` found for type `CLIENT` in the current scope [INFO] [stderr] --> tests/test_app.rs:562:18 [INFO] [stderr] | [INFO] [stderr] 20 | / lazy_static! { [INFO] [stderr] 21 | | static ref CLIENT: reqwest::Client = reqwest::Client::new(); [INFO] [stderr] 22 | | static ref PORTS: Mutex> = Mutex::new(HashSet::new()); [INFO] [stderr] 23 | | } [INFO] [stderr] | |_- method `get` not found for this [INFO] [stderr] ... [INFO] [stderr] 562 | .get(&format!("http://{}/api/spec", addr)) [INFO] [stderr] | ^^^ method not found in `CLIENT` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `core::panic::BoxMeUp` [INFO] [stderr] candidate #2: `std::slice::SliceIndex` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 34 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `paperclip`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "11b4a032fb3f928c5042b9783d497c82a4f667b925bdf67b4058d7e11ccc191f"` [INFO] running `"docker" "rm" "-f" "11b4a032fb3f928c5042b9783d497c82a4f667b925bdf67b4058d7e11ccc191f"` [INFO] [stdout] 11b4a032fb3f928c5042b9783d497c82a4f667b925bdf67b4058d7e11ccc191f