[INFO] cloning repository https://github.com/shautvast/spiegel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shautvast/spiegel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshautvast%2Fspiegel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshautvast%2Fspiegel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 586a1e3cf4c50757edb6c53b8e029d6c8ed58fef [INFO] testing shautvast/spiegel against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshautvast%2Fspiegel" "/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/shautvast/spiegel on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shautvast/spiegel [INFO] finished tweaking git repo https://github.com/shautvast/spiegel [INFO] tweaked toml for git repo https://github.com/shautvast/spiegel written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/shautvast/spiegel already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b408acce1df2be1d0c46a9c5149133aa40f014bfae39e370a61b11c28d1f70e [INFO] running `Command { std: "docker" "start" "-a" "3b408acce1df2be1d0c46a9c5149133aa40f014bfae39e370a61b11c28d1f70e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b408acce1df2be1d0c46a9c5149133aa40f014bfae39e370a61b11c28d1f70e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b408acce1df2be1d0c46a9c5149133aa40f014bfae39e370a61b11c28d1f70e", kill_on_drop: false }` [INFO] [stdout] 3b408acce1df2be1d0c46a9c5149133aa40f014bfae39e370a61b11c28d1f70e [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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 493b8ad10b632a8ff9147bbf098bb43fac3f5f9e45de3fa86d2503a8820299cb [INFO] running `Command { std: "docker" "start" "-a" "493b8ad10b632a8ff9147bbf098bb43fac3f5f9e45de3fa86d2503a8820299cb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling imageproc v0.22.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling js-sys v0.3.56 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.56 [INFO] [stderr] Compiling gloo-timers v0.2.3 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.29 [INFO] [stderr] Compiling gloo-events v0.1.1 [INFO] [stderr] Compiling gloo-utils v0.1.2 [INFO] [stderr] Compiling gloo-dialogs v0.1.0 [INFO] [stderr] Compiling gloo-console v0.2.1 [INFO] [stderr] Compiling gloo-render v0.1.0 [INFO] [stderr] Compiling wasm-logger v0.2.0 [INFO] [stderr] Compiling gloo-storage v0.2.0 [INFO] [stderr] Compiling gloo-file v0.2.1 [INFO] [stderr] Compiling gloo v0.4.2 [INFO] [stderr] Compiling yew v0.19.3 [INFO] [stderr] Compiling yew-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `transformed` [INFO] [stdout] --> src/app.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | let transformed = transform::apply(&rgb_src).expect("Cannot transform image"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transformed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sample` does not live long enough [INFO] [stdout] --> src/app.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 118 | let image_loaded = Closure::wrap(Box::new( |_: web_sys::Event| { [INFO] [stdout] | - ------------------- value captured here [INFO] [stdout] | ______________________________________| [INFO] [stdout] | | [INFO] [stdout] 119 | | if let Some(canvas) = document().get_element_by_id("buffer").and_then(|e| e.dyn_into::().ok()) { [INFO] [stdout] 120 | | let ctx: CanvasRenderingContext2d = canvas [INFO] [stdout] 121 | | .get_context("2d") [INFO] [stdout] ... | [INFO] [stdout] 126 | | canvas.set_width(sample.width()); [INFO] [stdout] | | ^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | }) as Box); [INFO] [stdout] | |______- cast requires that `sample` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 139 | } [INFO] [stdout] | - `sample` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `name` does not live long enough [INFO] [stdout] --> src/app.rs:134:64 [INFO] [stdout] | [INFO] [stdout] 118 | let image_loaded = Closure::wrap(Box::new( |_: web_sys::Event| { [INFO] [stdout] | - ------------------- value captured here [INFO] [stdout] | ______________________________________| [INFO] [stdout] | | [INFO] [stdout] 119 | | if let Some(canvas) = document().get_element_by_id("buffer").and_then(|e| e.dyn_into::().ok()) { [INFO] [stdout] 120 | | let ctx: CanvasRenderingContext2d = canvas [INFO] [stdout] 121 | | .get_context("2d") [INFO] [stdout] ... | [INFO] [stdout] 134 | | samples::insert(name.to_owned(), ColorSample::new(&name, sample)); [INFO] [stdout] | | ^^^^ borrowed value does not live long enough [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | }) as Box); [INFO] [stdout] | |______- cast requires that `name` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 139 | } [INFO] [stdout] | - `name` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/samples.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | handle.color_samples.get(name) [INFO] [stdout] | ------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `handle` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yew-app` due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "493b8ad10b632a8ff9147bbf098bb43fac3f5f9e45de3fa86d2503a8820299cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "493b8ad10b632a8ff9147bbf098bb43fac3f5f9e45de3fa86d2503a8820299cb", kill_on_drop: false }` [INFO] [stdout] 493b8ad10b632a8ff9147bbf098bb43fac3f5f9e45de3fa86d2503a8820299cb