[INFO] fetching crate tide-etag 0.1.0... [INFO] testing tide-etag-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate tide-etag 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tide-etag 0.1.0 [INFO] finished tweaking crates.io crate tide-etag 0.1.0 [INFO] tweaked toml for crates.io crate tide-etag 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tide-etag 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--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] Locking 187 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sval_serde v2.18.0 [INFO] [stderr] Downloaded sval_ref v2.18.0 [INFO] [stderr] Downloaded sval_json v2.18.0 [INFO] [stderr] Downloaded sval_buffer v2.18.0 [INFO] [stderr] Downloaded route-recognizer v0.2.0 [INFO] [stderr] Downloaded serde_fmt v1.1.0 [INFO] [stderr] Downloaded async-sse v4.1.0 [INFO] [stderr] Downloaded lz_fnv v0.1.2 [INFO] [stderr] Downloaded sval v2.18.0 [INFO] [stderr] Downloaded sval_nested v2.18.0 [INFO] [stderr] Downloaded value-bag-sval2 v1.12.0 [INFO] [stderr] Downloaded tide v0.16.0 [INFO] [stderr] Downloaded value-bag-serde1 v1.12.0 [INFO] [stderr] Downloaded sval_dynamic v2.18.0 [INFO] [stderr] Downloaded sval_fmt v2.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e053556521f323d06243e1176d473f9ed8711820b896e671b424aca64e212245 [INFO] running `Command { std: "docker" "start" "-a" "e053556521f323d06243e1176d473f9ed8711820b896e671b424aca64e212245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e053556521f323d06243e1176d473f9ed8711820b896e671b424aca64e212245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e053556521f323d06243e1176d473f9ed8711820b896e671b424aca64e212245", kill_on_drop: false }` [INFO] [stdout] e053556521f323d06243e1176d473f9ed8711820b896e671b424aca64e212245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 152b727686b48ca0458b9028243520daff712363057c167bbba7c766e2432cae [INFO] running `Command { std: "docker" "start" "-a" "152b727686b48ca0458b9028243520daff712363057c167bbba7c766e2432cae", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.12 [INFO] [stderr] Compiling piper v0.2.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling value-bag v1.12.0 [INFO] [stderr] Compiling async-executor v1.14.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling lz_fnv v0.1.2 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling async-signal v0.2.14 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling tide-etag v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.88s [INFO] running `Command { std: "docker" "inspect" "152b727686b48ca0458b9028243520daff712363057c167bbba7c766e2432cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "152b727686b48ca0458b9028243520daff712363057c167bbba7c766e2432cae", kill_on_drop: false }` [INFO] [stdout] 152b727686b48ca0458b9028243520daff712363057c167bbba7c766e2432cae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e14139bc696daca4925ea5f0923c25d6a41e4d0af7b50fde21d2179b4a345b20 [INFO] running `Command { std: "docker" "start" "-a" "e14139bc696daca4925ea5f0923c25d6a41e4d0af7b50fde21d2179b4a345b20", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling tide-etag v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.27s [INFO] running `Command { std: "docker" "inspect" "e14139bc696daca4925ea5f0923c25d6a41e4d0af7b50fde21d2179b4a345b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14139bc696daca4925ea5f0923c25d6a41e4d0af7b50fde21d2179b4a345b20", kill_on_drop: false }` [INFO] [stdout] e14139bc696daca4925ea5f0923c25d6a41e4d0af7b50fde21d2179b4a345b20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ed9bfd610081345298f5dd768aa3493de476e588eca14685ed7aa678c35e4998 [INFO] running `Command { std: "docker" "start" "-a" "ed9bfd610081345298f5dd768aa3493de476e588eca14685ed7aa678c35e4998", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tide_etag-9deeace5f2ea78f0) [INFO] [stdout] [INFO] [stderr] Running tests/existing_etag.rs (/opt/rustwide/target/debug/deps/existing_etag-b5a9ac87a482f6d1) [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 1 test [INFO] [stdout] test existing_etag ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/no_etag.rs (/opt/rustwide/target/debug/deps/no_etag-efe816377a159a3d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test no_etag ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tide_etag [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - EtagMiddleware::default (line 11) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - EtagMiddleware::default (line 11) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 12 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_11_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 21 | app.listen("127.0.0.1:8080").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&str: ToListener<()>` is not satisfied [INFO] [stdout] --> src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | app.listen("127.0.0.1:8080").await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ the trait `ToListener<()>` is not implemented for `&str` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Server::::listen` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tide-0.16.0/src/server.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | pub async fn listen>(self, listener: L) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Server::::listen` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, 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 - EtagMiddleware::default (line 11) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ed9bfd610081345298f5dd768aa3493de476e588eca14685ed7aa678c35e4998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed9bfd610081345298f5dd768aa3493de476e588eca14685ed7aa678c35e4998", kill_on_drop: false }` [INFO] [stdout] ed9bfd610081345298f5dd768aa3493de476e588eca14685ed7aa678c35e4998