[INFO] fetching crate web-sugars 1.0.0... [INFO] testing web-sugars-1.0.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate web-sugars 1.0.0 into /workspace/builds/worker-67/source [INFO] validating manifest of crates.io crate web-sugars 1.0.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-67/source/.cargo/config.toml [INFO] started tweaking crates.io crate web-sugars 1.0.0 [INFO] finished tweaking crates.io crate web-sugars 1.0.0 [INFO] tweaked toml for crates.io crate web-sugars 1.0.0 written to /workspace/builds/worker-67/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded drop_ok v1.0.2 [INFO] [stderr] Downloaded drop_some v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f0ec0ec579f57bbd0fd7c23e9804766dd4417b3b392205a15670ccc2514e342 [INFO] running `Command { std: "docker" "start" "-a" "0f0ec0ec579f57bbd0fd7c23e9804766dd4417b3b392205a15670ccc2514e342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f0ec0ec579f57bbd0fd7c23e9804766dd4417b3b392205a15670ccc2514e342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f0ec0ec579f57bbd0fd7c23e9804766dd4417b3b392205a15670ccc2514e342", kill_on_drop: false }` [INFO] [stdout] 0f0ec0ec579f57bbd0fd7c23e9804766dd4417b3b392205a15670ccc2514e342 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88218b8825b98680e53f5df13a6a59c7b183bd0052d73f3c1483063efbe4c6cc [INFO] running `Command { std: "docker" "start" "-a" "88218b8825b98680e53f5df13a6a59c7b183bd0052d73f3c1483063efbe4c6cc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling drop_ok v1.0.2 [INFO] [stderr] Compiling drop_some v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling js-sys v0.3.55 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.28 [INFO] [stderr] Compiling web-sys v0.3.55 [INFO] [stderr] Compiling web-sugars v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.26s [INFO] running `Command { std: "docker" "inspect" "88218b8825b98680e53f5df13a6a59c7b183bd0052d73f3c1483063efbe4c6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88218b8825b98680e53f5df13a6a59c7b183bd0052d73f3c1483063efbe4c6cc", kill_on_drop: false }` [INFO] [stdout] 88218b8825b98680e53f5df13a6a59c7b183bd0052d73f3c1483063efbe4c6cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f774ab92b7c26ed475078db90601651cc485e193a3763ed523ed4e1d37da7e66 [INFO] running `Command { std: "docker" "start" "-a" "f774ab92b7c26ed475078db90601651cc485e193a3763ed523ed4e1d37da7e66", kill_on_drop: false }` [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.28 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.28 [INFO] [stderr] Compiling web-sugars v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "f774ab92b7c26ed475078db90601651cc485e193a3763ed523ed4e1d37da7e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f774ab92b7c26ed475078db90601651cc485e193a3763ed523ed4e1d37da7e66", kill_on_drop: false }` [INFO] [stdout] f774ab92b7c26ed475078db90601651cc485e193a3763ed523ed4e1d37da7e66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30b3f1fad245b65ab1c70a617082f4408f6fd7c1a89d54c4bfbae8eba5ce3453 [INFO] running `Command { std: "docker" "start" "-a" "30b3f1fad245b65ab1c70a617082f4408f6fd7c1a89d54c4bfbae8eba5ce3453", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/web_sugars-838ff74a4fabf5bd) [INFO] [stderr] Running tests/window.rs (/opt/rustwide/target/debug/deps/window-dd114d274a82c1fc) [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] [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] [stderr] Doc-tests web-sugars [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/error.rs - error::WebSysSugarsError (line 6) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/error.rs - error::WebSysSugarsError (line 6) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web_sys_sugars` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys_sugars::prelude::get_window; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `web_sys_sugars` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use web_sugars::prelude::get_window; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/error.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] wasm_bindgen::prelude::wasm_bindgen [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/error.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 5 | fn my_function() -> Result [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/error.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 5 | fn my_function() -> Result [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_window` in this scope [INFO] [stdout] --> src/error.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 7 | let _w = get_window()?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use web_sugars::window::get_window; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/error.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 13 | let _w = web_sys::window().ok_or(JsValue::from_str("Could not retrieve the Window object."))?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/error.rs - error::WebSysSugarsError (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "30b3f1fad245b65ab1c70a617082f4408f6fd7c1a89d54c4bfbae8eba5ce3453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30b3f1fad245b65ab1c70a617082f4408f6fd7c1a89d54c4bfbae8eba5ce3453", kill_on_drop: false }` [INFO] [stdout] 30b3f1fad245b65ab1c70a617082f4408f6fd7c1a89d54c4bfbae8eba5ce3453