[INFO] fetching crate tide-http-auth 0.1.0... [INFO] testing tide-http-auth-0.1.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate tide-http-auth 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate tide-http-auth 0.1.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-13/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 0d5cdbc244f54c700c1c1811427c9e72f7efd531d95b27cb40fac5c7afbaf354 [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" "0d5cdbc244f54c700c1c1811427c9e72f7efd531d95b27cb40fac5c7afbaf354"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.25 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling serde v1.0.110 [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 void v1.0.2 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [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-channel v0.4.2 [INFO] [stderr] Compiling byte-pool v0.2.1 [INFO] [stderr] Compiling kv-log-macro v1.0.6 [INFO] [stderr] Compiling crossbeam v0.7.3 [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 v2.0.1 [INFO] [stderr] Compiling http-types v1.3.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 11s [INFO] running `"docker" "inspect" "0d5cdbc244f54c700c1c1811427c9e72f7efd531d95b27cb40fac5c7afbaf354"` [INFO] running `"docker" "rm" "-f" "0d5cdbc244f54c700c1c1811427c9e72f7efd531d95b27cb40fac5c7afbaf354"` [INFO] [stdout] 0d5cdbc244f54c700c1c1811427c9e72f7efd531d95b27cb40fac5c7afbaf354 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 55763b16d0dcc94fed3dc439807b32a9d00a299c7ab1673bee382123ab2ee67c [INFO] running `"docker" "start" "-a" "55763b16d0dcc94fed3dc439807b32a9d00a299c7ab1673bee382123ab2ee67c"` [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.27s [INFO] running `"docker" "inspect" "55763b16d0dcc94fed3dc439807b32a9d00a299c7ab1673bee382123ab2ee67c"` [INFO] running `"docker" "rm" "-f" "55763b16d0dcc94fed3dc439807b32a9d00a299c7ab1673bee382123ab2ee67c"` [INFO] [stdout] 55763b16d0dcc94fed3dc439807b32a9d00a299c7ab1673bee382123ab2ee67c [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.44.0" "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] 8be990105f13bfc13b0666e56b998484eeffa275a22c69b58b892f797cb0b4a8 [INFO] running `"docker" "start" "-a" "8be990105f13bfc13b0666e56b998484eeffa275a22c69b58b892f797cb0b4a8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/tide_http_auth-3a3faf74d5f4b37b [INFO] [stderr] Doc-tests tide-http-auth [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] [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: possible candidates are found in other modules, you can import them into scope [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" "8be990105f13bfc13b0666e56b998484eeffa275a22c69b58b892f797cb0b4a8"` [INFO] running `"docker" "rm" "-f" "8be990105f13bfc13b0666e56b998484eeffa275a22c69b58b892f797cb0b4a8"` [INFO] [stdout] 8be990105f13bfc13b0666e56b998484eeffa275a22c69b58b892f797cb0b4a8