[INFO] fetching crate ic-event-hub-macros 0.1.10... [INFO] testing ic-event-hub-macros-0.1.10 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate ic-event-hub-macros 0.1.10 into /workspace/builds/worker-43/source [INFO] validating manifest of crates.io crate ic-event-hub-macros 0.1.10 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ic-event-hub-macros 0.1.10 [INFO] finished tweaking crates.io crate ic-event-hub-macros 0.1.10 [INFO] tweaked toml for crates.io crate ic-event-hub-macros 0.1.10 written to /workspace/builds/worker-43/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f14f8816d62d40f79b6862d329bc91018151dbad8094a2bafff5cedefe73a1dd [INFO] running `Command { std: "docker" "start" "-a" "f14f8816d62d40f79b6862d329bc91018151dbad8094a2bafff5cedefe73a1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f14f8816d62d40f79b6862d329bc91018151dbad8094a2bafff5cedefe73a1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14f8816d62d40f79b6862d329bc91018151dbad8094a2bafff5cedefe73a1dd", kill_on_drop: false }` [INFO] [stdout] f14f8816d62d40f79b6862d329bc91018151dbad8094a2bafff5cedefe73a1dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3df5f5c89dba9c1b97010a7d33eb7847e4ee6a494c912cabc3fdf51d52504fc4 [INFO] running `Command { std: "docker" "start" "-a" "3df5f5c89dba9c1b97010a7d33eb7847e4ee6a494c912cabc3fdf51d52504fc4", kill_on_drop: false }` [INFO] [stderr] Compiling ic-event-hub-macros v0.1.10 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.96s [INFO] running `Command { std: "docker" "inspect" "3df5f5c89dba9c1b97010a7d33eb7847e4ee6a494c912cabc3fdf51d52504fc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3df5f5c89dba9c1b97010a7d33eb7847e4ee6a494c912cabc3fdf51d52504fc4", kill_on_drop: false }` [INFO] [stdout] 3df5f5c89dba9c1b97010a7d33eb7847e4ee6a494c912cabc3fdf51d52504fc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51a028e65894fdb8ad5b6c0a6b19047f01307f1d04f53b791daa2a67c834f694 [INFO] running `Command { std: "docker" "start" "-a" "51a028e65894fdb8ad5b6c0a6b19047f01307f1d04f53b791daa2a67c834f694", kill_on_drop: false }` [INFO] [stderr] Compiling ic-event-hub-macros v0.1.10 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "51a028e65894fdb8ad5b6c0a6b19047f01307f1d04f53b791daa2a67c834f694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a028e65894fdb8ad5b6c0a6b19047f01307f1d04f53b791daa2a67c834f694", kill_on_drop: false }` [INFO] [stdout] 51a028e65894fdb8ad5b6c0a6b19047f01307f1d04f53b791daa2a67c834f694 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5028f6cbdfe0c7c4711235300c85de33ba9382d189e446da67244158c3b62b29 [INFO] running `Command { std: "docker" "start" "-a" "5028f6cbdfe0c7c4711235300c85de33ba9382d189e446da67244158c3b62b29", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ic_event_hub_macros-429c37bb8eb731b9) [INFO] [stdout] [INFO] [stderr] Doc-tests ic-event-hub-macros [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test lib.rs - implement_add_event_listeners (line 77) ... FAILED [INFO] [stdout] test lib.rs - implement_remove_event_listeners (line 90) ... FAILED [INFO] [stdout] test lib.rs - implement_get_event_listeners (line 129) ... FAILED [INFO] [stdout] test lib.rs - implement_stop_being_event_listener (line 116) ... FAILED [INFO] [stdout] test lib.rs - (line 4) ... FAILED [INFO] [stdout] test lib.rs - implement_become_event_listener (line 103) ... FAILED [INFO] [stdout] test lib.rs - event_macro_derive (line 50) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- lib.rs - implement_add_event_listeners (line 77) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] --> lib.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[ic_cdk_macros::update] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ic_event_hub` [INFO] [stdout] --> lib.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 4 | fn _add_event_listeners(request: ic_event_hub::types::AddEventListenersRequest) {} [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `ic_event_hub` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- lib.rs - implement_remove_event_listeners (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] --> lib.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[ic_cdk_macros::update] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ic_event_hub` [INFO] [stdout] --> lib.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn _remove_event_listeners(request: ic_event_hub::types::RemoveEventListenersRequest) {} [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `ic_event_hub` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- lib.rs - implement_get_event_listeners (line 129) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] --> lib.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[ic_cdk_macros::query] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ic_event_hub` [INFO] [stdout] --> lib.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 5 | request: ic_event_hub::types::GetEventListenersRequest [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `ic_event_hub` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ic_event_hub` [INFO] [stdout] --> lib.rs:133:6 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> ic_event_hub::types::GetEventListenersResponse {} [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `ic_event_hub` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- lib.rs - implement_stop_being_event_listener (line 116) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] --> lib.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[ic_cdk_macros::update] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ic_event_hub` [INFO] [stdout] --> lib.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 4 | fn _stop_being_event_listener(request: ic_event_hub::types::StopBeingEventListenerRequest) {} [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `ic_event_hub` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- lib.rs - (line 4) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 8 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 8 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 8 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found keyword `struct` [INFO] [stdout] --> lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Event { [INFO] [stdout] | ^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] error: cannot find macro `implement_stop_being_event_listener` in this scope [INFO] [stdout] --> lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 6 | implement_stop_being_event_listener!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] ic_event_hub_macros::implement_stop_being_event_listener [INFO] [stdout] [INFO] [stdout] error: cannot find macro `implement_become_event_listener` in this scope [INFO] [stdout] --> lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 5 | implement_become_event_listener!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] ic_event_hub_macros::implement_become_event_listener [INFO] [stdout] [INFO] [stdout] error: cannot find macro `implement_event_emitter` in this scope [INFO] [stdout] --> lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 4 | implement_event_emitter!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] ic_event_hub_macros::implement_event_emitter [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- lib.rs - implement_become_event_listener (line 103) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] --> lib.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[ic_cdk_macros::update] [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `ic_cdk_macros` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ic_event_hub` [INFO] [stdout] --> lib.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 4 | fn _become_event_listener(request: ic_event_hub::types::BecomeEventListenerRequest) {} [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `ic_event_hub` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- lib.rs - event_macro_derive (line 50) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 5 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Event` in this scope [INFO] [stdout] --> lib.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Event)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] ic_event_hub_macros::Event [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] lib.rs - (line 4) [INFO] [stdout] lib.rs - event_macro_derive (line 50) [INFO] [stdout] lib.rs - implement_add_event_listeners (line 77) [INFO] [stdout] lib.rs - implement_become_event_listener (line 103) [INFO] [stdout] lib.rs - implement_get_event_listeners (line 129) [INFO] [stdout] lib.rs - implement_remove_event_listeners (line 90) [INFO] [stdout] lib.rs - implement_stop_being_event_listener (line 116) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "5028f6cbdfe0c7c4711235300c85de33ba9382d189e446da67244158c3b62b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5028f6cbdfe0c7c4711235300c85de33ba9382d189e446da67244158c3b62b29", kill_on_drop: false }` [INFO] [stdout] 5028f6cbdfe0c7c4711235300c85de33ba9382d189e446da67244158c3b62b29