[INFO] fetching crate comet-eventbus 0.1.0-pre-alpha.4... [INFO] testing comet-eventbus-0.1.0-pre-alpha.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate comet-eventbus 0.1.0-pre-alpha.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate comet-eventbus 0.1.0-pre-alpha.4 [INFO] finished tweaking crates.io crate comet-eventbus 0.1.0-pre-alpha.4 [INFO] tweaked toml for crates.io crate comet-eventbus 0.1.0-pre-alpha.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate comet-eventbus 0.1.0-pre-alpha.4 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 crates.io crate comet-eventbus 0.1.0-pre-alpha.4 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] Downloading crates ... [INFO] [stderr] Downloaded cmake v0.1.48 [INFO] [stderr] Downloaded async-stream-impl v0.3.3 [INFO] [stderr] Downloaded tonic-build v0.7.2 [INFO] [stderr] Downloaded which v4.2.5 [INFO] [stderr] Downloaded pin-project-internal v1.0.11 [INFO] [stderr] Downloaded async-stream v0.3.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.10 [INFO] [stderr] Downloaded serde_derive v1.0.139 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.9 [INFO] [stderr] Downloaded crossbeam-channel v0.5.5 [INFO] [stderr] Downloaded axum v0.5.13 [INFO] [stderr] Downloaded tower-http v0.3.4 [INFO] [stderr] Downloaded serde v1.0.139 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded hyper v0.14.20 [INFO] [stderr] Downloaded prettyplease v0.1.16 [INFO] [stderr] Downloaded axum-core v0.2.7 [INFO] [stderr] Downloaded pin-project v1.0.11 [INFO] [stderr] Downloaded tonic v0.7.2 [INFO] [stderr] Downloaded tracing-attributes v0.1.22 [INFO] [stderr] Downloaded tokio v1.20.0 [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] 6251808e49f734fa2408ff982bf9e6de391a335f70d6e7d9e15a356e9736941c [INFO] running `Command { std: "docker" "start" "-a" "6251808e49f734fa2408ff982bf9e6de391a335f70d6e7d9e15a356e9736941c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6251808e49f734fa2408ff982bf9e6de391a335f70d6e7d9e15a356e9736941c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6251808e49f734fa2408ff982bf9e6de391a335f70d6e7d9e15a356e9736941c", kill_on_drop: false }` [INFO] [stdout] 6251808e49f734fa2408ff982bf9e6de391a335f70d6e7d9e15a356e9736941c [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] 58d2d9e1c106b1f63e7bd0a1330f481472a225fc2921a835821ccb48d358c27b [INFO] running `Command { std: "docker" "start" "-a" "58d2d9e1c106b1f63e7bd0a1330f481472a225fc2921a835821ccb48d358c27b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling comet-eventbus v0.1.0-pre-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.14s [INFO] running `Command { std: "docker" "inspect" "58d2d9e1c106b1f63e7bd0a1330f481472a225fc2921a835821ccb48d358c27b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58d2d9e1c106b1f63e7bd0a1330f481472a225fc2921a835821ccb48d358c27b", kill_on_drop: false }` [INFO] [stdout] 58d2d9e1c106b1f63e7bd0a1330f481472a225fc2921a835821ccb48d358c27b [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] f51cf33a51f813d542463dab78ba67ab8e88818de70108d628e0a633946e4e6d [INFO] running `Command { std: "docker" "start" "-a" "f51cf33a51f813d542463dab78ba67ab8e88818de70108d628e0a633946e4e6d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling comet-eventbus v0.1.0-pre-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stdout] error[E0432]: unresolved import `crate::bridge` [INFO] [stdout] --> src/tests/test_async.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bridge::EventbusBridge; [INFO] [stdout] | ^^^^^^ could not find `bridge` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(feature = "bridge")] [INFO] [stdout] | ------------------ the item is gated behind the `bridge` feature [INFO] [stdout] 65 | #[cfg_attr(docsrs, doc(cfg(feature = "bridge")))] [INFO] [stdout] 66 | pub mod bridge; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/tests/test_async.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_async.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | bridged_a.connect("http://127.0.0.1:50002").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_async.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | bridged_b.connect("http://127.0.0.1:50001").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_async.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let topic_a = bridged_a.create_topic(topic.clone()).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | let event = Event::new(topic_a.get_key().clone(), Message { id: 1 }); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `topic_a` an explicit type [INFO] [stdout] | [INFO] [stdout] 60 | let topic_a: /* Type */ = bridged_a.create_topic(topic.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_async.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let topic_b = bridged_b.create_topic(topic.clone()).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 65 | let event = Event::new(topic_b.get_key().clone(), Message { id: 2 }); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `topic_b` an explicit type [INFO] [stdout] | [INFO] [stdout] 64 | let topic_b: /* Type */ = bridged_b.create_topic(topic.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_async.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let handler_a = bridged_a.register(topic.clone(), HandlerA).await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | handler_a.unregister().await; [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `handler_a` an explicit type [INFO] [stdout] | [INFO] [stdout] 57 | let handler_a: /* Type */ = bridged_a.register(topic.clone(), HandlerA).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_async.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let topic_b = bridged_b.create_topic(topic.clone()).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | let event = Event::new(topic_b.get_key().clone(), Message { id: 2 }); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `topic_b` an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | let topic_b: /* Type */ = bridged_b.create_topic(topic.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_async.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let handler_b = bridged_b.register(topic.clone(), HandlerB).await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | handler_b.unregister().await; [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `handler_b` an explicit type [INFO] [stdout] | [INFO] [stdout] 58 | let handler_b: /* Type */ = bridged_b.register(topic.clone(), HandlerB).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_async.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let topic_a = bridged_a.create_topic(topic.clone()).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | let event = Event::new(topic_a.get_key().clone(), Message { id: 1 }); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `topic_a` an explicit type [INFO] [stdout] | [INFO] [stdout] 74 | let topic_a: /* Type */ = bridged_a.create_topic(topic.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `comet-eventbus` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "f51cf33a51f813d542463dab78ba67ab8e88818de70108d628e0a633946e4e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f51cf33a51f813d542463dab78ba67ab8e88818de70108d628e0a633946e4e6d", kill_on_drop: false }` [INFO] [stdout] f51cf33a51f813d542463dab78ba67ab8e88818de70108d628e0a633946e4e6d