[INFO] fetching crate mio_gloo_file 0.1.1... [INFO] checking mio_gloo_file-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mio_gloo_file 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate mio_gloo_file 0.1.1 [INFO] finished tweaking crates.io crate mio_gloo_file 0.1.1 [INFO] tweaked toml for crates.io crate mio_gloo_file 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mio_gloo_file 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] [stderr] Adding gloo-events v0.1.2 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edc72a1c40e22ea93d79df88d0cfef1b7fb419f9db3abbd80344630d951dec64 [INFO] running `Command { std: "docker" "start" "-a" "edc72a1c40e22ea93d79df88d0cfef1b7fb419f9db3abbd80344630d951dec64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edc72a1c40e22ea93d79df88d0cfef1b7fb419f9db3abbd80344630d951dec64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc72a1c40e22ea93d79df88d0cfef1b7fb419f9db3abbd80344630d951dec64", kill_on_drop: false }` [INFO] [stdout] edc72a1c40e22ea93d79df88d0cfef1b7fb419f9db3abbd80344630d951dec64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5b07b490a194033dc295d24456524cf9a0c5e7637656de75f45adf6111d4c8d [INFO] running `Command { std: "docker" "start" "-a" "c5b07b490a194033dc295d24456524cf9a0c5e7637656de75f45adf6111d4c8d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [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] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking futures-util v0.3.31 [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.1.2 [INFO] [stderr] Checking mio_gloo_file v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `web_sys::BlobPropertyBag::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/blob.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | 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:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | 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:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | options.last_modified(duration); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `load_listener` and `error_listener` are never read [INFO] [stdout] --> src/file_reader.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FileReader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 16 | reader: web_sys::FileReader, [INFO] [stdout] 17 | load_listener: EventListener, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | error_listener: EventListener, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::BlobPropertyBag::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/blob.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | 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:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | 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:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | options.last_modified(duration); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gloo_file` [INFO] [stdout] --> tests/web.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use gloo_file::{callbacks::read_as_text, Blob, File}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `gloo_file` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gloo_file`, use `cargo add gloo_file` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `load_listener` and `error_listener` are never read [INFO] [stdout] --> src/file_reader.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FileReader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 16 | reader: web_sys::FileReader, [INFO] [stdout] 17 | load_listener: EventListener, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | error_listener: EventListener, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gloo_file` [INFO] [stdout] --> tests/web.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use gloo_file::{callbacks::read_as_text, Blob, File}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `gloo_file` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gloo_file`, use `cargo add gloo_file` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mio_gloo_file` (test "web") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c5b07b490a194033dc295d24456524cf9a0c5e7637656de75f45adf6111d4c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5b07b490a194033dc295d24456524cf9a0c5e7637656de75f45adf6111d4c8d", kill_on_drop: false }` [INFO] [stdout] c5b07b490a194033dc295d24456524cf9a0c5e7637656de75f45adf6111d4c8d