[INFO] fetching crate apple-apns 0.5.3... [INFO] testing apple-apns-0.5.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate apple-apns 0.5.3 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate apple-apns 0.5.3 [INFO] finished tweaking crates.io crate apple-apns 0.5.3 [INFO] tweaked toml for crates.io crate apple-apns 0.5.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate apple-apns 0.5.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 255 packages to latest compatible versions [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding jsonwebtoken v8.3.0 (available: v10.2.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding reqwest-middleware v0.2.5 (available: v0.4.2) [INFO] [stderr] Adding reqwest-tracing v0.4.8 (available: v0.5.8) [INFO] [stderr] Adding serde_with v2.3.3 (available: v3.15.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding wiremock v0.5.22 (available: v0.6.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f9f550d8e614894d566cdf533101b84e1cb387ac24f00f6d2a6a16030dadca2 [INFO] running `Command { std: "docker" "start" "-a" "4f9f550d8e614894d566cdf533101b84e1cb387ac24f00f6d2a6a16030dadca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f9f550d8e614894d566cdf533101b84e1cb387ac24f00f6d2a6a16030dadca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f9f550d8e614894d566cdf533101b84e1cb387ac24f00f6d2a6a16030dadca2", kill_on_drop: false }` [INFO] [stdout] 4f9f550d8e614894d566cdf533101b84e1cb387ac24f00f6d2a6a16030dadca2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5c132ae3013245ed43d7357222d3ee1e83f1fb446f3c8355c2743c6669b9a69 [INFO] running `Command { std: "docker" "start" "-a" "a5c132ae3013245ed43d7357222d3ee1e83f1fb446f3c8355c2743c6669b9a69", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling task-local-extensions v0.1.4 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-middleware v0.2.5 [INFO] [stderr] Compiling apple-apns v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "a5c132ae3013245ed43d7357222d3ee1e83f1fb446f3c8355c2743c6669b9a69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c132ae3013245ed43d7357222d3ee1e83f1fb446f3c8355c2743c6669b9a69", kill_on_drop: false }` [INFO] [stdout] a5c132ae3013245ed43d7357222d3ee1e83f1fb446f3c8355c2743c6669b9a69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54d4eaa77409466f529cbd9f1763b789801453a6b72f209a55bb8e23d12c3149 [INFO] running `Command { std: "docker" "start" "-a" "54d4eaa77409466f529cbd9f1763b789801453a6b72f209a55bb8e23d12c3149", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling reqwest-tracing v0.4.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wiremock v0.5.22 [INFO] [stderr] Compiling apple-apns v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] error: async functions cannot be used for tests [INFO] [stdout] --> tests/client.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | async fn client() { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _`async` because of this [INFO] [stdout] | | [INFO] [stdout] 26 | | let mock_server = MockServer::start().await; [INFO] [stdout] 27 | | [INFO] [stdout] 28 | | Mock::given(method("POST")) [INFO] [stdout] ... | [INFO] [stdout] 65 | | assert_eq!(APS_ID, aps_id.unwrap().hyphenated().to_string()); [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::test` [INFO] [stdout] --> tests/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::test; [INFO] [stdout] | ^^^^^^^^^^^ no `test` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `apple-apns` (test "client") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "54d4eaa77409466f529cbd9f1763b789801453a6b72f209a55bb8e23d12c3149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d4eaa77409466f529cbd9f1763b789801453a6b72f209a55bb8e23d12c3149", kill_on_drop: false }` [INFO] [stdout] 54d4eaa77409466f529cbd9f1763b789801453a6b72f209a55bb8e23d12c3149