[INFO] fetching crate gloo-file 0.3.0... [INFO] checking gloo-file-0.3.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate gloo-file 0.3.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate gloo-file 0.3.0 [INFO] finished tweaking crates.io crate gloo-file 0.3.0 [INFO] tweaked toml for crates.io crate gloo-file 0.3.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gloo-file 0.3.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-events v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06b03232d0b251bf44a9308ee2ed6b5cd6863309b61f504770a63e4345f9f933 [INFO] running `Command { std: "docker" "start" "-a" "06b03232d0b251bf44a9308ee2ed6b5cd6863309b61f504770a63e4345f9f933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06b03232d0b251bf44a9308ee2ed6b5cd6863309b61f504770a63e4345f9f933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b03232d0b251bf44a9308ee2ed6b5cd6863309b61f504770a63e4345f9f933", kill_on_drop: false }` [INFO] [stdout] 06b03232d0b251bf44a9308ee2ed6b5cd6863309b61f504770a63e4345f9f933 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe2643c46c20d30468a0c45198f5b3ab8dd9411c9ea596666e9f2dcd60db7c61 [INFO] running `Command { std: "docker" "start" "-a" "fe2643c46c20d30468a0c45198f5b3ab8dd9411c9ea596666e9f2dcd60db7c61", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-file v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `web_sys::BlobPropertyBag::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/blob.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | properties.type_(mime_type); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::FilePropertyBag::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/blob.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | options.type_(mime_type); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::FilePropertyBag::last_modified`: Use `set_last_modified()` instead. [INFO] [stdout] --> src/blob.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | options.last_modified(duration); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::BlobPropertyBag::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/blob.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | properties.type_(mime_type); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::FilePropertyBag::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/blob.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | options.type_(mime_type); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::FilePropertyBag::last_modified`: Use `set_last_modified()` instead. [INFO] [stdout] --> src/blob.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | options.last_modified(duration); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> tests/web.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture` [INFO] [stdout] --> tests/web.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectUrl` [INFO] [stdout] --> tests/web.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | use gloo_file::{callbacks::read_as_text, Blob, File, ObjectUrl}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `window` [INFO] [stdout] --> tests/web.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use web_sys::{window, Response}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blob_from_str` is never used [INFO] [stdout] --> tests/web.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn blob_from_str() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_from_str` is never used [INFO] [stdout] --> tests/web.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | async fn file_from_str() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `png_file` is never used [INFO] [stdout] --> tests/web.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn png_file() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modified_since` is never used [INFO] [stdout] --> tests/web.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn modified_since() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PNG_FILE` is never used [INFO] [stdout] --> tests/web.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | const PNG_FILE: &[u8] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.42s [INFO] running `Command { std: "docker" "inspect" "fe2643c46c20d30468a0c45198f5b3ab8dd9411c9ea596666e9f2dcd60db7c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe2643c46c20d30468a0c45198f5b3ab8dd9411c9ea596666e9f2dcd60db7c61", kill_on_drop: false }` [INFO] [stdout] fe2643c46c20d30468a0c45198f5b3ab8dd9411c9ea596666e9f2dcd60db7c61