[INFO] fetching crate webfetch 0.0.1... [INFO] testing webfetch-0.0.1 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] extracting crate webfetch 0.0.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate webfetch 0.0.1 [INFO] finished tweaking crates.io crate webfetch 0.0.1 [INFO] tweaked toml for crates.io crate webfetch 0.0.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate webfetch 0.0.1 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate webfetch 0.0.1 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92acbd5d3477f47cb88a944b1f3fe105022ea3e861f06c3827bd51d08d061240 [INFO] running `Command { std: "docker" "start" "-a" "92acbd5d3477f47cb88a944b1f3fe105022ea3e861f06c3827bd51d08d061240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92acbd5d3477f47cb88a944b1f3fe105022ea3e861f06c3827bd51d08d061240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92acbd5d3477f47cb88a944b1f3fe105022ea3e861f06c3827bd51d08d061240", kill_on_drop: false }` [INFO] [stdout] 92acbd5d3477f47cb88a944b1f3fe105022ea3e861f06c3827bd51d08d061240 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ebb5b33ec130116915bf91b52d666ebc438ab12b1e16d91a6004e6912abc111 [INFO] running `Command { std: "docker" "start" "-a" "5ebb5b33ec130116915bf91b52d666ebc438ab12b1e16d91a6004e6912abc111", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.223 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling streamdigest v0.1.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling webfetch v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 17s [INFO] running `Command { std: "docker" "inspect" "5ebb5b33ec130116915bf91b52d666ebc438ab12b1e16d91a6004e6912abc111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ebb5b33ec130116915bf91b52d666ebc438ab12b1e16d91a6004e6912abc111", kill_on_drop: false }` [INFO] [stdout] 5ebb5b33ec130116915bf91b52d666ebc438ab12b1e16d91a6004e6912abc111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb00f140d93c7dae7793ba457017db7359da117e80764eecde10930e86584986 [INFO] running `Command { std: "docker" "start" "-a" "bb00f140d93c7dae7793ba457017db7359da117e80764eecde10930e86584986", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling serde_path_to_error v0.1.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling streamdigest v0.1.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling webfetch v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `test_hash` [INFO] [stdout] --> src/download_manager.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let test_hash = Hasher::sha256sum(test_content); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "bb00f140d93c7dae7793ba457017db7359da117e80764eecde10930e86584986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb00f140d93c7dae7793ba457017db7359da117e80764eecde10930e86584986", kill_on_drop: false }` [INFO] [stdout] bb00f140d93c7dae7793ba457017db7359da117e80764eecde10930e86584986 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63b4f5366c242e950683f82baa20413ae160597da473bbb7b9579711bf05447a [INFO] running `Command { std: "docker" "start" "-a" "63b4f5366c242e950683f82baa20413ae160597da473bbb7b9579711bf05447a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `test_hash` [INFO] [stderr] --> src/download_manager.rs:494:13 [INFO] [stderr] | [INFO] [stderr] 494 | let test_hash = Hasher::sha256sum(test_content); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_hash` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `webfetch` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/webfetch-03fe9e9f9e866a7a) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test download_manager::test_download_manager::test_download_manager_filename_generation ... ok [INFO] [stdout] test download_manager::test_download_manager::test_file_cache_with_valid_hash ... ok [INFO] [stdout] test download_manager::test_download_manager::test_download_progress_events ... ok [INFO] [stdout] test download_manager::test_download_manager::test_download_failure ... ok [INFO] [stdout] test download_manager::test_download_manager::test_file_caching ... ok [INFO] [stdout] test download_manager::test_download_manager::test_file_cache_invalid_hash ... ok [INFO] [stdout] test download_manager::test_download_manager::test_warm_cache ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] Doc-tests webfetch [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "63b4f5366c242e950683f82baa20413ae160597da473bbb7b9579711bf05447a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b4f5366c242e950683f82baa20413ae160597da473bbb7b9579711bf05447a", kill_on_drop: false }` [INFO] [stdout] 63b4f5366c242e950683f82baa20413ae160597da473bbb7b9579711bf05447a