[INFO] fetching crate telegram-bot2-macros 0.1.3...
[INFO] testing telegram-bot2-macros-0.1.3 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate telegram-bot2-macros 0.1.3 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate telegram-bot2-macros 0.1.3 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate telegram-bot2-macros 0.1.3
[INFO] finished tweaking crates.io crate telegram-bot2-macros 0.1.3
[INFO] tweaked toml for crates.io crate telegram-bot2-macros 0.1.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 14 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 84b595ae6394e9b0eb9b3eec88d48b9616eaaf48c1035da4218f56fc11e1c3f6
[INFO] running `Command { std: "docker" "start" "-a" "84b595ae6394e9b0eb9b3eec88d48b9616eaaf48c1035da4218f56fc11e1c3f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "84b595ae6394e9b0eb9b3eec88d48b9616eaaf48c1035da4218f56fc11e1c3f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84b595ae6394e9b0eb9b3eec88d48b9616eaaf48c1035da4218f56fc11e1c3f6", kill_on_drop: false }`
[INFO] [stdout] 84b595ae6394e9b0eb9b3eec88d48b9616eaaf48c1035da4218f56fc11e1c3f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af2631ef77a954e2271ba4b993157e1517ea7ae0499243a08f008754b77fbd99
[INFO] running `Command { std: "docker" "start" "-a" "af2631ef77a954e2271ba4b993157e1517ea7ae0499243a08f008754b77fbd99", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling telegram-bot2-macros v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.73s
[INFO] running `Command { std: "docker" "inspect" "af2631ef77a954e2271ba4b993157e1517ea7ae0499243a08f008754b77fbd99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af2631ef77a954e2271ba4b993157e1517ea7ae0499243a08f008754b77fbd99", kill_on_drop: false }`
[INFO] [stdout] af2631ef77a954e2271ba4b993157e1517ea7ae0499243a08f008754b77fbd99
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de8acf9ff2e9ecc057c7ee12b9ccc8cf038aab22b0f3c20519b6b327a381e702
[INFO] running `Command { std: "docker" "start" "-a" "de8acf9ff2e9ecc057c7ee12b9ccc8cf038aab22b0f3c20519b6b327a381e702", kill_on_drop: false }`
[INFO] [stderr]    Compiling telegram-bot2-macros v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s
[INFO] running `Command { std: "docker" "inspect" "de8acf9ff2e9ecc057c7ee12b9ccc8cf038aab22b0f3c20519b6b327a381e702", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de8acf9ff2e9ecc057c7ee12b9ccc8cf038aab22b0f3c20519b6b327a381e702", kill_on_drop: false }`
[INFO] [stdout] de8acf9ff2e9ecc057c7ee12b9ccc8cf038aab22b0f3c20519b6b327a381e702
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] feccc9a455c62f8b3378ee2897afa0081c04c1a77835d726206fdca7347df316
[INFO] running `Command { std: "docker" "start" "-a" "feccc9a455c62f8b3378ee2897afa0081c04c1a77835d726206fdca7347df316", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/telegram_bot2_macros-0d3438a43b777a7f)
[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 telegram_bot2_macros
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - daemon (line 130) ... FAILED
[INFO] [stdout] test src/lib.rs - command (line 78) ... FAILED
[INFO] [stdout] test src/lib.rs - command (line 68) ... FAILED
[INFO] [stdout] test src/lib.rs - bot (line 35) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - daemon (line 130) stdout ----
[INFO] [stdout] error: cannot find attribute `daemon` in this scope
[INFO] [stdout]  --> src/lib.rs:131:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[daemon(interval = 5)]
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use telegram_bot2_macros::daemon;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BotState` in this scope
[INFO] [stdout]  --> src/lib.rs:132:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | async fn hello(state: &BotState<Mutex<usize>>) {
[INFO] [stdout]   |                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope
[INFO] [stdout]  --> src/lib.rs:132:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | async fn hello(state: &BotState<Mutex<usize>>) {
[INFO] [stdout]   |                                 ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Mutex;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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] ---- src/lib.rs - command (line 78) stdout ----
[INFO] [stdout] error: cannot find attribute `bot_command` in this scope
[INFO] [stdout]  --> src/lib.rs:79:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[bot_command("/soup <id> <name>")]
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope
[INFO] [stdout]  --> src/lib.rs:80:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |   async fn soup(bot: &Bot, chat: ChatId, id: Option<i64>, name: Option<String>) -> Result<(), ()> {
[INFO] [stdout]   |                       ^^^ help: a struct with a similar name exists: `Box`
[INFO] [stdout]  --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:196:1
[INFO] [stdout]  ::: /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:199:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `Box` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ChatId` in this scope
[INFO] [stdout]  --> src/lib.rs:80:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | async fn soup(bot: &Bot, chat: ChatId, id: Option<i64>, name: Option<String>) -> Result<(), ()> {
[INFO] [stdout]   |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SendMessageBuilder`
[INFO] [stdout]  --> src/lib.rs:81:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     bot.send_message(SendMessageBuilder::new(chat, format!("Soup {}@{} requested", name.unwrap_or("None".to_string()), id.unwrap_or(0)))....
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^ use of undeclared type `SendMessageBuilder`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - command (line 68) stdout ----
[INFO] [stdout] error: cannot find attribute `bot_command` in this scope
[INFO] [stdout]  --> src/lib.rs:69:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[bot_command("/soup <id>")]
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope
[INFO] [stdout]  --> src/lib.rs:70:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |   async fn soup(bot: &Bot, chat: ChatId, id: i64) -> Result<(), ()> {
[INFO] [stdout]   |                       ^^^ help: a struct with a similar name exists: `Box`
[INFO] [stdout]  --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:196:1
[INFO] [stdout]  ::: /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:199:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `Box` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ChatId` in this scope
[INFO] [stdout]  --> src/lib.rs:70:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | async fn soup(bot: &Bot, chat: ChatId, id: i64) -> Result<(), ()> {
[INFO] [stdout]   |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SendMessageBuilder`
[INFO] [stdout]  --> src/lib.rs:71:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     bot.send_message(SendMessageBuilder::new(chat, format!("Soup {} requested", id)).build()).await.unwrap();
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^ use of undeclared type `SendMessageBuilder`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bot (line 35) stdout ----
[INFO] [stdout] error: cannot find attribute `bot` in this scope
[INFO] [stdout]  --> src/lib.rs:36:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[bot]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `bot` is in scope, but it is a function, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use telegram_bot2_macros::bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `handlers` in this scope
[INFO] [stdout]  --> src/lib.rs:41:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |         .handler(handlers![handler])
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use telegram_bot2_macros::handlers;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `commands` in this scope
[INFO] [stdout]  --> src/lib.rs:42:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |         .commands(commands![soup])
[INFO] [stdout]   |                   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use telegram_bot2_macros::commands;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]  --> src/lib.rs:39:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |         .interval(Duration::from_secs(0))
[INFO] [stdout]   |                   ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for opaque types
[INFO] [stdout]  --> src/lib.rs:37:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | async fn bot() -> _ {
[INFO] [stdout]   |                   ^ not allowed in type signatures
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BotBuilder`
[INFO] [stdout]  --> src/lib.rs:38:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     BotBuilder::new()
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared type `BotBuilder`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0121, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0121`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - bot (line 35)
[INFO] [stdout]     src/lib.rs - command (line 68)
[INFO] [stdout]     src/lib.rs - command (line 78)
[INFO] [stdout]     src/lib.rs - daemon (line 130)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "feccc9a455c62f8b3378ee2897afa0081c04c1a77835d726206fdca7347df316", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "feccc9a455c62f8b3378ee2897afa0081c04c1a77835d726206fdca7347df316", kill_on_drop: false }`
[INFO] [stdout] feccc9a455c62f8b3378ee2897afa0081c04c1a77835d726206fdca7347df316
