[INFO] cloning repository https://github.com/DutchEllie/pw1-rust-product [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DutchEllie/pw1-rust-product" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDutchEllie%2Fpw1-rust-product", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDutchEllie%2Fpw1-rust-product'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f67335a225ce594329b366d9d48725259581b78 [INFO] testing DutchEllie/pw1-rust-product against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDutchEllie%2Fpw1-rust-product" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DutchEllie/pw1-rust-product on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DutchEllie/pw1-rust-product [INFO] finished tweaking git repo https://github.com/DutchEllie/pw1-rust-product [INFO] tweaked toml for git repo https://github.com/DutchEllie/pw1-rust-product written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DutchEllie/pw1-rust-product 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded weblog v0.3.0 [INFO] [stderr] Downloaded phf_codegen v0.11.1 [INFO] [stderr] Downloaded weblog-proc-macro v0.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.156 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.92 [INFO] [stderr] Downloaded chrono-tz-build v0.1.0 [INFO] [stderr] Downloaded prettyplease v0.1.24 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.92 [INFO] [stderr] Downloaded cxx-build v1.0.92 [INFO] [stderr] Downloaded serde v1.0.156 [INFO] [stderr] Downloaded cxx v1.0.92 [INFO] [stderr] Downloaded chrono-tz v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cbe16214bdf5a19a1d42ef5543cfeb1a555d62ea06cc05ec687fc389b6d1124 [INFO] running `Command { std: "docker" "start" "-a" "1cbe16214bdf5a19a1d42ef5543cfeb1a555d62ea06cc05ec687fc389b6d1124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cbe16214bdf5a19a1d42ef5543cfeb1a555d62ea06cc05ec687fc389b6d1124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cbe16214bdf5a19a1d42ef5543cfeb1a555d62ea06cc05ec687fc389b6d1124", kill_on_drop: false }` [INFO] [stdout] 1cbe16214bdf5a19a1d42ef5543cfeb1a555d62ea06cc05ec687fc389b6d1124 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc5b999e99f6522a6b0f8b57af59ab562be36c18f859b3f71df8636d885c6071 [INFO] running `Command { std: "docker" "start" "-a" "cc5b999e99f6522a6b0f8b57af59ab562be36c18f859b3f71df8636d885c6071", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.52 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.84 [INFO] [stderr] Compiling bumpalo v3.12.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.84 [INFO] [stderr] Compiling serde_derive v1.0.156 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling serde v1.0.156 [INFO] [stderr] Compiling futures-channel v0.3.27 [INFO] [stderr] Compiling futures-sink v0.3.27 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-task v0.3.27 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-io v0.3.27 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling prettyplease v0.1.24 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling route-recognizer v0.3.1 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling phf_codegen v0.11.1 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling implicit-clone v0.3.5 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.1.0 [INFO] [stderr] Compiling chrono-tz v0.8.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.84 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling futures-macro v0.3.27 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling yew-router-macro v0.17.0 [INFO] [stderr] Compiling weblog-proc-macro v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.84 [INFO] [stderr] Compiling yew-macro v0.20.0 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.84 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling js-sys v0.3.61 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling futures-executor v0.3.27 [INFO] [stderr] Compiling futures v0.3.27 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stderr] Compiling web-sys v0.3.61 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.34 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-wasm-bindgen v0.4.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling gloo-utils v0.1.6 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-dialogs v0.1.1 [INFO] [stderr] Compiling gloo-render v0.1.1 [INFO] [stderr] Compiling weblog v0.3.0 [INFO] [stderr] Compiling gloo-console v0.2.3 [INFO] [stderr] Compiling gloo-net v0.2.6 [INFO] [stderr] Compiling gloo-storage v0.2.2 [INFO] [stderr] Compiling gloo-history v0.1.3 [INFO] [stderr] Compiling gloo-file v0.2.3 [INFO] [stderr] Compiling gloo-worker v0.2.1 [INFO] [stderr] Compiling gloo v0.8.0 [INFO] [stderr] Compiling yew v0.20.0 [INFO] [stderr] Compiling yew-router v0.17.0 [INFO] [stderr] Compiling trunk-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/components/canvas.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/components/canvas.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut counter = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/canvas.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | fn view(&self, ctx: &Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/components/canvas.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let height = canvas.height(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/components/canvas.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut counter = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/canvas.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut pos = y * width + x; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nothing` is never constructed [INFO] [stdout] --> src/components/canvas.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Msg { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Nothing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `counter` is never read [INFO] [stdout] --> src/components/canvas.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CanvasThingy { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | counter: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/components/pixel.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Pixel{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 3 | pub x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 4 | pub y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Pixel` 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 `Result` that must be used [INFO] [stdout] --> src/components/canvas.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | ctx.put_image_data(&image_data, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 129 | let _ = ctx.put_image_data(&image_data, 0.0, 0.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "cc5b999e99f6522a6b0f8b57af59ab562be36c18f859b3f71df8636d885c6071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc5b999e99f6522a6b0f8b57af59ab562be36c18f859b3f71df8636d885c6071", kill_on_drop: false }` [INFO] [stdout] cc5b999e99f6522a6b0f8b57af59ab562be36c18f859b3f71df8636d885c6071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccaced80a7bebd59b3290ca6486672bd1478386854191f70a54cd1e6e8341c65 [INFO] running `Command { std: "docker" "start" "-a" "ccaced80a7bebd59b3290ca6486672bd1478386854191f70a54cd1e6e8341c65", kill_on_drop: false }` [INFO] [stderr] Compiling trunk-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/components/canvas.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/components/canvas.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut counter = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/canvas.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | fn view(&self, ctx: &Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/components/canvas.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let height = canvas.height(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/components/canvas.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut counter = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/canvas.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut pos = y * width + x; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nothing` is never constructed [INFO] [stdout] --> src/components/canvas.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Msg { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Nothing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `counter` is never read [INFO] [stdout] --> src/components/canvas.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CanvasThingy { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | counter: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/components/pixel.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Pixel{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 3 | pub x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 4 | pub y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Pixel` 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 `Result` that must be used [INFO] [stdout] --> src/components/canvas.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | ctx.put_image_data(&image_data, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 129 | let _ = ctx.put_image_data(&image_data, 0.0, 0.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ccaced80a7bebd59b3290ca6486672bd1478386854191f70a54cd1e6e8341c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccaced80a7bebd59b3290ca6486672bd1478386854191f70a54cd1e6e8341c65", kill_on_drop: false }` [INFO] [stdout] ccaced80a7bebd59b3290ca6486672bd1478386854191f70a54cd1e6e8341c65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ec02088a9e420c320e44f5afe7a7218534816ae6bf5d7c31c0fb83c73fb8b948 [INFO] running `Command { std: "docker" "start" "-a" "ec02088a9e420c320e44f5afe7a7218534816ae6bf5d7c31c0fb83c73fb8b948", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `web_sys::console` [INFO] [stderr] --> src/components/canvas.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use web_sys::console; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `counter` is assigned to, but never used [INFO] [stderr] --> src/components/canvas.rs:55:17 [INFO] [stderr] | [INFO] [stderr] 55 | let mut counter = 0; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_counter` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/canvas.rs:87:18 [INFO] [stderr] | [INFO] [stderr] 87 | fn view(&self, ctx: &Context) -> Html { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/components/canvas.rs:102:9 [INFO] [stderr] | [INFO] [stderr] 102 | let height = canvas.height(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: variable `counter` is assigned to, but never used [INFO] [stderr] --> src/components/canvas.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | let mut counter = 0; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_counter` instead [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/components/canvas.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | let mut pos = y * width + x; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Nothing` is never constructed [INFO] [stderr] --> src/components/canvas.rs:16:3 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum Msg { [INFO] [stderr] | --- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 16 | Nothing, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `counter` is never read [INFO] [stderr] --> src/components/canvas.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct CanvasThingy { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | counter: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `x` and `y` are never read [INFO] [stderr] --> src/components/pixel.rs:3:6 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Pixel{ [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 3 | pub x: f64, [INFO] [stderr] | ^ [INFO] [stderr] 4 | pub y: f64, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Pixel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/components/canvas.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | ctx.put_image_data(&image_data, 0.0, 0.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 129 | let _ = ctx.put_image_data(&image_data, 0.0, 0.0); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `trunk-template` (bin "trunk-template" test) generated 10 warnings (run `cargo fix --bin "trunk-template" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trunk_template-b69ac7052964d5ca) [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] running `Command { std: "docker" "inspect" "ec02088a9e420c320e44f5afe7a7218534816ae6bf5d7c31c0fb83c73fb8b948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec02088a9e420c320e44f5afe7a7218534816ae6bf5d7c31c0fb83c73fb8b948", kill_on_drop: false }` [INFO] [stdout] ec02088a9e420c320e44f5afe7a7218534816ae6bf5d7c31c0fb83c73fb8b948