[INFO] fetching crate upstash-qstash 0.3.0... [INFO] testing upstash-qstash-0.3.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate upstash-qstash 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate upstash-qstash 0.3.0 [INFO] finished tweaking crates.io crate upstash-qstash 0.3.0 [INFO] tweaked toml for crates.io crate upstash-qstash 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate upstash-qstash 0.3.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 166 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e27d0620a6f67ad2eb7a7da0008f3c665735e9fae6fe7c629f44cdb184fdc91f [INFO] running `Command { std: "docker" "start" "-a" "e27d0620a6f67ad2eb7a7da0008f3c665735e9fae6fe7c629f44cdb184fdc91f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e27d0620a6f67ad2eb7a7da0008f3c665735e9fae6fe7c629f44cdb184fdc91f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e27d0620a6f67ad2eb7a7da0008f3c665735e9fae6fe7c629f44cdb184fdc91f", kill_on_drop: false }` [INFO] [stdout] e27d0620a6f67ad2eb7a7da0008f3c665735e9fae6fe7c629f44cdb184fdc91f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7dc81f0aed9219a301458072609f830d7bca1a4adc659959ee13bdc79555f825 [INFO] running `Command { std: "docker" "start" "-a" "7dc81f0aed9219a301458072609f830d7bca1a4adc659959ee13bdc79555f825", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling upstash-qstash v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.42s [INFO] running `Command { std: "docker" "inspect" "7dc81f0aed9219a301458072609f830d7bca1a4adc659959ee13bdc79555f825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dc81f0aed9219a301458072609f830d7bca1a4adc659959ee13bdc79555f825", kill_on_drop: false }` [INFO] [stdout] 7dc81f0aed9219a301458072609f830d7bca1a4adc659959ee13bdc79555f825 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] de764c7c9f100c5ac34dae777ea7998f974b5a44a16554d19c598d1f4acc8428 [INFO] running `Command { std: "docker" "start" "-a" "de764c7c9f100c5ac34dae777ea7998f974b5a44a16554d19c598d1f4acc8428", kill_on_drop: false }` [INFO] [stderr] Compiling upstash-qstash v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "de764c7c9f100c5ac34dae777ea7998f974b5a44a16554d19c598d1f4acc8428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de764c7c9f100c5ac34dae777ea7998f974b5a44a16554d19c598d1f4acc8428", kill_on_drop: false }` [INFO] [stdout] de764c7c9f100c5ac34dae777ea7998f974b5a44a16554d19c598d1f4acc8428 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7266725a3755ad971a8560ad0eacde1a841bdd5fb985f1dc82eeb7c688c61b7c [INFO] running `Command { std: "docker" "start" "-a" "7266725a3755ad971a8560ad0eacde1a841bdd5fb985f1dc82eeb7c688c61b7c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/upstash_qstash-12ca1af7ac591ed2) [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 upstash_qstash [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - Client::get_quota (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - Client::publish_json (line 96) ... FAILED [INFO] [stdout] test src/lib.rs - Client::get_message (line 72) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Client::get_quota (line 51) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `qstash` in this scope [INFO] [stdout] --> src/lib.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | match qstash.get_quota().await { [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:52:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_51_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 52 | match qstash.get_quota().await { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Client::publish_json (line 96) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `qstash` [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | use qstash::Client; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `qstash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `qstash`, use `cargo add qstash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/lib.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token` in this scope [INFO] [stdout] --> src/lib.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | let qstash = upstash_qstash::Client::new(token).expect("Init failed"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `url` [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | url, [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | .publish_json( [INFO] [stdout] | __________^^^^^^^^^^^^- [INFO] [stdout] 110 | | url, [INFO] [stdout] 111 | | &body, [INFO] [stdout] 112 | | ) [INFO] [stdout] | |_________- argument #3 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn publish_json<'a, T, U>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 109 | .publish_json( [INFO] [stdout] 110 | url, [INFO] [stdout] 111 | &body, [INFO] [stdout] 112 ~ /* message_settings */, [INFO] [stdout] 113 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | async fn main() -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0423, E0425, E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Client::get_message (line 72) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `qstash` in this scope [INFO] [stdout] --> src/lib.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | match qstash.get_message(message_id).await { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `message_id` in this scope [INFO] [stdout] --> src/lib.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | match qstash.get_message(message_id).await { [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:73:38 [INFO] [stdout] | [INFO] [stdout] 72 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_72_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 73 | match qstash.get_message(message_id).await { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Client::get_message (line 72) [INFO] [stdout] src/lib.rs - Client::get_quota (line 51) [INFO] [stdout] src/lib.rs - Client::publish_json (line 96) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7266725a3755ad971a8560ad0eacde1a841bdd5fb985f1dc82eeb7c688c61b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7266725a3755ad971a8560ad0eacde1a841bdd5fb985f1dc82eeb7c688c61b7c", kill_on_drop: false }` [INFO] [stdout] 7266725a3755ad971a8560ad0eacde1a841bdd5fb985f1dc82eeb7c688c61b7c