[INFO] cloning repository https://github.com/ansonyuenr2c2/agile-tg-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ansonyuenr2c2/agile-tg-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fansonyuenr2c2%2Fagile-tg-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fansonyuenr2c2%2Fagile-tg-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bc3e0acf29f5f26aaccff2352ad2f011dfa7fe3f
[INFO] testing ansonyuenr2c2/agile-tg-bot against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fansonyuenr2c2%2Fagile-tg-bot" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ansonyuenr2c2/agile-tg-bot
[INFO] finished tweaking git repo https://github.com/ansonyuenr2c2/agile-tg-bot
[INFO] tweaked toml for git repo https://github.com/ansonyuenr2c2/agile-tg-bot written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ansonyuenr2c2/agile-tg-bot on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ansonyuenr2c2/agile-tg-bot 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mio-named-pipes v0.1.7
[INFO] [stderr]   Downloaded slab v0.4.6
[INFO] [stderr]   Downloaded tokio-macros v0.2.6
[INFO] [stderr]   Downloaded unicode-ident v1.0.0
[INFO] [stderr]   Downloaded phf v0.7.24
[INFO] [stderr]   Downloaded openssl-macros v0.1.0
[INFO] [stderr]   Downloaded phf_codegen v0.7.24
[INFO] [stderr]   Downloaded siphasher v0.2.3
[INFO] [stderr]   Downloaded hyper-tls v0.4.3
[INFO] [stderr]   Downloaded httpdate v0.3.2
[INFO] [stderr]   Downloaded http-body v0.3.1
[INFO] [stderr]   Downloaded phf_shared v0.7.24
[INFO] [stderr]   Downloaded serde-value v0.5.3
[INFO] [stderr]   Downloaded phf_generator v0.7.24
[INFO] [stderr]   Downloaded native-tls v0.2.10
[INFO] [stderr]   Downloaded httparse v1.7.1
[INFO] [stderr]   Downloaded tracing-attributes v0.1.21
[INFO] [stderr]   Downloaded tokio-tls v0.3.1
[INFO] [stderr]   Downloaded telegram-bot v0.7.0
[INFO] [stderr]   Downloaded futures-channel v0.3.21
[INFO] [stderr]   Downloaded mime_guess v1.8.8
[INFO] [stderr]   Downloaded security-framework-sys v2.6.1
[INFO] [stderr]   Downloaded schannel v0.1.20
[INFO] [stderr]   Downloaded telegram-bot-raw v0.7.0
[INFO] [stderr]   Downloaded futures-executor v0.3.21
[INFO] [stderr]   Downloaded multipart v0.16.1
[INFO] [stderr]   Downloaded security-framework v2.6.1
[INFO] [stderr]   Downloaded indexmap v1.8.1
[INFO] [stderr]   Downloaded tracing-core v0.1.26
[INFO] [stderr]   Downloaded futures v0.3.21
[INFO] [stderr]   Downloaded openssl-sys v0.9.73
[INFO] [stderr]   Downloaded tracing v0.1.34
[INFO] [stderr]   Downloaded hyper v0.13.10
[INFO] [stderr]   Downloaded http v0.2.7
[INFO] [stderr]   Downloaded openssl v0.10.40
[INFO] [stderr]   Downloaded syn v1.0.95
[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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] efcc30f50d6e59230caa7579060b96e3f88bd65ab53849b9f8d74e5700cb3a7f
[INFO] running `Command { std: "docker" "start" "-a" "efcc30f50d6e59230caa7579060b96e3f88bd65ab53849b9f8d74e5700cb3a7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "efcc30f50d6e59230caa7579060b96e3f88bd65ab53849b9f8d74e5700cb3a7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efcc30f50d6e59230caa7579060b96e3f88bd65ab53849b9f8d74e5700cb3a7f", kill_on_drop: false }`
[INFO] [stdout] efcc30f50d6e59230caa7579060b96e3f88bd65ab53849b9f8d74e5700cb3a7f
[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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb305a15dfa88436e747099b8de66d3db9286206cbfc949717cd413fbc2bf8a3
[INFO] running `Command { std: "docker" "start" "-a" "fb305a15dfa88436e747099b8de66d3db9286206cbfc949717cd413fbc2bf8a3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling openssl-sys v0.9.73
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling tracing-core v0.1.26
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling http v0.2.7
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling ordered-float v1.1.1
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling multipart v0.16.1
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling tracing v0.1.34
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling futures-executor v0.3.21
[INFO] [stderr]    Compiling futures v0.3.21
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling serde-value v0.5.3
[INFO] [stderr]    Compiling telegram-bot-raw v0.7.0
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling telegram-bot v0.7.0
[INFO] [stderr]    Compiling agile-tg-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `->` is not valid syntax for field accesses and method calls
[INFO] [stdout]   --> src/main.rs:25:61
[INFO] [stdout]    |
[INFO] [stdout] 25 |                     message.entities.into_iter().filter((e) -> {
[INFO] [stdout]    |                                                             ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: the `.` operator will automatically dereference the value, except if the value is a raw pointer
[INFO] [stdout] help: try using `.` instead
[INFO] [stdout]    |
[INFO] [stdout] 25 -                     message.entities.into_iter().filter((e) -> {
[INFO] [stdout] 25 +                     message.entities.into_iter().filter((e) . {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `{`
[INFO] [stdout]   --> src/main.rs:25:64
[INFO] [stdout]    |
[INFO] [stdout] 25 |                     message.entities.into_iter().filter((e) -> {
[INFO] [stdout]    |                                                                ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `type`
[INFO] [stdout]   --> src/main.rs:26:30
[INFO] [stdout]    |
[INFO] [stdout] 26 |                         if e.type == "hashtag" {
[INFO] [stdout]    |                              ^^^^ expected identifier, found keyword
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{`
[INFO] [stdout]   --> src/main.rs:25:64
[INFO] [stdout]    |
[INFO] [stdout] 25 |                     message.entities.into_iter().filter((e) -> {
[INFO] [stdout]    |                                                               -^ expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               help: missing `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `{`, found `;`
[INFO] [stdout]   --> src/main.rs:36:24
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 .await?;
[INFO] [stdout]    |                        ^ expected `{`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression
[INFO] [stdout]   --> src/main.rs:25:62
[INFO] [stdout]    |
[INFO] [stdout] 25 |                     message.entities.into_iter().filter((e) -> {
[INFO] [stdout]    |                                                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::slice`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::slice;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::StreamExt`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `telegram_bot::*`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use telegram_bot::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `agile_tg_bot`
[INFO] [stdout]   --> src/main.rs:41:2
[INFO] [stdout]    |
[INFO] [stdout] 41 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `agile-tg-bot` (bin "agile-tg-bot") due to 7 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fb305a15dfa88436e747099b8de66d3db9286206cbfc949717cd413fbc2bf8a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb305a15dfa88436e747099b8de66d3db9286206cbfc949717cd413fbc2bf8a3", kill_on_drop: false }`
[INFO] [stdout] fb305a15dfa88436e747099b8de66d3db9286206cbfc949717cd413fbc2bf8a3
