[INFO] fetching crate mio_gloo_file 0.1.1... [INFO] checking mio_gloo_file-0.1.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate mio_gloo_file 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate mio_gloo_file 0.1.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages [INFO] [stderr] Adding gloo-events v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b80f33ce4f8370ce70034c90b6bb9be2d48ff2889db2415d7abdc2c307b52970 [INFO] running `Command { std: "docker" "start" "-a" "b80f33ce4f8370ce70034c90b6bb9be2d48ff2889db2415d7abdc2c307b52970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b80f33ce4f8370ce70034c90b6bb9be2d48ff2889db2415d7abdc2c307b52970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b80f33ce4f8370ce70034c90b6bb9be2d48ff2889db2415d7abdc2c307b52970", kill_on_drop: false }` [INFO] [stdout] b80f33ce4f8370ce70034c90b6bb9be2d48ff2889db2415d7abdc2c307b52970 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b459d727c5fbcefd2fbd0655ca9ca68a6eb94aa0471356d1c12bc87ccfbe6190 [INFO] running `Command { std: "docker" "start" "-a" "b459d727c5fbcefd2fbd0655ca9ca68a6eb94aa0471356d1c12bc87ccfbe6190", kill_on_drop: false }` [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking mio_gloo_file v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/blob.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::{prelude::*, throw_str, JsCast}; [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `JsCast` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/file_reader.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::{prelude::*, throw_str, JsCast, UnwrapThrowExt}; [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `JsCast` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `UnwrapThrowExt` is imported redundantly [INFO] [stdout] --> src/file_reader.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::{prelude::*, throw_str, JsCast, UnwrapThrowExt}; [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `UnwrapThrowExt` is already imported here [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/blob.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::{prelude::*, throw_str, JsCast}; [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `JsCast` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/file_reader.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::{prelude::*, throw_str, JsCast, UnwrapThrowExt}; [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `JsCast` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `gloo_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `UnwrapThrowExt` is imported redundantly [INFO] [stdout] --> src/file_reader.rs:10:55 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::{prelude::*, throw_str, JsCast, UnwrapThrowExt}; [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `UnwrapThrowExt` is already imported here [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 undeclared crate or module `gloo_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b459d727c5fbcefd2fbd0655ca9ca68a6eb94aa0471356d1c12bc87ccfbe6190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b459d727c5fbcefd2fbd0655ca9ca68a6eb94aa0471356d1c12bc87ccfbe6190", kill_on_drop: false }` [INFO] [stdout] b459d727c5fbcefd2fbd0655ca9ca68a6eb94aa0471356d1c12bc87ccfbe6190