[INFO] fetching crate clia-ntex-cors 0.2.0... [INFO] testing clia-ntex-cors-0.2.0 against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] extracting crate clia-ntex-cors 0.2.0 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate clia-ntex-cors 0.2.0 on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate clia-ntex-cors 0.2.0 [INFO] finished tweaking crates.io crate clia-ntex-cors 0.2.0 [INFO] tweaked toml for crates.io crate clia-ntex-cors 0.2.0 written to /workspace/builds/worker-26/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3586d4536e7251307b99bfd829941bf14a0d5a88a206163ac42e4cffbcc107ed [INFO] running `Command { std: "docker" "start" "-a" "3586d4536e7251307b99bfd829941bf14a0d5a88a206163ac42e4cffbcc107ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3586d4536e7251307b99bfd829941bf14a0d5a88a206163ac42e4cffbcc107ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3586d4536e7251307b99bfd829941bf14a0d5a88a206163ac42e4cffbcc107ed", kill_on_drop: false }` [INFO] [stdout] 3586d4536e7251307b99bfd829941bf14a0d5a88a206163ac42e4cffbcc107ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40b906ccb3c77cd569a0a9c89eb223c222961e2ded7d319a8e2dd03b22018c94 [INFO] running `Command { std: "docker" "start" "-a" "40b906ccb3c77cd569a0a9c89eb223c222961e2ded7d319a8e2dd03b22018c94", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling nanorand v0.6.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling futures-micro v0.5.0 [INFO] [stderr] Compiling ntex-service v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling async-oneshot v0.5.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling ntex-rt v0.4.4 [INFO] [stderr] Compiling ntex-util v0.1.16 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling ntex-bytes v0.1.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ntex-codec v0.6.2 [INFO] [stderr] Compiling ntex-router v0.5.1 [INFO] [stderr] Compiling ntex-io v0.1.8 [INFO] [stderr] Compiling ntex-tls v0.1.5 [INFO] [stderr] Compiling ntex-tokio v0.1.3 [INFO] [stderr] Compiling ntex v0.5.16 [INFO] [stderr] Compiling clia-ntex-cors v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.68s [INFO] running `Command { std: "docker" "inspect" "40b906ccb3c77cd569a0a9c89eb223c222961e2ded7d319a8e2dd03b22018c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40b906ccb3c77cd569a0a9c89eb223c222961e2ded7d319a8e2dd03b22018c94", kill_on_drop: false }` [INFO] [stdout] 40b906ccb3c77cd569a0a9c89eb223c222961e2ded7d319a8e2dd03b22018c94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cf4d221d09c131fbc3710be357049a033d3064dca3349913d9f8858b4b3ba0c [INFO] running `Command { std: "docker" "start" "-a" "4cf4d221d09c131fbc3710be357049a033d3064dca3349913d9f8858b4b3ba0c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling clia-ntex-cors v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.45s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/clia_ntex_cors-4d1e1989a8a9fbc6) [INFO] running `Command { std: "docker" "inspect" "4cf4d221d09c131fbc3710be357049a033d3064dca3349913d9f8858b4b3ba0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cf4d221d09c131fbc3710be357049a033d3064dca3349913d9f8858b4b3ba0c", kill_on_drop: false }` [INFO] [stdout] 4cf4d221d09c131fbc3710be357049a033d3064dca3349913d9f8858b4b3ba0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 53a9efb09e379f85232979c0598bf07be276d8c6a6539ed947f99b69db6002c8 [INFO] running `Command { std: "docker" "start" "-a" "53a9efb09e379f85232979c0598bf07be276d8c6a6539ed947f99b69db6002c8", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clia_ntex_cors-4d1e1989a8a9fbc6) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::test_multiple_origins_preflight ... ok [INFO] [stdout] test tests::test_response ... ok [INFO] [stdout] test tests::test_no_origin_response ... ok [INFO] [stdout] test tests::test_multiple_origins ... ok [INFO] [stdout] test tests::validate_origin_allows_all_origins ... ok [INFO] [stdout] test tests::default ... ok [INFO] [stdout] test tests::test_validate_origin ... ok [INFO] [stdout] test tests::test_preflight ... ok [INFO] [stdout] test tests::cors_validates_illegal_allow_credentials - should panic ... ok [INFO] [stdout] test tests::test_validate_not_allowed_origin - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] Doc-tests clia_ntex_cors [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - Cors (line 157) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Cors (line 157) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ntex_cors` [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ntex_cors::Cors; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ntex_cors` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ntex_cors` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ntex_cors::Cors; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ntex_cors` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - Cors (line 157) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "53a9efb09e379f85232979c0598bf07be276d8c6a6539ed947f99b69db6002c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53a9efb09e379f85232979c0598bf07be276d8c6a6539ed947f99b69db6002c8", kill_on_drop: false }` [INFO] [stdout] 53a9efb09e379f85232979c0598bf07be276d8c6a6539ed947f99b69db6002c8