[INFO] cloning repository https://github.com/farrelke/rust-browser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/farrelke/rust-browser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffarrelke%2Frust-browser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffarrelke%2Frust-browser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a648c3e940274a76c25e1b363cc96909a7e12f4 [INFO] checking farrelke/rust-browser against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffarrelke%2Frust-browser" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/farrelke/rust-browser on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/farrelke/rust-browser [INFO] finished tweaking git repo https://github.com/farrelke/rust-browser [INFO] tweaked toml for git repo https://github.com/farrelke/rust-browser written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/farrelke/rust-browser already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded js-sys v0.3.38 [INFO] [stderr] Downloaded web-sys v0.3.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8061480dbbc93dca5f0189fff4ce59cfbfccc47deb451f0213f0a24e36bade0c [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" "8061480dbbc93dca5f0189fff4ce59cfbfccc47deb451f0213f0a24e36bade0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8061480dbbc93dca5f0189fff4ce59cfbfccc47deb451f0213f0a24e36bade0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8061480dbbc93dca5f0189fff4ce59cfbfccc47deb451f0213f0a24e36bade0c", kill_on_drop: false }` [INFO] [stdout] 8061480dbbc93dca5f0189fff4ce59cfbfccc47deb451f0213f0a24e36bade0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d697c2be1de92b9ee3845d2ea7f36f0a3d964f8de4af31516a799ef8a808b7b9 [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" "d697c2be1de92b9ee3845d2ea7f36f0a3d964f8de4af31516a799ef8a808b7b9", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.61 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling bumpalo v3.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.61 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.61 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.61 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.61 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking js-sys v0.3.38 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.38 [INFO] [stderr] Checking rust-webassembly-browser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/app.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasm_bindgen_futures` [INFO] [stdout] --> tests/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `wasm_bindgen_futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wasm_bindgen_test`, `wasm_bindgen_test::wasm_bindgen_test_configure` [INFO] [stdout] --> tests/app.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_bindgen_test::{wasm_bindgen_test, wasm_bindgen_test_configure}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `wasm_bindgen_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `wasm_bindgen_test_configure` in this scope [INFO] [stdout] --> tests/app.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | wasm_bindgen_test_configure!(run_in_browser); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `wasm_bindgen_test` [INFO] [stdout] --> tests/app.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[wasm_bindgen_test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `wasm_bindgen_test` [INFO] [stdout] --> tests/app.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[wasm_bindgen_test(async)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `js_sys` [INFO] [stdout] --> tests/app.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let promise = js_sys::Promise::resolve(&JsValue::from(42)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `js_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> tests/app.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-webassembly-browser` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/layout.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/painting.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> src/style.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/style.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/layout.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/painting.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> src/style.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/style.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/layout.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | NodeType::Text(text) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/layout.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | NodeType::Text(text) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/canvas2d.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ctx.fill_text(text, rect.x as f64, rect.y as f64 + 2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/canvas2d.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ctx.fill_text(text, rect.x as f64, rect.y as f64 + 2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d697c2be1de92b9ee3845d2ea7f36f0a3d964f8de4af31516a799ef8a808b7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d697c2be1de92b9ee3845d2ea7f36f0a3d964f8de4af31516a799ef8a808b7b9", kill_on_drop: false }` [INFO] [stdout] d697c2be1de92b9ee3845d2ea7f36f0a3d964f8de4af31516a799ef8a808b7b9