[INFO] fetching crate cryprot-net 0.1.0... [INFO] testing cryprot-net-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cryprot-net 0.1.0 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cryprot-net 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 216 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded s2n-quic-tls-default v0.64.0 [INFO] [stderr] Downloaded s2n-quic v1.64.0 [INFO] [stderr] Downloaded s2n-quic-tls v0.64.0 [INFO] [stderr] Downloaded s2n-codec v0.64.0 [INFO] [stderr] Downloaded hash_hasher v2.0.4 [INFO] [stderr] Downloaded s2n-quic-rustls v0.64.0 [INFO] [stderr] Downloaded s2n-quic-crypto v0.64.0 [INFO] [stderr] Downloaded s2n-quic-platform v0.64.0 [INFO] [stderr] Downloaded s2n-tls v0.3.25 [INFO] [stderr] Downloaded s2n-quic-transport v0.64.0 [INFO] [stderr] Downloaded s2n-tls-sys v0.3.25 [INFO] [stderr] Downloaded s2n-quic-core v0.64.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38d38ab4638b39cd49e19ebc3c14dbea64debe62061251212ed18b302be96b68 [INFO] running `Command { std: "docker" "start" "-a" "38d38ab4638b39cd49e19ebc3c14dbea64debe62061251212ed18b302be96b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38d38ab4638b39cd49e19ebc3c14dbea64debe62061251212ed18b302be96b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d38ab4638b39cd49e19ebc3c14dbea64debe62061251212ed18b302be96b68", kill_on_drop: false }` [INFO] [stdout] 38d38ab4638b39cd49e19ebc3c14dbea64debe62061251212ed18b302be96b68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc1124194c30a7aeaf04c04334e4000a63b41a0a49ae567166aa85d7d898c71e [INFO] running `Command { std: "docker" "start" "-a" "bc1124194c30a7aeaf04c04334e4000a63b41a0a49ae567166aa85d7d898c71e", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling s2n-tls v0.3.25 [INFO] [stderr] Compiling errno v0.3.13 [INFO] [stderr] Compiling zerocopy-derive v0.8.26 [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 enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling s2n-quic-platform v0.64.0 [INFO] [stderr] Compiling s2n-tls-sys v0.3.25 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling hash_hasher v2.0.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling s2n-codec v0.64.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [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 s2n-quic-core v0.64.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling cuckoofilter v0.5.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tokio-serde v0.9.0 [INFO] [stderr] Compiling s2n-quic-crypto v0.64.0 [INFO] [stderr] Compiling s2n-quic-transport v0.64.0 [INFO] [stderr] Compiling s2n-quic-tls v0.64.0 [INFO] [stderr] Compiling s2n-quic-tls-default v0.64.0 [INFO] [stderr] Compiling s2n-quic v1.64.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 39.05s [INFO] running `Command { std: "docker" "inspect" "bc1124194c30a7aeaf04c04334e4000a63b41a0a49ae567166aa85d7d898c71e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc1124194c30a7aeaf04c04334e4000a63b41a0a49ae567166aa85d7d898c71e", kill_on_drop: false }` [INFO] [stdout] bc1124194c30a7aeaf04c04334e4000a63b41a0a49ae567166aa85d7d898c71e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b69569b5e0fd94c3263069550767054ff6201570bd5dc7e00a30c1c738c0384 [INFO] running `Command { std: "docker" "start" "-a" "9b69569b5e0fd94c3263069550767054ff6201570bd5dc7e00a30c1c738c0384", kill_on_drop: false }` [INFO] [stderr] Compiling s2n-quic-core v0.64.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tokio-serde v0.9.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling s2n-quic-crypto v0.64.0 [INFO] [stderr] Compiling s2n-quic-transport v0.64.0 [INFO] [stderr] Compiling s2n-quic-platform v0.64.0 [INFO] [stderr] Compiling s2n-quic-tls v0.64.0 [INFO] [stderr] Compiling s2n-quic-tls-default v0.64.0 [INFO] [stderr] Compiling s2n-quic v1.64.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" "9b69569b5e0fd94c3263069550767054ff6201570bd5dc7e00a30c1c738c0384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b69569b5e0fd94c3263069550767054ff6201570bd5dc7e00a30c1c738c0384", kill_on_drop: false }` [INFO] [stdout] 9b69569b5e0fd94c3263069550767054ff6201570bd5dc7e00a30c1c738c0384