[INFO] cloning repository https://github.com/Bright-Shard/scaffolding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bright-Shard/scaffolding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBright-Shard%2Fscaffolding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBright-Shard%2Fscaffolding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26fb0572dbe897e321b62049911c588e5d080cc9 [INFO] building Bright-Shard/scaffolding against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBright-Shard%2Fscaffolding" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bright-Shard/scaffolding on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bright-Shard/scaffolding [INFO] finished tweaking git repo https://github.com/Bright-Shard/scaffolding [INFO] tweaked toml for git repo https://github.com/Bright-Shard/scaffolding written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bright-Shard/scaffolding 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89c2df6dc0c341ddfab03d4bde9809cb0dbaf870fcb1127fae0f211cacf8f161 [INFO] running `Command { std: "docker" "start" "-a" "89c2df6dc0c341ddfab03d4bde9809cb0dbaf870fcb1127fae0f211cacf8f161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89c2df6dc0c341ddfab03d4bde9809cb0dbaf870fcb1127fae0f211cacf8f161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c2df6dc0c341ddfab03d4bde9809cb0dbaf870fcb1127fae0f211cacf8f161", kill_on_drop: false }` [INFO] [stdout] 89c2df6dc0c341ddfab03d4bde9809cb0dbaf870fcb1127fae0f211cacf8f161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 208686e900177db454d89632424786a19bdf8f46bf187fc36a2035b1db543368 [INFO] running `Command { std: "docker" "start" "-a" "208686e900177db454d89632424786a19bdf8f46bf187fc36a2035b1db543368", kill_on_drop: false }` [INFO] [stderr] Compiling scaffolding-macros v0.1.0 (/opt/rustwide/workdir/scaffolding-macros) [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling scaffolding v0.1.0 (/opt/rustwide/workdir/scaffolding) [INFO] [stdout] warning: unused import: `MessageHandler` [INFO] [stdout] --> scaffolding/src/state/executable.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::{InState, MessageHandler, State}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scaffolding-tui v0.1.0 (/opt/rustwide/workdir/plugins/scaffolding-tui) [INFO] [stderr] Compiling scaffolding-ui v0.1.0 (/opt/rustwide/workdir/plugins/scaffolding-ui) [INFO] [stdout] warning: unused import: `display::Display` [INFO] [stdout] --> plugins/scaffolding-ui/src/lib.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | use {display::Display, scaffolding::plugin_prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `terminal` in this scope [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/textinput.rs:163:6 [INFO] [stdout] | [INFO] [stdout] 163 | if terminal.clicked_mouse_buttons.contains(&0) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `terminal` in this scope [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/textinput.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | cache.focused = self.frame.contains(terminal.mouse_pos); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `terminal` in this scope [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/textinput.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | for key in terminal.pressed_keys.iter() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `terminal` in this scope [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/textinput.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | terminal.target_cursor_location.set(Some(( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `terminal` in this scope [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/textinput.rs:179:3 [INFO] [stdout] | [INFO] [stdout] 179 | terminal.set_bg(self.background_colour); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `terminal` in this scope [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/textinput.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | terminal.set_fg(self.text_colour); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `terminal` in this scope [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/textinput.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | terminal.set_fg(self.placeholder_colour); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `terminal` in this scope [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/textinput.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 199 | terminal.draw( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `terminal` in this scope [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/textinput.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | terminal.set_fg(self.border_colour); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `terminal` in this scope [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/textinput.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | terminal.draw(Border { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling state v0.1.0 (/opt/rustwide/workdir/examples/state) [INFO] [stderr] Compiling gui v0.1.0 (/opt/rustwide/workdir/examples/gui) [INFO] [stderr] Compiling plugin v0.1.0 (/opt/rustwide/workdir/examples/plugin) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/textinput.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 156 | let cache: &mut TextInputCache = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 157 | [INFO] [stdout] 158 | let text_offset = if self.border_style.is_some() { 1 } else { 0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/checkbox.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 59 | let cache: &mut CheckboxCache = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 60 | [INFO] [stdout] 61 | / if clicked { [INFO] [stdout] 62 | | if !cache.mouse_held { [INFO] [stdout] 63 | | cache.checked = !cache.checked; [INFO] [stdout] 64 | | cache.mouse_held = true; [INFO] [stdout] ... | [INFO] [stdout] 67 | | cache.mouse_held = false; [INFO] [stdout] 68 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicked` [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/checkbox.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | let clicked = self.clicked(terminal); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clicked` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> plugins/scaffolding-tui/src/widgets/checkbox.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | let cache: &mut CheckboxCache = todo!(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scaffolding-tui` (lib) due to 10 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "208686e900177db454d89632424786a19bdf8f46bf187fc36a2035b1db543368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "208686e900177db454d89632424786a19bdf8f46bf187fc36a2035b1db543368", kill_on_drop: false }` [INFO] [stdout] 208686e900177db454d89632424786a19bdf8f46bf187fc36a2035b1db543368