[INFO] cloning repository https://github.com/aleph-naught2tog/rust-wasm-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aleph-naught2tog/rust-wasm-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleph-naught2tog%2Frust-wasm-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleph-naught2tog%2Frust-wasm-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f60a2bc1db54a49c6fecb285ebb916023046eaf [INFO] testing aleph-naught2tog/rust-wasm-experiments against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleph-naught2tog%2Frust-wasm-experiments" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleph-naught2tog/rust-wasm-experiments on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aleph-naught2tog/rust-wasm-experiments [INFO] finished tweaking git repo https://github.com/aleph-naught2tog/rust-wasm-experiments [INFO] tweaked toml for git repo https://github.com/aleph-naught2tog/rust-wasm-experiments written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/aleph-naught2tog/rust-wasm-experiments already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30fc758419c8e464d73b572bff30018bb4c2d47a5cc688737136978450e4385d [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" "30fc758419c8e464d73b572bff30018bb4c2d47a5cc688737136978450e4385d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30fc758419c8e464d73b572bff30018bb4c2d47a5cc688737136978450e4385d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30fc758419c8e464d73b572bff30018bb4c2d47a5cc688737136978450e4385d", kill_on_drop: false }` [INFO] [stdout] 30fc758419c8e464d73b572bff30018bb4c2d47a5cc688737136978450e4385d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bdfe931eba0f66cfa0823f37cd58c4df431b7ec7cc3441d5fa0fe3b4568b7ad [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" "4bdfe931eba0f66cfa0823f37cd58c4df431b7ec7cc3441d5fa0fe3b4568b7ad", 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 proc-macro2 v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.50 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde v1.0.100 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling wasm-bindgen v0.2.50 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Compiling backtrace v0.3.37 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.50 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.50 [INFO] [stderr] Compiling web-sys v0.3.27 [INFO] [stderr] Compiling js-sys v0.3.27 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EventTarget`, `HtmlElement` [INFO] [stdout] --> src/lib.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{EventTarget, HtmlElement}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/lib.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | let callback = Closure::wrap(Box::new(move |event: web_sys::MouseEvent| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_element_by_id` [INFO] [stdout] --> src/dom.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_element_by_id(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dom.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | panic!(message) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 49 | panic!("{}", message) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "4bdfe931eba0f66cfa0823f37cd58c4df431b7ec7cc3441d5fa0fe3b4568b7ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bdfe931eba0f66cfa0823f37cd58c4df431b7ec7cc3441d5fa0fe3b4568b7ad", kill_on_drop: false }` [INFO] [stdout] 4bdfe931eba0f66cfa0823f37cd58c4df431b7ec7cc3441d5fa0fe3b4568b7ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", 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] cadda1b7154bf7dbce5877a2a9894ec688ba6b96f307558a41065e59e32f5dbb [INFO] running `Command { std: "docker" "start" "-a" "cadda1b7154bf7dbce5877a2a9894ec688ba6b96f307558a41065e59e32f5dbb", 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 futures v0.1.29 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-futures v0.3.27 [INFO] [stderr] Compiling wasm-bindgen-test v0.2.50 [INFO] [stderr] Compiling rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EventTarget`, `HtmlElement` [INFO] [stdout] --> src/lib.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{EventTarget, HtmlElement}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/lib.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | let callback = Closure::wrap(Box::new(move |event: web_sys::MouseEvent| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_element_by_id` [INFO] [stdout] --> src/dom.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_element_by_id(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dom.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | panic!(message) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 49 | panic!("{}", message) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.36s [INFO] running `Command { std: "docker" "inspect" "cadda1b7154bf7dbce5877a2a9894ec688ba6b96f307558a41065e59e32f5dbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cadda1b7154bf7dbce5877a2a9894ec688ba6b96f307558a41065e59e32f5dbb", kill_on_drop: false }` [INFO] [stdout] cadda1b7154bf7dbce5877a2a9894ec688ba6b96f307558a41065e59e32f5dbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 68e7d68540a48bfc5f72c7751320e2db3274cdd444d66da8967627791d035f50 [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" "68e7d68540a48bfc5f72c7751320e2db3274cdd444d66da8967627791d035f50", 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] [stdout] [INFO] [stderr] warning: unused imports: `EventTarget`, `HtmlElement` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/lib.rs:3:15 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 3 | use web_sys::{EventTarget, HtmlElement}; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 1 test [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/lib.rs:53:49 [INFO] [stderr] | [INFO] [stderr] 53 | let callback = Closure::wrap(Box::new(move |event: web_sys::MouseEvent| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_element_by_id` [INFO] [stderr] --> src/dom.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn get_element_by_id(&self, id: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/dom.rs:49:24 [INFO] [stderr] | [INFO] [stderr] 49 | panic!(message) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 49 | panic!("{}", message) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `rust-webpack-template` (lib test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_webpack_template-1ba45fb5f89eac8b) [INFO] [stderr] Running tests/app.rs (/opt/rustwide/target/debug/deps/app-d722f7eb3bb10a07) [INFO] [stdout] test rust_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "68e7d68540a48bfc5f72c7751320e2db3274cdd444d66da8967627791d035f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e7d68540a48bfc5f72c7751320e2db3274cdd444d66da8967627791d035f50", kill_on_drop: false }` [INFO] [stdout] 68e7d68540a48bfc5f72c7751320e2db3274cdd444d66da8967627791d035f50