[INFO] fetching crate actix-middleware-ed25519-authentication 0.3.0... [INFO] testing actix-middleware-ed25519-authentication-0.3.0 against try#6c5b2f071bf9fe3a4b05942f31d42d076171aa61 for pr-115315 [INFO] extracting crate actix-middleware-ed25519-authentication 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate actix-middleware-ed25519-authentication 0.3.0 on toolchain 6c5b2f071bf9fe3a4b05942f31d42d076171aa61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-middleware-ed25519-authentication 0.3.0 [INFO] finished tweaking crates.io crate actix-middleware-ed25519-authentication 0.3.0 [INFO] tweaked toml for crates.io crate actix-middleware-ed25519-authentication 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c4617c027496165a29dbf82da64b2979e8136526758bccaad8f1c4fdc43c79a [INFO] running `Command { std: "docker" "start" "-a" "7c4617c027496165a29dbf82da64b2979e8136526758bccaad8f1c4fdc43c79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c4617c027496165a29dbf82da64b2979e8136526758bccaad8f1c4fdc43c79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c4617c027496165a29dbf82da64b2979e8136526758bccaad8f1c4fdc43c79a", kill_on_drop: false }` [INFO] [stdout] 7c4617c027496165a29dbf82da64b2979e8136526758bccaad8f1c4fdc43c79a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 068f88823279553837d92874353124551e6a848b0c0c572c4c5e1a38c3805ab6 [INFO] running `Command { std: "docker" "start" "-a" "068f88823279553837d92874353124551e6a848b0c0c572c4c5e1a38c3805ab6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling memchr v2.6.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling time-macros v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling base64 v0.21.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling actix-codec v0.5.1 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling actix-http v3.3.1 [INFO] [stderr] Compiling actix-web v4.3.1 [INFO] [stderr] Compiling actix-middleware-ed25519-authentication v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.13s [INFO] running `Command { std: "docker" "inspect" "068f88823279553837d92874353124551e6a848b0c0c572c4c5e1a38c3805ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "068f88823279553837d92874353124551e6a848b0c0c572c4c5e1a38c3805ab6", kill_on_drop: false }` [INFO] [stdout] 068f88823279553837d92874353124551e6a848b0c0c572c4c5e1a38c3805ab6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44e99e15abb5e336fc5b8223e2ce1b3d0f4092af35350e4a8779461a094c3fc0 [INFO] running `Command { std: "docker" "start" "-a" "44e99e15abb5e336fc5b8223e2ce1b3d0f4092af35350e4a8779461a094c3fc0", kill_on_drop: false }` [INFO] [stderr] Compiling actix-middleware-ed25519-authentication v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "44e99e15abb5e336fc5b8223e2ce1b3d0f4092af35350e4a8779461a094c3fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e99e15abb5e336fc5b8223e2ce1b3d0f4092af35350e4a8779461a094c3fc0", kill_on_drop: false }` [INFO] [stdout] 44e99e15abb5e336fc5b8223e2ce1b3d0f4092af35350e4a8779461a094c3fc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e3eb1f6d57f9d63a5e878e93da092f0e02fa7c46c4c3c31fea7db6f9bb090c9 [INFO] running `Command { std: "docker" "start" "-a" "6e3eb1f6d57f9d63a5e878e93da092f0e02fa7c46c4c3c31fea7db6f9bb090c9", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_middleware_ed25519_authentication-303ad67a3f74bc3e) [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] [stderr] Doc-tests actix-middleware-ed25519-authentication [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `public_key` in this scope [INFO] [stdout] --> src/lib.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 12 | .public_key(&public_key) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 22 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 20 | .bind(("127.0.0.1", 3000))? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 8 | / HttpServer::new(move || { [INFO] [stdout] 9 | | App::new() [INFO] [stdout] 10 | | .wrap( [INFO] [stdout] 11 | | AuthenticatorBuilder::new() [INFO] [stdout] ... | [INFO] [stdout] 21 | | .run() [INFO] [stdout] 22 | | .await [INFO] [stdout] | |______^ expected `()`, found `Result<(), Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), std::io::Error>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6e3eb1f6d57f9d63a5e878e93da092f0e02fa7c46c4c3c31fea7db6f9bb090c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e3eb1f6d57f9d63a5e878e93da092f0e02fa7c46c4c3c31fea7db6f9bb090c9", kill_on_drop: false }` [INFO] [stdout] 6e3eb1f6d57f9d63a5e878e93da092f0e02fa7c46c4c3c31fea7db6f9bb090c9