[INFO] cloning repository https://github.com/MatthewNichols/wasm-canvas-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatthewNichols/wasm-canvas-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewNichols%2Fwasm-canvas-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewNichols%2Fwasm-canvas-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 236a3ef3ed5b1cf131888cf5cc678ea45fe64abd [INFO] checking MatthewNichols/wasm-canvas-playground/236a3ef3ed5b1cf131888cf5cc678ea45fe64abd against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewNichols%2Fwasm-canvas-playground" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MatthewNichols/wasm-canvas-playground on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MatthewNichols/wasm-canvas-playground [INFO] finished tweaking git repo https://github.com/MatthewNichols/wasm-canvas-playground [INFO] tweaked toml for git repo https://github.com/MatthewNichols/wasm-canvas-playground written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MatthewNichols/wasm-canvas-playground 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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 wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.3.27 [INFO] [stderr] Downloaded wasm-bindgen-test v0.2.50 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62f0e34450a4c32affd0abbebad57093814bcd2e60980f6fc3216cace3397f8b [INFO] running `Command { std: "docker" "start" "-a" "62f0e34450a4c32affd0abbebad57093814bcd2e60980f6fc3216cace3397f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62f0e34450a4c32affd0abbebad57093814bcd2e60980f6fc3216cace3397f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62f0e34450a4c32affd0abbebad57093814bcd2e60980f6fc3216cace3397f8b", kill_on_drop: false }` [INFO] [stdout] 62f0e34450a4c32affd0abbebad57093814bcd2e60980f6fc3216cace3397f8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cd7be9b7a0f2582e6b47e2de3777cb5bf5f72b77a8a6a4a1e382faa23182f7f [INFO] running `Command { std: "docker" "start" "-a" "9cd7be9b7a0f2582e6b47e2de3777cb5bf5f72b77a8a6a4a1e382faa23182f7f", 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.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.60 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bumpalo v3.2.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.60 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.60 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.60 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.60 [INFO] [stderr] Checking js-sys v0.3.37 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.37 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stderr] Checking wasm-canvas-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `console` [INFO] [stdout] --> src/drawings/canvas_interface.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use web_sys::{ console, Document, Element, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console` [INFO] [stdout] --> src/drawings/canvas_interface.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use web_sys::{ console, Document, Element, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/drawings/random_spray.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let x = (distance_from_center * angle.cos()) + self.center.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/drawings/random_spray.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let y = (distance_from_center * angle.sin()) + self.center.1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance_to_another_center` and `distance_from_edge_to_point` are never used [INFO] [stdout] --> src/drawings/random_spray.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl Circle { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn distance_to_another_center(&self, other: Coordinates) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn distance_from_edge_to_point(&self, other: Coordinates) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weight` is never read [INFO] [stdout] --> src/drawings/random_spray.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct CircleSize { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 146 | radius: f64, [INFO] [stdout] 147 | weight: i32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircleSize` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/drawings/basic_circle.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | &context.clear("#aaaaaa"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &context.clear("#aaaaaa"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/drawings/basic_circle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | &context.draw_circle(500.0, 500.0, 200.0, 255, 128, 128, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 5 | let _ = &context.draw_circle(500.0, 500.0, 200.0, 255, 128, 128, 1.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/drawings/random_spray.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | &self.context.clear("#aaaaaa"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = &self.context.clear("#aaaaaa"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/drawings/random_spray.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / &self.context.draw_circle(circle.get_center_x(), circle.get_center_y(), circle.radius, [INFO] [stdout] 64 | | circle.color.red, circle.color.green, circle.color.blue, circle.color.alpha); [INFO] [stdout] | |________________________________________________________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = &self.context.draw_circle(circle.get_center_x(), circle.get_center_y(), circle.radius, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/drawings/random_spray.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let x = (distance_from_center * angle.cos()) + self.center.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/drawings/random_spray.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let y = (distance_from_center * angle.sin()) + self.center.1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance_to_another_center` and `distance_from_edge_to_point` are never used [INFO] [stdout] --> src/drawings/random_spray.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl Circle { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn distance_to_another_center(&self, other: Coordinates) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn distance_from_edge_to_point(&self, other: Coordinates) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weight` is never read [INFO] [stdout] --> src/drawings/random_spray.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct CircleSize { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 146 | radius: f64, [INFO] [stdout] 147 | weight: i32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircleSize` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/drawings/basic_circle.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | &context.clear("#aaaaaa"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &context.clear("#aaaaaa"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/drawings/basic_circle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | &context.draw_circle(500.0, 500.0, 200.0, 255, 128, 128, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 5 | let _ = &context.draw_circle(500.0, 500.0, 200.0, 255, 128, 128, 1.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/drawings/random_spray.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | &self.context.clear("#aaaaaa"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = &self.context.clear("#aaaaaa"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/drawings/random_spray.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / &self.context.draw_circle(circle.get_center_x(), circle.get_center_y(), circle.radius, [INFO] [stdout] 64 | | circle.color.red, circle.color.green, circle.color.blue, circle.color.alpha); [INFO] [stdout] | |________________________________________________________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = &self.context.draw_circle(circle.get_center_x(), circle.get_center_y(), circle.radius, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.60 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9cd7be9b7a0f2582e6b47e2de3777cb5bf5f72b77a8a6a4a1e382faa23182f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd7be9b7a0f2582e6b47e2de3777cb5bf5f72b77a8a6a4a1e382faa23182f7f", kill_on_drop: false }` [INFO] [stdout] 9cd7be9b7a0f2582e6b47e2de3777cb5bf5f72b77a8a6a4a1e382faa23182f7f