[INFO] cloning repository https://github.com/dghilardi/megaphone-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dghilardi/megaphone-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdghilardi%2Fmegaphone-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdghilardi%2Fmegaphone-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef1fbe95cb138b7891f27c2a549f75680981f3f0 [INFO] testing dghilardi/megaphone-client/ef1fbe95cb138b7891f27c2a549f75680981f3f0 against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdghilardi%2Fmegaphone-client" "/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/dghilardi/megaphone-client [INFO] removed 1 missing examples [INFO] finished tweaking git repo https://github.com/dghilardi/megaphone-client [INFO] tweaked toml for git repo https://github.com/dghilardi/megaphone-client written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dghilardi/megaphone-client on toolchain 1ef7943ee607160a564655b6596f83670ef95df5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dghilardi/megaphone-client 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.52.3 [INFO] [stderr] Downloaded env_logger v0.11.2 [INFO] [stderr] Downloaded anyhow v1.0.80 [INFO] [stderr] Downloaded openssl-sys v0.9.101 [INFO] [stderr] Downloaded cc v1.0.87 [INFO] [stderr] Downloaded bumpalo v3.15.3 [INFO] [stderr] Downloaded hyper v1.2.0 [INFO] [stderr] Downloaded anstream v0.6.12 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.3 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.3 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.3 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.3 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.3 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfb5dbf90a2dbeecb638e9c8ae9d87211e52fb7764b4839a47aa6991d00677b0 [INFO] running `Command { std: "docker" "start" "-a" "cfb5dbf90a2dbeecb638e9c8ae9d87211e52fb7764b4839a47aa6991d00677b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfb5dbf90a2dbeecb638e9c8ae9d87211e52fb7764b4839a47aa6991d00677b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb5dbf90a2dbeecb638e9c8ae9d87211e52fb7764b4839a47aa6991d00677b0", kill_on_drop: false }` [INFO] [stdout] cfb5dbf90a2dbeecb638e9c8ae9d87211e52fb7764b4839a47aa6991d00677b0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ca75322beedf64fc64c608b1fdcbd5542d76c16535261b39cdd394e09e0ed9d [INFO] running `Command { std: "docker" "start" "-a" "8ca75322beedf64fc64c608b1fdcbd5542d76c16535261b39cdd394e09e0ed9d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling megaphone v0.10.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.66s [INFO] running `Command { std: "docker" "inspect" "8ca75322beedf64fc64c608b1fdcbd5542d76c16535261b39cdd394e09e0ed9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ca75322beedf64fc64c608b1fdcbd5542d76c16535261b39cdd394e09e0ed9d", kill_on_drop: false }` [INFO] [stdout] 8ca75322beedf64fc64c608b1fdcbd5542d76c16535261b39cdd394e09e0ed9d [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5a404666b84064a263b85aa6cc1d587b20244b379fd1c7d7fcb422754744f80 [INFO] running `Command { std: "docker" "start" "-a" "a5a404666b84064a263b85aa6cc1d587b20244b379fd1c7d7fcb422754744f80", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.87 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling megaphone v0.10.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.24 [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `megaphone` [INFO] [stdout] --> examples/demo-client/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use megaphone::client::{MegaphoneClient, model::StreamSpec}; [INFO] [stdout] | ^^^^^^ could not find `client` in `megaphone` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 8 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `megaphone::client` [INFO] [stdout] --> examples/demo-client/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use megaphone::client::{MegaphoneClient, model::StreamSpec}; [INFO] [stdout] | ^^^^^^ could not find `client` in `megaphone` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 8 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> examples/demo-client/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/demo-client/main.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[tokio::main(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> examples/demo-client/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/demo-client/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut msg_stream = client.new_unbounded_stream::<_, _, _, NewChatMessagePayload>(initialize_chat_channel).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | [INFO] [stdout] 41 | while let Some(msg) = msg_stream.next().await { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `msg_stream` an explicit type [INFO] [stdout] | [INFO] [stdout] 39 | let mut msg_stream: /* Type */ = client.new_unbounded_stream::<_, _, _, NewChatMessagePayload>(initialize_chat_channel).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/demo-client/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `megaphone` (example "demo-client") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a5a404666b84064a263b85aa6cc1d587b20244b379fd1c7d7fcb422754744f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5a404666b84064a263b85aa6cc1d587b20244b379fd1c7d7fcb422754744f80", kill_on_drop: false }` [INFO] [stdout] a5a404666b84064a263b85aa6cc1d587b20244b379fd1c7d7fcb422754744f80