[INFO] fetching crate megaphone 0.10.4... [INFO] testing megaphone-0.10.4 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate megaphone 0.10.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate megaphone 0.10.4 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate megaphone 0.10.4 [INFO] tweaked toml for crates.io crate megaphone 0.10.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate megaphone 0.10.4 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate megaphone 0.10.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f983cc7e42c83f2a8c9e32c9a04e418145401b082ef0dc5b67e1da673d5dd2b9 [INFO] running `Command { std: "docker" "start" "-a" "f983cc7e42c83f2a8c9e32c9a04e418145401b082ef0dc5b67e1da673d5dd2b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f983cc7e42c83f2a8c9e32c9a04e418145401b082ef0dc5b67e1da673d5dd2b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f983cc7e42c83f2a8c9e32c9a04e418145401b082ef0dc5b67e1da673d5dd2b9", kill_on_drop: false }` [INFO] [stdout] f983cc7e42c83f2a8c9e32c9a04e418145401b082ef0dc5b67e1da673d5dd2b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dcbed84b0642992b235592fda326196733631caddbcc2a5ec2a7d17786e09cf [INFO] running `Command { std: "docker" "start" "-a" "5dcbed84b0642992b235592fda326196733631caddbcc2a5ec2a7d17786e09cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [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 anyhow v1.0.80 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling getrandom v0.2.12 [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 15.26s [INFO] running `Command { std: "docker" "inspect" "5dcbed84b0642992b235592fda326196733631caddbcc2a5ec2a7d17786e09cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dcbed84b0642992b235592fda326196733631caddbcc2a5ec2a7d17786e09cf", kill_on_drop: false }` [INFO] [stdout] 5dcbed84b0642992b235592fda326196733631caddbcc2a5ec2a7d17786e09cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79c5b71a292e143187e193aeba96972a16d3d0f61774aba42617b4b42657c093 [INFO] running `Command { std: "docker" "start" "-a" "79c5b71a292e143187e193aeba96972a16d3d0f61774aba42617b4b42657c093", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.87 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tokio v1.36.0 [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 h2 v0.3.24 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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[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: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `megaphone` (example "demo-client") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "79c5b71a292e143187e193aeba96972a16d3d0f61774aba42617b4b42657c093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79c5b71a292e143187e193aeba96972a16d3d0f61774aba42617b4b42657c093", kill_on_drop: false }` [INFO] [stdout] 79c5b71a292e143187e193aeba96972a16d3d0f61774aba42617b4b42657c093