[INFO] fetching crate tide-http-auth 0.1.0... [INFO] testing tide-http-auth-0.1.0 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate tide-http-auth 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate tide-http-auth 0.1.0 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tide-http-auth 0.1.0 [INFO] finished tweaking crates.io crate tide-http-auth 0.1.0 [INFO] tweaked toml for crates.io crate tide-http-auth 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate tide-http-auth 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fc8b570bdd43a678611a8d7a31c4e3696420e38fcd87d7e1af77aa7803e77479 [INFO] running `"docker" "start" "-a" "fc8b570bdd43a678611a8d7a31c4e3696420e38fcd87d7e1af77aa7803e77479"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling syn v1.0.25 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling data-encoding v2.2.1 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling omnom v2.1.2 [INFO] [stderr] Compiling infer v0.1.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling byte-pool v0.2.1 [INFO] [stderr] Compiling kv-log-macro v1.0.6 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.31 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling tracing v0.1.14 [INFO] [stderr] Compiling cookie v0.13.3 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling piper v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling smol v0.1.10 [INFO] [stderr] Compiling async-std v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling femme v2.1.0 [INFO] [stderr] Compiling serde_qs v0.5.2 [INFO] [stderr] Compiling http-types v1.3.1 [INFO] [stderr] Compiling http-types v2.0.1 [INFO] [stderr] Compiling async-sse v2.1.0 [INFO] [stderr] Compiling async-h1 v2.0.0 [INFO] [stderr] Compiling tide v0.9.0 [INFO] [stderr] Compiling tide-http-auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `"docker" "inspect" "fc8b570bdd43a678611a8d7a31c4e3696420e38fcd87d7e1af77aa7803e77479"` [INFO] running `"docker" "rm" "-f" "fc8b570bdd43a678611a8d7a31c4e3696420e38fcd87d7e1af77aa7803e77479"` [INFO] [stdout] fc8b570bdd43a678611a8d7a31c4e3696420e38fcd87d7e1af77aa7803e77479 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stdout] 73938d8c5a7da7fbc7e447146999dcd61e861e1b46c3079c8aa26978d7c2a0ad [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "73938d8c5a7da7fbc7e447146999dcd61e861e1b46c3079c8aa26978d7c2a0ad"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling tide-http-auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.54s [INFO] running `"docker" "inspect" "73938d8c5a7da7fbc7e447146999dcd61e861e1b46c3079c8aa26978d7c2a0ad"` [INFO] running `"docker" "rm" "-f" "73938d8c5a7da7fbc7e447146999dcd61e861e1b46c3079c8aa26978d7c2a0ad"` [INFO] [stdout] 73938d8c5a7da7fbc7e447146999dcd61e861e1b46c3079c8aa26978d7c2a0ad [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7956c313f57623b75cb05162fc9f54ad4184ac31e739225d5c8adc394f91df6 [INFO] running `"docker" "start" "-a" "f7956c313f57623b75cb05162fc9f54ad4184ac31e739225d5c8adc394f91df6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/tide_http_auth-d70ae2eeb157020b [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 [INFO] [stdout] [INFO] [stderr] Doc-tests tide-http-auth [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - Authentication::new (line 40) ... FAILED [INFO] [stdout] test src/lib.rs - storage::Storage (line 6) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Authentication::new (line 40) stdout ---- [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> Result<(), std::io::Error> { block_on(async { [INFO] [stdout] | - - unclosed delimiter [INFO] [stdout] | | [INFO] [stdout] | unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 7 | Ok(()) } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> src/lib.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> Result<(), std::io::Error> { block_on(async { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::task::block_on; [INFO] [stdout] | [INFO] [stdout] 3 | use futures::executor::block_on; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - storage::Storage (line 6) stdout ---- [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `MyUserType` [INFO] [stdout] --> src/lib.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 8 | / struct MyUserType { [INFO] [stdout] 9 | | username: String [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- `MyUserType` defined here [INFO] [stdout] ... [INFO] [stdout] 19 | Ok(Some(MyUserType("Basil".to_string()))) [INFO] [stdout] | ^^^^^^^^^^ did you mean `MyUserType { /* fields */ }`? [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get_user` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn get_user(&self, request: BasicAuthRequest) -> tide::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found struct `main::{{closure}}#0::MyUserType` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&'life0 main::{{closure}}#0::MyState, tide_http_auth::BasicAuthRequest) -> std::pin::Pin, http_types::error::Error>> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] found fn pointer `fn(&'life0 main::{{closure}}#0::MyState, tide_http_auth::BasicAuthRequest) -> std::pin::Pin> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(Some(MyUserType("Basil".to_string()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `main::{{closure}}#0::MyUserType`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `main::{{closure}}#0::MyUserType` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(None) // Nothing went wrong, but these credentials are invalid. [INFO] [stdout] | ^^^^ expected struct `main::{{closure}}#0::MyUserType`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `main::{{closure}}#0::MyUserType` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0423. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Authentication::new (line 40) [INFO] [stdout] src/lib.rs - storage::Storage (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "f7956c313f57623b75cb05162fc9f54ad4184ac31e739225d5c8adc394f91df6"` [INFO] running `"docker" "rm" "-f" "f7956c313f57623b75cb05162fc9f54ad4184ac31e739225d5c8adc394f91df6"` [INFO] [stdout] f7956c313f57623b75cb05162fc9f54ad4184ac31e739225d5c8adc394f91df6