[INFO] fetching crate gotham-middleware-basicauth 0.3.0... [INFO] testing gotham-middleware-basicauth-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate gotham-middleware-basicauth 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate gotham-middleware-basicauth 0.3.0 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate gotham-middleware-basicauth 0.3.0 [INFO] tweaked toml for crates.io crate gotham-middleware-basicauth 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gotham-middleware-basicauth 0.3.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gotham-middleware-basicauth 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.75 [INFO] [stderr] Downloaded borrow-bag v1.1.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.75 [INFO] [stderr] Downloaded js-sys v0.3.52 [INFO] [stderr] Downloaded anyhow v1.0.42 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.75 [INFO] [stderr] Downloaded gotham_derive v0.6.0 [INFO] [stderr] Downloaded gotham v0.6.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.75 [INFO] [stderr] Downloaded hyper v0.14.11 [INFO] [stderr] Downloaded tokio v1.9.0 [INFO] [stderr] Downloaded web-sys v0.3.52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3047eea7f1d560b6d8522ca2e621241dc6fcf40432cda687cb56e5cb32523307 [INFO] running `Command { std: "docker" "start" "-a" "3047eea7f1d560b6d8522ca2e621241dc6fcf40432cda687cb56e5cb32523307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3047eea7f1d560b6d8522ca2e621241dc6fcf40432cda687cb56e5cb32523307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3047eea7f1d560b6d8522ca2e621241dc6fcf40432cda687cb56e5cb32523307", kill_on_drop: false }` [INFO] [stdout] 3047eea7f1d560b6d8522ca2e621241dc6fcf40432cda687cb56e5cb32523307 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98523b7896bbab1a9522c52d5d18c6f22f6d05e0425da9f1e709639246a78aa4 [INFO] running `Command { std: "docker" "start" "-a" "98523b7896bbab1a9522c52d5d18c6f22f6d05e0425da9f1e709639246a78aa4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling borrow-bag v1.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling gotham_derive v0.6.0 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling gotham v0.6.0 [INFO] [stderr] Compiling gotham-middleware-basicauth v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.85s [INFO] running `Command { std: "docker" "inspect" "98523b7896bbab1a9522c52d5d18c6f22f6d05e0425da9f1e709639246a78aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98523b7896bbab1a9522c52d5d18c6f22f6d05e0425da9f1e709639246a78aa4", kill_on_drop: false }` [INFO] [stdout] 98523b7896bbab1a9522c52d5d18c6f22f6d05e0425da9f1e709639246a78aa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94b88e3acb706d9ac70b74d8f7a176f034ba503d2f0b1ed3bd428b012d677e98 [INFO] running `Command { std: "docker" "start" "-a" "94b88e3acb706d9ac70b74d8f7a176f034ba503d2f0b1ed3bd428b012d677e98", kill_on_drop: false }` [INFO] [stderr] Compiling gotham-middleware-basicauth v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.73s [INFO] running `Command { std: "docker" "inspect" "94b88e3acb706d9ac70b74d8f7a176f034ba503d2f0b1ed3bd428b012d677e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b88e3acb706d9ac70b74d8f7a176f034ba503d2f0b1ed3bd428b012d677e98", kill_on_drop: false }` [INFO] [stdout] 94b88e3acb706d9ac70b74d8f7a176f034ba503d2f0b1ed3bd428b012d677e98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 85faf03e87665e02e55bb801d4e8e2bc6831b159ce4c2091d6b91200466a5c2e [INFO] running `Command { std: "docker" "start" "-a" "85faf03e87665e02e55bb801d4e8e2bc6831b159ce4c2091d6b91200466a5c2e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gotham_middleware_basicauth-c5d191d1ef9867b1) [INFO] [stderr] Running tests/test_auth.rs (/opt/rustwide/target/debug/deps/test_auth-df110eaf72425a9c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test fail_with_invalid_username_password ... ok [INFO] [stdout] test success_with_correct_username_password ... ok [INFO] [stderr] Running tests/test_scope.rs (/opt/rustwide/target/debug/deps/test_scope-3904483891f3ee5b) [INFO] [stdout] test get_401_without_login ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test scoped_subpath_unauthorize ... ok [INFO] [stdout] test unscoped_index ... ok [INFO] [stdout] test scoped_page_unauthorize ... ok [INFO] [stdout] test unscoped_subpath ... ok [INFO] [stdout] test scoped_page_authorize ... ok [INFO] [stderr] Doc-tests gotham_middleware_basicauth [INFO] [stdout] test scoped_subpath_authorize ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "85faf03e87665e02e55bb801d4e8e2bc6831b159ce4c2091d6b91200466a5c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85faf03e87665e02e55bb801d4e8e2bc6831b159ce4c2091d6b91200466a5c2e", kill_on_drop: false }` [INFO] [stdout] 85faf03e87665e02e55bb801d4e8e2bc6831b159ce4c2091d6b91200466a5c2e