[INFO] fetching crate web-sugars 1.0.0... [INFO] testing web-sugars-1.0.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate web-sugars 1.0.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate web-sugars 1.0.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38d534f686ffc60bdbddf28668c5d60ae5cf37feedcbf8b0dab812dc2f1e263c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "38d534f686ffc60bdbddf28668c5d60ae5cf37feedcbf8b0dab812dc2f1e263c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38d534f686ffc60bdbddf28668c5d60ae5cf37feedcbf8b0dab812dc2f1e263c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d534f686ffc60bdbddf28668c5d60ae5cf37feedcbf8b0dab812dc2f1e263c", kill_on_drop: false }` [INFO] [stdout] 38d534f686ffc60bdbddf28668c5d60ae5cf37feedcbf8b0dab812dc2f1e263c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80bf2cdc54b4cd0b1b72a6bc1ce551ed055bec88ed2b3abdb2d8aaea01f567bb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "80bf2cdc54b4cd0b1b72a6bc1ce551ed055bec88ed2b3abdb2d8aaea01f567bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling drop_ok v1.0.2 [INFO] [stderr] Compiling drop_some v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling js-sys v0.3.51 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.24 [INFO] [stderr] Compiling web-sys v0.3.51 [INFO] [stderr] Compiling web-sugars v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "80bf2cdc54b4cd0b1b72a6bc1ce551ed055bec88ed2b3abdb2d8aaea01f567bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80bf2cdc54b4cd0b1b72a6bc1ce551ed055bec88ed2b3abdb2d8aaea01f567bb", kill_on_drop: false }` [INFO] [stdout] 80bf2cdc54b4cd0b1b72a6bc1ce551ed055bec88ed2b3abdb2d8aaea01f567bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 607a5ee1e45df39c698661aa6f3115c45aaff7ed780991ccfa61e4cfabe20098 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "607a5ee1e45df39c698661aa6f3115c45aaff7ed780991ccfa61e4cfabe20098", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.24 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.24 [INFO] [stderr] Compiling web-sugars v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.81s [INFO] running `Command { std: "docker" "inspect" "607a5ee1e45df39c698661aa6f3115c45aaff7ed780991ccfa61e4cfabe20098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "607a5ee1e45df39c698661aa6f3115c45aaff7ed780991ccfa61e4cfabe20098", kill_on_drop: false }` [INFO] [stdout] 607a5ee1e45df39c698661aa6f3115c45aaff7ed780991ccfa61e4cfabe20098 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2a57003ca0704d99e653a401f5f3eea34ae48499f93e4044e718daf4f4f35b5e [INFO] running `Command { std: "docker" "start" "-a" "2a57003ca0704d99e653a401f5f3eea34ae48499f93e4044e718daf4f4f35b5e", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/web_sugars-d68ee82fab67979f) [INFO] [stdout] [INFO] [stderr] Running tests/window.rs (/opt/rustwide/target/debug/deps/window-dd14a372cfa7a0eb) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests web-sugars [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] [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] 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] 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.30s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2a57003ca0704d99e653a401f5f3eea34ae48499f93e4044e718daf4f4f35b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a57003ca0704d99e653a401f5f3eea34ae48499f93e4044e718daf4f4f35b5e", kill_on_drop: false }` [INFO] [stdout] 2a57003ca0704d99e653a401f5f3eea34ae48499f93e4044e718daf4f4f35b5e