[INFO] cloning repository https://github.com/upsuper/telegram-rustevalbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/upsuper/telegram-rustevalbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsuper%2Ftelegram-rustevalbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsuper%2Ftelegram-rustevalbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc2533cb6de37b0dc8186b17f341c794929408e8 [INFO] building upsuper/telegram-rustevalbot against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsuper%2Ftelegram-rustevalbot" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/upsuper/telegram-rustevalbot on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/upsuper/telegram-rustevalbot [INFO] finished tweaking git repo https://github.com/upsuper/telegram-rustevalbot [INFO] tweaked toml for git repo https://github.com/upsuper/telegram-rustevalbot written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/upsuper/telegram-rustevalbot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aedba1d420e3275138c011469e4e88a02194f9b2345833104f5dbdfcab6b0b08 [INFO] running `Command { std: "docker" "start" "-a" "aedba1d420e3275138c011469e4e88a02194f9b2345833104f5dbdfcab6b0b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aedba1d420e3275138c011469e4e88a02194f9b2345833104f5dbdfcab6b0b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aedba1d420e3275138c011469e4e88a02194f9b2345833104f5dbdfcab6b0b08", kill_on_drop: false }` [INFO] [stdout] aedba1d420e3275138c011469e4e88a02194f9b2345833104f5dbdfcab6b0b08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23a03a7494669931a83121d1d53c536636958a9a33dd468338c31ab20dcf5682 [INFO] running `Command { std: "docker" "start" "-a" "23a03a7494669931a83121d1d53c536636958a9a33dd468338c31ab20dcf5682", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling telegram-rustevalbot v0.4.27 (/opt/rustwide/workdir) [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.21.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling filetime v0.2.17 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling fst-subseq-ascii-caseless v0.1.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling notify v5.0.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.10.5 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rustdoc-seeker v0.6.0 [INFO] [stderr] Compiling telegram_types v0.6.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:83:40 [INFO] [stdout] | [INFO] [stdout] 83 | let cratesio_receiver = bot_runner.run( [INFO] [stdout] | ^^^ future returned by `handle_update` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/cratesio/mod.rs:47:67 [INFO] [stdout] | [INFO] [stdout] 43 | / url.query_pairs_mut() [INFO] [stdout] 44 | | .append_pair("q", &query.query) [INFO] [stdout] 45 | | .append_pair("sort", "relevance") [INFO] [stdout] 46 | | .append_pair("per_page", "50"); [INFO] [stdout] | |______________________________________________- has type `&mut url::form_urlencoded::Serializer<'_, UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 47 | self.generate_results(url, |resp: Crates| resp.crates).await [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] 48 | }; [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] note: required by a bound in `BotRunner::<'a>::run` [INFO] [stdout] --> src/bot_runner.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn run( [INFO] [stdout] | --- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 37 | HandleResult: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `BotRunner::<'a>::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `telegram-rustevalbot` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "23a03a7494669931a83121d1d53c536636958a9a33dd468338c31ab20dcf5682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a03a7494669931a83121d1d53c536636958a9a33dd468338c31ab20dcf5682", kill_on_drop: false }` [INFO] [stdout] 23a03a7494669931a83121d1d53c536636958a9a33dd468338c31ab20dcf5682