[INFO] fetching crate tcp_message_io 1.0.4... [INFO] checking tcp_message_io-1.0.4 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate tcp_message_io 1.0.4 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tcp_message_io 1.0.4 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cb65229b920338f9417f71baf51d637fe55bc2818d1b23aeb7f3cab50402f70 [INFO] running `Command { std: "docker" "start" "-a" "0cb65229b920338f9417f71baf51d637fe55bc2818d1b23aeb7f3cab50402f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cb65229b920338f9417f71baf51d637fe55bc2818d1b23aeb7f3cab50402f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb65229b920338f9417f71baf51d637fe55bc2818d1b23aeb7f3cab50402f70", kill_on_drop: false }` [INFO] [stdout] 0cb65229b920338f9417f71baf51d637fe55bc2818d1b23aeb7f3cab50402f70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19bbb29dd6906c2b1854b6965bf4fffc18684b5314d0380f3464364fa91a0568 [INFO] running `Command { std: "docker" "start" "-a" "19bbb29dd6906c2b1854b6965bf4fffc18684b5314d0380f3464364fa91a0568", kill_on_drop: false }` [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.106 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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 tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [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] running `Command { std: "docker" "inspect" "19bbb29dd6906c2b1854b6965bf4fffc18684b5314d0380f3464364fa91a0568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19bbb29dd6906c2b1854b6965bf4fffc18684b5314d0380f3464364fa91a0568", kill_on_drop: false }` [INFO] [stdout] 19bbb29dd6906c2b1854b6965bf4fffc18684b5314d0380f3464364fa91a0568