[INFO] fetching crate cryprot-net 0.1.0... [INFO] checking cryprot-net-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cryprot-net 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate cryprot-net 0.1.0 [INFO] finished tweaking crates.io crate cryprot-net 0.1.0 [INFO] tweaked toml for crates.io crate cryprot-net 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cryprot-net 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 219 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 986acbad693898fff293736d1a0f6446d057cc3a0c064fca0ffd749ee122a9b3 [INFO] running `Command { std: "docker" "start" "-a" "986acbad693898fff293736d1a0f6446d057cc3a0c064fca0ffd749ee122a9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "986acbad693898fff293736d1a0f6446d057cc3a0c064fca0ffd749ee122a9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986acbad693898fff293736d1a0f6446d057cc3a0c064fca0ffd749ee122a9b3", kill_on_drop: false }` [INFO] [stdout] 986acbad693898fff293736d1a0f6446d057cc3a0c064fca0ffd749ee122a9b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 945b618ae15f985acd9505f531b4cec892a9f87c784f95b29a64eaaad8db0248 [INFO] running `Command { std: "docker" "start" "-a" "945b618ae15f985acd9505f531b4cec892a9f87c784f95b29a64eaaad8db0248", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling s2n-tls v0.3.24 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking errno v0.3.13 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling s2n-quic-platform v0.63.0 [INFO] [stderr] Checking intrusive-collections v0.9.7 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling s2n-tls-sys v0.3.24 [INFO] [stderr] Checking hash_hasher v2.0.4 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.26 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking s2n-codec v0.63.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking s2n-quic-core v0.63.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking cuckoofilter v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tokio-serde v0.9.0 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking s2n-quic-transport v0.63.0 [INFO] [stderr] Checking s2n-quic-crypto v0.63.0 [INFO] [stderr] Checking s2n-quic-tls v0.63.0 [INFO] [stderr] Checking s2n-quic-tls-default v0.63.0 [INFO] [stderr] Checking s2n-quic v1.63.0 [INFO] [stderr] Checking cryprot-net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::metrics` [INFO] [stdout] --> src/testing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | metrics::{new_comm_layer, CommLayerData}, [INFO] [stdout] | ^^^^^^^ could not find `metrics` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "metrics")] [INFO] [stdout] | ------------------- the item is gated behind the `metrics` feature [INFO] [stdout] 33 | pub mod metrics; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> src/testing.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use tracing_subscriber::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> src/testing.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use tracing_subscriber::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:467:36 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn as_stream(&mut self) -> TempSendStream { [INFO] [stdout] | ^^^^^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 467 | pub fn as_stream(&mut self) -> TempSendStream<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:515:43 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn as_stream(&mut self) -> ReceiveStreamTemp { [INFO] [stdout] | ^^^^^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 515 | pub fn as_stream(&mut self) -> ReceiveStreamTemp<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> src/testing.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | tracing_subscriber::fmt() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:697:31 [INFO] [stdout] | [INFO] [stdout] 697 | let (_, mut recv) = c.stream().await?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `stream` [INFO] [stdout] 698 | snd.send(vec![u8::MAX; 16]).await?; [INFO] [stdout] 699 | let ret: Vec<_> = recv.next().await.context("recv")??; [INFO] [stdout] | ----------------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 697 | let (_, mut recv) = c.stream::>().await?; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:697:31 [INFO] [stdout] | [INFO] [stdout] 697 | let (_, mut recv) = c.stream().await?; [INFO] [stdout] | ^^^^^^ cannot infer type of the type parameter `T` declared on the method `stream` [INFO] [stdout] ... [INFO] [stdout] 700 | assert_eq!(vec![u8::MAX; 16], ret); [INFO] [stdout] | ---------------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `u8: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for u8; [INFO] [stdout] - impl PartialEq for u8; [INFO] [stdout] = note: required for `Vec` to implement `PartialEq>` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 697 | let (_, mut recv) = c.stream::>().await?; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0283, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryprot-net` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "945b618ae15f985acd9505f531b4cec892a9f87c784f95b29a64eaaad8db0248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "945b618ae15f985acd9505f531b4cec892a9f87c784f95b29a64eaaad8db0248", kill_on_drop: false }` [INFO] [stdout] 945b618ae15f985acd9505f531b4cec892a9f87c784f95b29a64eaaad8db0248