[INFO] fetching crate cryprot-net 0.1.0... [INFO] testing cryprot-net-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate cryprot-net 0.1.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cryprot-net 0.1.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 214 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] [stderr] Adding libloading v0.8.8 (available: v0.8.9) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ec5746825bf7cdd0a5670aa7ebd26ee0d152137b1d73b242879b822b0fa76f80 [INFO] running `Command { std: "docker" "start" "-a" "ec5746825bf7cdd0a5670aa7ebd26ee0d152137b1d73b242879b822b0fa76f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec5746825bf7cdd0a5670aa7ebd26ee0d152137b1d73b242879b822b0fa76f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec5746825bf7cdd0a5670aa7ebd26ee0d152137b1d73b242879b822b0fa76f80", kill_on_drop: false }` [INFO] [stdout] ec5746825bf7cdd0a5670aa7ebd26ee0d152137b1d73b242879b822b0fa76f80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0aaa2738e3bac43319db58483c6d8a691c88b35e993ebd389fe234af0d987034 [INFO] running `Command { std: "docker" "start" "-a" "0aaa2738e3bac43319db58483c6d8a691c88b35e993ebd389fe234af0d987034", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling s2n-tls v0.3.28 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling s2n-quic-platform v0.66.0 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling hash_hasher v2.0.4 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling intrusive-collections v0.9.7 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling s2n-tls-sys v0.3.28 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling aws-lc-sys v0.32.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [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] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling s2n-codec v0.66.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio-serde v0.9.0 [INFO] [stderr] Compiling s2n-quic-core v0.66.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling cuckoofilter v0.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling s2n-quic-crypto v0.66.0 [INFO] [stderr] Compiling s2n-quic-transport v0.66.0 [INFO] [stderr] Compiling s2n-quic-tls v0.66.0 [INFO] [stderr] Compiling s2n-quic-tls-default v0.66.0 [INFO] [stderr] Compiling s2n-quic v1.66.0 [INFO] [stderr] Compiling cryprot-net v0.1.0 (/opt/rustwide/workdir) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "0aaa2738e3bac43319db58483c6d8a691c88b35e993ebd389fe234af0d987034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aaa2738e3bac43319db58483c6d8a691c88b35e993ebd389fe234af0d987034", kill_on_drop: false }` [INFO] [stdout] 0aaa2738e3bac43319db58483c6d8a691c88b35e993ebd389fe234af0d987034 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8e2987b8026aabb6d9c55efadc66661902f7833983dde3e5103de20e1ef4c2e4 [INFO] running `Command { std: "docker" "start" "-a" "8e2987b8026aabb6d9c55efadc66661902f7833983dde3e5103de20e1ef4c2e4", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tokio-serde v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling s2n-quic-core v0.66.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling s2n-quic-crypto v0.66.0 [INFO] [stderr] Compiling s2n-quic-platform v0.66.0 [INFO] [stderr] Compiling s2n-quic-transport v0.66.0 [INFO] [stderr] Compiling s2n-quic-tls v0.66.0 [INFO] [stderr] Compiling s2n-quic-tls-default v0.66.0 [INFO] [stderr] Compiling s2n-quic v1.66.0 [INFO] [stderr] Compiling cryprot-net v0.1.0 (/opt/rustwide/workdir) [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[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] 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" "8e2987b8026aabb6d9c55efadc66661902f7833983dde3e5103de20e1ef4c2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e2987b8026aabb6d9c55efadc66661902f7833983dde3e5103de20e1ef4c2e4", kill_on_drop: false }` [INFO] [stdout] 8e2987b8026aabb6d9c55efadc66661902f7833983dde3e5103de20e1ef4c2e4