[INFO] cloning repository https://github.com/turrext/Shieldhostweb.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/turrext/Shieldhostweb.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fturrext%2FShieldhostweb.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fturrext%2FShieldhostweb.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00d0f019f24dbdc9865b51b0230fbf6866c41306 [INFO] checking turrext/Shieldhostweb.rs against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fturrext%2FShieldhostweb.rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/turrext/Shieldhostweb.rs on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/turrext/Shieldhostweb.rs [INFO] finished tweaking git repo https://github.com/turrext/Shieldhostweb.rs [INFO] tweaked toml for git repo https://github.com/turrext/Shieldhostweb.rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/turrext/Shieldhostweb.rs 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/AlephAlpha/muicss-yew` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yew-router-route-parser v0.15.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.31 [INFO] [stderr] Downloaded boolinator v2.4.0 [INFO] [stderr] Downloaded cfg-match v0.2.1 [INFO] [stderr] Downloaded gloo-console-timer v0.1.0 [INFO] [stderr] Downloaded gloo-events v0.1.2 [INFO] [stderr] Downloaded yew-router-macro v0.15.0 [INFO] [stderr] Downloaded wasm-logger v0.2.0 [INFO] [stderr] Downloaded gloo-file v0.1.0 [INFO] [stderr] Downloaded yew v0.18.0 [INFO] [stderr] Downloaded yew-router v0.15.0 [INFO] [stderr] Downloaded yew-macro v0.17.0 [INFO] [stderr] Downloaded yew v0.17.4 [INFO] [stderr] Downloaded yewtil v0.3.2 [INFO] [stderr] Downloaded gloo v0.2.1 [INFO] [stderr] Downloaded yew-macro v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3dbb0448a5008f1568c47265bc189a09d8766add7a08644b5dbc32c4fb4ec47 [INFO] running `Command { std: "docker" "start" "-a" "a3dbb0448a5008f1568c47265bc189a09d8766add7a08644b5dbc32c4fb4ec47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3dbb0448a5008f1568c47265bc189a09d8766add7a08644b5dbc32c4fb4ec47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3dbb0448a5008f1568c47265bc189a09d8766add7a08644b5dbc32c4fb4ec47", kill_on_drop: false }` [INFO] [stdout] a3dbb0448a5008f1568c47265bc189a09d8766add7a08644b5dbc32c4fb4ec47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 844fc0e2b984a5f84d7856cf04aa914baddea97957d24bec26a4c6dba0146b0b [INFO] running `Command { std: "docker" "start" "-a" "844fc0e2b984a5f84d7856cf04aa914baddea97957d24bec26a4c6dba0146b0b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.81 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling wasm-bindgen v0.2.81 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Compiling yew v0.17.4 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking yew-router-route-parser v0.15.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.81 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling yew-macro v0.17.0 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Compiling yew-router-macro v0.15.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.81 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking serde v1.0.137 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking js-sys v0.3.58 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.58 [INFO] [stderr] Checking gloo-timers v0.2.4 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.31 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking wasm-logger v0.2.0 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking yewtil v0.3.2 [INFO] [stderr] Checking muicss-yew v0.1.0 (https://github.com/AlephAlpha/muicss-yew#975646ff) [INFO] [stderr] Checking yew-router v0.15.0 [INFO] [stderr] Checking rust-frontend-example-yew v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `while...else` loops are not supported [INFO] [stdout] --> src/components/homec.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 121 | while self.current < 5 { [INFO] [stdout] | ----- `else` is attached to this loop [INFO] [stdout] ... [INFO] [stdout] 127 | } else if self.current == 2 { [INFO] [stdout] | _________________^ [INFO] [stdout] 128 | | self.link.send_message(Msg::AddTwo); [INFO] [stdout] 129 | | } else if self.current == 3 { [INFO] [stdout] 130 | | self.link.send_message(Msg::AddThree); [INFO] [stdout] ... | [INFO] [stdout] 134 | | self.current = 1 [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: consider moving this `else` clause to a separate `if` statement and use a `bool` variable to control if it should run [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `while...else` loops are not supported [INFO] [stdout] --> src/components/homec.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 121 | while self.current < 5 { [INFO] [stdout] | ----- `else` is attached to this loop [INFO] [stdout] ... [INFO] [stdout] 127 | } else if self.current == 2 { [INFO] [stdout] | _________________^ [INFO] [stdout] 128 | | self.link.send_message(Msg::AddTwo); [INFO] [stdout] 129 | | } else if self.current == 3 { [INFO] [stdout] 130 | | self.link.send_message(Msg::AddThree); [INFO] [stdout] ... | [INFO] [stdout] 134 | | self.current = 1 [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: consider moving this `else` clause to a separate `if` statement and use a `bool` variable to control if it should run [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.current`, which is behind a `&` reference [INFO] [stdout] --> src/components/homec.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 56 | fn view(&self) -> Html { [INFO] [stdout] | ----- this is an immutable reference [INFO] [stdout] 57 | [INFO] [stdout] 58 | self.current = self.current + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.current`, which is behind a `&` reference [INFO] [stdout] --> src/components/homec.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 56 | fn view(&self) -> Html { [INFO] [stdout] | ----- this is an immutable reference [INFO] [stdout] ... [INFO] [stdout] 68 | self.current = 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.current`, which is behind a `&` reference [INFO] [stdout] --> src/components/homec.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 56 | fn view(&self) -> Html { [INFO] [stdout] | ----- this is an immutable reference [INFO] [stdout] 57 | [INFO] [stdout] 58 | self.current = self.current + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.current`, which is behind a `&` reference [INFO] [stdout] --> src/components/homec.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 56 | fn view(&self) -> Html { [INFO] [stdout] | ----- this is an immutable reference [INFO] [stdout] ... [INFO] [stdout] 68 | self.current = 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0594`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-frontend-example-yew` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0594`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-frontend-example-yew` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "844fc0e2b984a5f84d7856cf04aa914baddea97957d24bec26a4c6dba0146b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "844fc0e2b984a5f84d7856cf04aa914baddea97957d24bec26a4c6dba0146b0b", kill_on_drop: false }` [INFO] [stdout] 844fc0e2b984a5f84d7856cf04aa914baddea97957d24bec26a4c6dba0146b0b