[INFO] fetching crate flow-bot 0.2.0... [INFO] testing flow-bot-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate flow-bot 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate flow-bot 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate flow-bot 0.2.0 [INFO] tweaked toml for crates.io crate flow-bot 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flow-bot 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flow-bot 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45ddc048bd11533c70009e67a5780831aa838c5400e943f67062645965017aaa [INFO] running `Command { std: "docker" "start" "-a" "45ddc048bd11533c70009e67a5780831aa838c5400e943f67062645965017aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45ddc048bd11533c70009e67a5780831aa838c5400e943f67062645965017aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45ddc048bd11533c70009e67a5780831aa838c5400e943f67062645965017aaa", kill_on_drop: false }` [INFO] [stdout] 45ddc048bd11533c70009e67a5780831aa838c5400e943f67062645965017aaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 846c992bcb368e07374706876c2f6cccaa36f1ad1967b70e311317ebd944a7a0 [INFO] running `Command { std: "docker" "start" "-a" "846c992bcb368e07374706876c2f6cccaa36f1ad1967b70e311317ebd944a7a0", kill_on_drop: false }` [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.27.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling flow-bot v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.28s [INFO] running `Command { std: "docker" "inspect" "846c992bcb368e07374706876c2f6cccaa36f1ad1967b70e311317ebd944a7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "846c992bcb368e07374706876c2f6cccaa36f1ad1967b70e311317ebd944a7a0", kill_on_drop: false }` [INFO] [stdout] 846c992bcb368e07374706876c2f6cccaa36f1ad1967b70e311317ebd944a7a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ecf5b31b829f45e546d22ee5c0152937267d130de05a55416bc9bab321e4e65 [INFO] running `Command { std: "docker" "start" "-a" "6ecf5b31b829f45e546d22ee5c0152937267d130de05a55416bc9bab321e4e65", kill_on_drop: false }` [INFO] [stderr] Compiling flow-bot v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "6ecf5b31b829f45e546d22ee5c0152937267d130de05a55416bc9bab321e4e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ecf5b31b829f45e546d22ee5c0152937267d130de05a55416bc9bab321e4e65", kill_on_drop: false }` [INFO] [stdout] 6ecf5b31b829f45e546d22ee5c0152937267d130de05a55416bc9bab321e4e65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7cee5247cf1b8d7b8598206c55a35e480d5a86d4c94a6652bf77cdf52dabf060 [INFO] running `Command { std: "docker" "start" "-a" "7cee5247cf1b8d7b8598206c55a35e480d5a86d4c94a6652bf77cdf52dabf060", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/flow_bot-db97ff629430b95b) [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 flow_bot [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/base/extract.rs - base::extract::match_one (line 247) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 70) - compile ... FAILED [INFO] [stdout] test src/base/extract.rs - base::extract::match_one (line 251) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/base/extract.rs - base::extract::match_one (line 247) stdout ---- [INFO] [stdout] error: cannot find macro `match_one` in this scope [INFO] [stdout] --> src/base/extract.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 3 | match_one!(MatchOne, A: AMatcher, B: BMatcher); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use flow_bot::match_one; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `flow_bot::base::extract::Message` [INFO] [stdout] --> src/lib.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 6 | base::{connect::ReverseConnectionConfig, extract::Message, handler::HandlerControl}, [INFO] [stdout] | ^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `message` [INFO] [stdout] | no `Message` in `base::extract` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] flow_bot::event::TypedEvent::Message [INFO] [stdout] flow_bot::event::message::Message [INFO] [stdout] flow_bot::message::Message [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn({type error}) -> impl Future {on_message}: Handler<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 20 | .with_handler(on_message) [INFO] [stdout] | ------------ ^^^^^^^^^^ the trait `Handler<_>` is not implemented for fn item `fn({type error}) -> impl Future {on_message}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FlowBotBuilder::with_handler` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn with_handler(mut self, handler: H) -> Self [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 181 | H: Handler + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `FlowBotBuilder::with_handler` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 70) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `flow_bot::handler` [INFO] [stdout] --> src/lib.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 6 | base::extract::MatchGroupId,handler::HandlerControl [INFO] [stdout] | ^^^^^^^ could not find `handler` in `flow_bot` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/base/extract.rs - base::extract::match_one (line 251) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `AMatcher` in this scope [INFO] [stdout] --> src/base/extract.rs:253:6 [INFO] [stdout] | [INFO] [stdout] 4 | A(AMatcher), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BMatcher` in this scope [INFO] [stdout] --> src/base/extract.rs:254:6 [INFO] [stdout] | [INFO] [stdout] 5 | B(BMatcher), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/base/extract.rs - base::extract::match_one (line 247) [INFO] [stdout] src/base/extract.rs - base::extract::match_one (line 251) [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 70) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.50s; merged doctests compilation took 0.32s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7cee5247cf1b8d7b8598206c55a35e480d5a86d4c94a6652bf77cdf52dabf060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cee5247cf1b8d7b8598206c55a35e480d5a86d4c94a6652bf77cdf52dabf060", kill_on_drop: false }` [INFO] [stdout] 7cee5247cf1b8d7b8598206c55a35e480d5a86d4c94a6652bf77cdf52dabf060