[INFO] cloning repository https://github.com/weirane/telegram-beancount-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weirane/telegram-beancount-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweirane%2Ftelegram-beancount-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweirane%2Ftelegram-beancount-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8de931e38e1120831b21cdd4b06ef133039eb252 [INFO] testing weirane/telegram-beancount-bot against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweirane%2Ftelegram-beancount-bot" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/weirane/telegram-beancount-bot [INFO] finished tweaking git repo https://github.com/weirane/telegram-beancount-bot [INFO] tweaked toml for git repo https://github.com/weirane/telegram-beancount-bot written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/weirane/telegram-beancount-bot on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/weirane/telegram-beancount-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.2.9 [INFO] [stderr] Downloaded httparse v1.4.1 [INFO] [stderr] Downloaded is-macro v0.1.9 [INFO] [stderr] Downloaded pmutil v0.5.3 [INFO] [stderr] Downloaded typed-headers v0.2.0 [INFO] [stderr] Downloaded anyhow v1.0.42 [INFO] [stderr] Downloaded openssl-sys v0.9.65 [INFO] [stderr] Downloaded hyper-proxy v0.6.0 [INFO] [stderr] Downloaded rust_decimal v1.15.0 [INFO] [stderr] Downloaded openssl v0.10.35 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded libc v0.2.98 [INFO] [stderr] Downloaded tbot v0.6.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8e6cbb33be8cb4857c6bedbd6fd7e05c7cbcd6f0aef453e51639540857904d4 [INFO] running `Command { std: "docker" "start" "-a" "f8e6cbb33be8cb4857c6bedbd6fd7e05c7cbcd6f0aef453e51639540857904d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8e6cbb33be8cb4857c6bedbd6fd7e05c7cbcd6f0aef453e51639540857904d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e6cbb33be8cb4857c6bedbd6fd7e05c7cbcd6f0aef453e51639540857904d4", kill_on_drop: false }` [INFO] [stdout] f8e6cbb33be8cb4857c6bedbd6fd7e05c7cbcd6f0aef453e51639540857904d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1b930bc7deefe9b85e51cbcdf14391f5ceb4128be89d02ed6153c409ef33354 [INFO] running `Command { std: "docker" "start" "-a" "d1b930bc7deefe9b85e51cbcdf14391f5ceb4128be89d02ed6153c409ef33354", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling typed-headers v0.2.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling is-macro v0.1.9 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling rust_decimal v1.15.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling hyper-proxy v0.6.0 [INFO] [stderr] Compiling tbot v0.6.7 [INFO] [stderr] Compiling telegram-beancount-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:164:59 [INFO] [stdout] | [INFO] [stdout] 164 | bot.polling().start().await.expect("Bot start failed"); [INFO] [stdout] | ------------------------------------------------------^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/main.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | bot.polling().start().await.expect("Bot start failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.20s [INFO] running `Command { std: "docker" "inspect" "d1b930bc7deefe9b85e51cbcdf14391f5ceb4128be89d02ed6153c409ef33354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b930bc7deefe9b85e51cbcdf14391f5ceb4128be89d02ed6153c409ef33354", kill_on_drop: false }` [INFO] [stdout] d1b930bc7deefe9b85e51cbcdf14391f5ceb4128be89d02ed6153c409ef33354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] faa56f21c0b0027709f98ca8b231cc975766522031c0c72b765c7324122be24a [INFO] running `Command { std: "docker" "start" "-a" "faa56f21c0b0027709f98ca8b231cc975766522031c0c72b765c7324122be24a", kill_on_drop: false }` [INFO] [stderr] Compiling telegram-beancount-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:164:59 [INFO] [stdout] | [INFO] [stdout] 164 | bot.polling().start().await.expect("Bot start failed"); [INFO] [stdout] | ------------------------------------------------------^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/main.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | bot.polling().start().await.expect("Bot start failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "faa56f21c0b0027709f98ca8b231cc975766522031c0c72b765c7324122be24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faa56f21c0b0027709f98ca8b231cc975766522031c0c72b765c7324122be24a", kill_on_drop: false }` [INFO] [stdout] faa56f21c0b0027709f98ca8b231cc975766522031c0c72b765c7324122be24a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] be90d2d6fc3a7fe49c766fc621838fcea4276fd7069ddb70c5e7ea2277287234 [INFO] running `Command { std: "docker" "start" "-a" "be90d2d6fc3a7fe49c766fc621838fcea4276fd7069ddb70c5e7ea2277287234", kill_on_drop: false }` [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:164:59 [INFO] [stderr] | [INFO] [stderr] 164 | bot.polling().start().await.expect("Bot start failed"); [INFO] [stderr] | ------------------------------------------------------^ unreachable expression [INFO] [stderr] | | [INFO] [stderr] | any code following this expression is unreachable [INFO] [stderr] | [INFO] [stderr] note: this expression has type `Infallible`, which is uninhabited [INFO] [stderr] --> src/main.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | bot.polling().start().await.expect("Bot start failed"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `telegram-beancount-bot` (bin "telegram-beancount-bot" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/telegram_beancount_bot-d80c332bb12c5aa7) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test beancount::tests::test_filter ... ok [INFO] [stdout] test utils::tests::test_split ... ok [INFO] [stdout] test utils::tests::test_bean_command ... ok [INFO] [stdout] test beancount::tests::test_matches ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "be90d2d6fc3a7fe49c766fc621838fcea4276fd7069ddb70c5e7ea2277287234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be90d2d6fc3a7fe49c766fc621838fcea4276fd7069ddb70c5e7ea2277287234", kill_on_drop: false }` [INFO] [stdout] be90d2d6fc3a7fe49c766fc621838fcea4276fd7069ddb70c5e7ea2277287234