[INFO] cloning repository https://github.com/r1005410078/-canvas-3d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r1005410078/-canvas-3d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1005410078%2F-canvas-3d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1005410078%2F-canvas-3d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f4c1b9cf2c7092c4550b10e90022f4af9c5a2c9 [INFO] checking r1005410078/-canvas-3d against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1005410078%2F-canvas-3d" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/r1005410078/-canvas-3d [INFO] finished tweaking git repo https://github.com/r1005410078/-canvas-3d [INFO] tweaked toml for git repo https://github.com/r1005410078/-canvas-3d written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/r1005410078/-canvas-3d on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/r1005410078/-canvas-3d already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69c0d8321d0558de77e64a3d5fc7b21fd03154f513fd0da7c1b37c3184b8ed85 [INFO] running `Command { std: "docker" "start" "-a" "69c0d8321d0558de77e64a3d5fc7b21fd03154f513fd0da7c1b37c3184b8ed85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69c0d8321d0558de77e64a3d5fc7b21fd03154f513fd0da7c1b37c3184b8ed85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69c0d8321d0558de77e64a3d5fc7b21fd03154f513fd0da7c1b37c3184b8ed85", kill_on_drop: false }` [INFO] [stdout] 69c0d8321d0558de77e64a3d5fc7b21fd03154f513fd0da7c1b37c3184b8ed85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09999a136907f319b05d066e5bb442adeb9988654c7e9743084dfcb87a90a092 [INFO] running `Command { std: "docker" "start" "-a" "09999a136907f319b05d066e5bb442adeb9988654c7e9743084dfcb87a90a092", 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.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [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 console_log v1.0.0 [INFO] [stderr] Checking rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `clear` is never used [INFO] [stdout] --> src/canvas.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn clear() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/canvas.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | let context = CANVAS [INFO] [stdout] | _______________________^ [INFO] [stdout] 59 | | .clone() [INFO] [stdout] | |____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/canvas.rs:139:58 [INFO] [stdout] | [INFO] [stdout] 139 | .draw_image_with_html_canvas_element(CANVAS.as_ref().unwrap(), 0.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> tests/app.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> tests/app.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/app.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(x, 42); [INFO] [stdout] | ^^ expected `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Output: wasm_bindgen_test::__rt::Termination` is not satisfied [INFO] [stdout] --> tests/app.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen_test(async)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen_test::__rt::Termination` is not implemented for `::Output` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wasm_bindgen_test::__rt::Termination`: [INFO] [stdout] () [INFO] [stdout] Result<(), E> [INFO] [stdout] note: required by a bound in `wasm_bindgen_test::__rt::Context::execute_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-test-0.3.42/src/rt/mod.rs:476:20 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn execute_async( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 476 | F::Output: Termination, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Context::execute_async` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-webpack-template` (test "app") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `clear` is never used [INFO] [stdout] --> src/canvas.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn clear() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/canvas.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | let context = CANVAS [INFO] [stdout] | _______________________^ [INFO] [stdout] 59 | | .clone() [INFO] [stdout] | |____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/canvas.rs:139:58 [INFO] [stdout] | [INFO] [stdout] 139 | .draw_image_with_html_canvas_element(CANVAS.as_ref().unwrap(), 0.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "09999a136907f319b05d066e5bb442adeb9988654c7e9743084dfcb87a90a092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09999a136907f319b05d066e5bb442adeb9988654c7e9743084dfcb87a90a092", kill_on_drop: false }` [INFO] [stdout] 09999a136907f319b05d066e5bb442adeb9988654c7e9743084dfcb87a90a092