[INFO] cloning repository https://github.com/mjhatamy/hybrid_stream-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mjhatamy/hybrid_stream-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjhatamy%2Fhybrid_stream-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjhatamy%2Fhybrid_stream-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed61dd8c0560bfdf3fd185981c68b9204cca7d65 [INFO] checking mjhatamy/hybrid_stream-rs against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjhatamy%2Fhybrid_stream-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mjhatamy/hybrid_stream-rs on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mjhatamy/hybrid_stream-rs [INFO] finished tweaking git repo https://github.com/mjhatamy/hybrid_stream-rs [INFO] tweaked toml for git repo https://github.com/mjhatamy/hybrid_stream-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mjhatamy/hybrid_stream-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded sysinfo v0.35.0 [INFO] [stderr] Downloaded objc2-io-kit v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f1598eca1f9fa2c5a5fea474ad40bbde2f3d2e604690f5ca669b8ac8220f181 [INFO] running `Command { std: "docker" "start" "-a" "0f1598eca1f9fa2c5a5fea474ad40bbde2f3d2e604690f5ca669b8ac8220f181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f1598eca1f9fa2c5a5fea474ad40bbde2f3d2e604690f5ca669b8ac8220f181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1598eca1f9fa2c5a5fea474ad40bbde2f3d2e604690f5ca669b8ac8220f181", kill_on_drop: false }` [INFO] [stdout] 0f1598eca1f9fa2c5a5fea474ad40bbde2f3d2e604690f5ca669b8ac8220f181 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 816d3524605a221b8ef9c73873af32905d279f9f9cf2cd201d8133461c3cba7a [INFO] running `Command { std: "docker" "start" "-a" "816d3524605a221b8ef9c73873af32905d279f9f9cf2cd201d8133461c3cba7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking sysinfo v0.35.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking hybrid_stream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hybrid_stream::*` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hybrid_stream::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hybrid_stream::*` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hybrid_stream::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SourceError` is never constructed [INFO] [stdout] --> src/hybrid_stream.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum HybridStreamError { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 16 | IoError(String), [INFO] [stdout] 17 | SourceError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HybridStreamError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Memory` and `File` are never constructed [INFO] [stdout] --> src/hybrid_stream.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum StorageBackend { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 39 | Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `store_bytes` is never used [INFO] [stdout] --> src/hybrid_stream.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl StorageBackend { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 51 | fn store_bytes(&mut self, bytes: &[u8]) -> Result<(), HybridStreamError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/hybrid_stream.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | struct HybridStreamState { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 109 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `should_use_file_storage` are never used [INFO] [stdout] --> src/hybrid_stream.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl HybridStream { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 143 | // Create a new HybridStream with the given source stream and memory threshold [INFO] [stdout] 144 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn should_use_file_storage(threshold: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SourceError` is never constructed [INFO] [stdout] --> src/hybrid_stream.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum HybridStreamError { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 16 | IoError(String), [INFO] [stdout] 17 | SourceError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HybridStreamError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Memory` and `File` are never constructed [INFO] [stdout] --> src/hybrid_stream.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum StorageBackend { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 39 | Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `store_bytes` is never used [INFO] [stdout] --> src/hybrid_stream.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl StorageBackend { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 51 | fn store_bytes(&mut self, bytes: &[u8]) -> Result<(), HybridStreamError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/hybrid_stream.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | struct HybridStreamState { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 109 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `should_use_file_storage` are never used [INFO] [stdout] --> src/hybrid_stream.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl HybridStream { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 143 | // Create a new HybridStream with the given source stream and memory threshold [INFO] [stdout] 144 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn should_use_file_storage(threshold: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.54s [INFO] running `Command { std: "docker" "inspect" "816d3524605a221b8ef9c73873af32905d279f9f9cf2cd201d8133461c3cba7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "816d3524605a221b8ef9c73873af32905d279f9f9cf2cd201d8133461c3cba7a", kill_on_drop: false }` [INFO] [stdout] 816d3524605a221b8ef9c73873af32905d279f9f9cf2cd201d8133461c3cba7a