[INFO] fetching crate tcp_message_io 1.0.4... [INFO] checking tcp_message_io-1.0.4 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate tcp_message_io 1.0.4 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate tcp_message_io 1.0.4 [INFO] finished tweaking crates.io crate tcp_message_io 1.0.4 [INFO] tweaked toml for crates.io crate tcp_message_io 1.0.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tcp_message_io 1.0.4 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 92 packages to latest compatible versions [INFO] [stderr] Adding serial_test v2.0.0 (available: v3.2.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding zstd v0.12.4 (available: v0.13.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v2.0.0 [INFO] [stderr] Downloaded serial_test_derive v2.0.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58c53e5d5e69160c09fc658be969234db3431ffc6387e56870925ff2bf4af1d7 [INFO] running `Command { std: "docker" "start" "-a" "58c53e5d5e69160c09fc658be969234db3431ffc6387e56870925ff2bf4af1d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58c53e5d5e69160c09fc658be969234db3431ffc6387e56870925ff2bf4af1d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c53e5d5e69160c09fc658be969234db3431ffc6387e56870925ff2bf4af1d7", kill_on_drop: false }` [INFO] [stdout] 58c53e5d5e69160c09fc658be969234db3431ffc6387e56870925ff2bf4af1d7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abbbbb1de0aad9cc5c9668d9030775baf6670b957779d885b9413160cbf1c69c [INFO] running `Command { std: "docker" "start" "-a" "abbbbb1de0aad9cc5c9668d9030775baf6670b957779d885b9413160cbf1c69c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tcp_message_io v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/crate_serde.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | 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[E0391]: cycle detected when computing type of `crate_serde::tests::while_server_running::{opaque#0}` [INFO] [stdout] --> src/crate_serde.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | async fn while_server_running(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires computing type of opaque `crate_serde::tests::while_server_running::{opaque#0}`... [INFO] [stdout] --> src/crate_serde.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | async fn while_server_running(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `crate_serde::tests::while_server_running`... [INFO] [stdout] --> src/crate_serde.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | async fn while_server_running(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires promoting constants in MIR for `crate_serde::tests::while_server_running`... [INFO] [stdout] --> src/crate_serde.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | async fn while_server_running(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires checking if `crate_serde::tests::while_server_running` contains FFI-unwind calls... [INFO] [stdout] --> src/crate_serde.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | async fn while_server_running(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `crate_serde::tests::while_server_running`... [INFO] [stdout] --> src/crate_serde.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | async fn while_server_running(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires match-checking `crate_serde::tests::while_server_running`... [INFO] [stdout] --> src/crate_serde.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | async fn while_server_running(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `crate_serde::tests::while_server_running`... [INFO] [stdout] --> src/crate_serde.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `crate_serde::tests::handle_requests::{opaque#0}: core::marker::Send`... [INFO] [stdout] note: ...which requires computing type of opaque `crate_serde::tests::handle_requests::{opaque#0}`... [INFO] [stdout] --> src/crate_serde.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | async fn handle_requests(req: Request) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `crate_serde::tests::handle_requests`... [INFO] [stdout] --> src/crate_serde.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | async fn handle_requests(req: Request) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires promoting constants in MIR for `crate_serde::tests::handle_requests`... [INFO] [stdout] --> src/crate_serde.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | async fn handle_requests(req: Request) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires checking if `crate_serde::tests::handle_requests` contains FFI-unwind calls... [INFO] [stdout] --> src/crate_serde.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | async fn handle_requests(req: Request) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `crate_serde::tests::handle_requests`... [INFO] [stdout] --> src/crate_serde.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | async fn handle_requests(req: Request) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires match-checking `crate_serde::tests::handle_requests`... [INFO] [stdout] --> src/crate_serde.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | async fn handle_requests(req: Request) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `crate_serde::tests::handle_requests`... [INFO] [stdout] --> src/crate_serde.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | async fn handle_requests(req: Request) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which requires checking effective visibilities... [INFO] [stdout] = note: ...which again requires computing type of `crate_serde::tests::while_server_running::{opaque#0}`, completing the cycle [INFO] [stdout] note: cycle used when checking that `crate_serde::tests::while_server_running::{opaque#0}` is well-formed [INFO] [stdout] --> src/crate_serde.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | async fn while_server_running(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot check whether the hidden type of opaque type satisfies auto traits [INFO] [stdout] --> src/crate_serde.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: fetching the hidden types of an opaque inside of the defining scope is not supported. You can try moving the opaque type and the item that actually registers a hidden type into a new submodule [INFO] [stdout] note: opaque type is declared here [INFO] [stdout] --> src/crate_serde.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | async fn handle_requests(req: Request) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer` [INFO] [stdout] --> src/crate_serde.rs:126:50 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct TCPServer [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | F: Future>> + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `TCPServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when checking effective visibilities [INFO] [stdout] | [INFO] [stdout] note: ...which requires computing type of `crate_serde::tests::while_server_running_custom_bad_request::{opaque#0}`... [INFO] [stdout] --> src/crate_serde.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | async fn while_server_running_custom_bad_request(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires computing type of opaque `crate_serde::tests::while_server_running_custom_bad_request::{opaque#0}`... [INFO] [stdout] --> src/crate_serde.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | async fn while_server_running_custom_bad_request(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `crate_serde::tests::while_server_running_custom_bad_request`... [INFO] [stdout] --> src/crate_serde.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | async fn while_server_running_custom_bad_request(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires promoting constants in MIR for `crate_serde::tests::while_server_running_custom_bad_request`... [INFO] [stdout] --> src/crate_serde.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | async fn while_server_running_custom_bad_request(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires checking if `crate_serde::tests::while_server_running_custom_bad_request` contains FFI-unwind calls... [INFO] [stdout] --> src/crate_serde.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | async fn while_server_running_custom_bad_request(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `crate_serde::tests::while_server_running_custom_bad_request`... [INFO] [stdout] --> src/crate_serde.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | async fn while_server_running_custom_bad_request(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires match-checking `crate_serde::tests::while_server_running_custom_bad_request`... [INFO] [stdout] --> src/crate_serde.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | async fn while_server_running_custom_bad_request(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `crate_serde::tests::while_server_running_custom_bad_request`... [INFO] [stdout] --> src/crate_serde.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | async fn while_server_running_custom_bad_request(fut: impl Future) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires checking effective visibilities, completing the cycle [INFO] [stdout] note: cycle used when type-checking `crate_serde::tests::handle_requests` [INFO] [stdout] --> src/crate_serde.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | async fn handle_requests(req: Request) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0391, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tcp_message_io` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "abbbbb1de0aad9cc5c9668d9030775baf6670b957779d885b9413160cbf1c69c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abbbbb1de0aad9cc5c9668d9030775baf6670b957779d885b9413160cbf1c69c", kill_on_drop: false }` [INFO] [stdout] abbbbb1de0aad9cc5c9668d9030775baf6670b957779d885b9413160cbf1c69c