[INFO] cloning repository https://github.com/nobel-von-it/encard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nobel-von-it/encard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnobel-von-it%2Fencard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnobel-von-it%2Fencard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d1f1234a19cd34bb1a298b96c0b9ce48947e5e2 [INFO] testing nobel-von-it/encard against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnobel-von-it%2Fencard" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nobel-von-it/encard [INFO] finished tweaking git repo https://github.com/nobel-von-it/encard [INFO] tweaked toml for git repo https://github.com/nobel-von-it/encard written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nobel-von-it/encard on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nobel-von-it/encard 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccc8ee5fa21cf083b31fd3fa18fffd6790c63b4c75287669f6a5ac9191449542 [INFO] running `Command { std: "docker" "start" "-a" "ccc8ee5fa21cf083b31fd3fa18fffd6790c63b4c75287669f6a5ac9191449542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccc8ee5fa21cf083b31fd3fa18fffd6790c63b4c75287669f6a5ac9191449542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc8ee5fa21cf083b31fd3fa18fffd6790c63b4c75287669f6a5ac9191449542", kill_on_drop: false }` [INFO] [stdout] ccc8ee5fa21cf083b31fd3fa18fffd6790c63b4c75287669f6a5ac9191449542 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0e0e5baaee6d8383e0d2c7251e6ebb4cd3bfd025b276f188496f914ce6b499a [INFO] running `Command { std: "docker" "start" "-a" "f0e0e5baaee6d8383e0d2c7251e6ebb4cd3bfd025b276f188496f914ce6b499a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling clap_builder v4.5.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling castaway v0.2.2 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling unicode-truncate v1.0.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling stability v0.2.0 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling ratatui v0.26.3 [INFO] [stderr] Compiling clap v4.5.6 [INFO] [stderr] Compiling encard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/main.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | let res = run(&mut t, &mut screen); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, `Frame`, `Paragraph`, and `text::Text` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | text::Text, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | widgets::{Block, Borders, Paragraph}, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 15 | Frame, Terminal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for mutable reference `&mut Screen` in the current scope [INFO] [stdout] --> src/main.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | t.draw(|f| screen.draw(f))?; [INFO] [stdout] | ^^^^ method not found in `&mut Screen` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `draw`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Backend` [INFO] [stdout] candidate #2: `Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `state` on type `&mut Screen` [INFO] [stdout] --> src/main.rs:170:40 [INFO] [stdout] | [INFO] [stdout] 170 | KeyCode::Esc => screen.state = States::Exiting, [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `element`, `score`, `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `States` [INFO] [stdout] --> src/main.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | KeyCode::Esc => screen.state = States::Exiting, [INFO] [stdout] | ^^^^^^ use of undeclared type `States` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `choice` on type `&mut Screen` [INFO] [stdout] --> src/main.rs:171:39 [INFO] [stdout] | [INFO] [stdout] 171 | KeyCode::Up => screen.choice.up(), [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `element`, `score`, `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `choice` on type `&mut Screen` [INFO] [stdout] --> src/main.rs:172:41 [INFO] [stdout] | [INFO] [stdout] 172 | KeyCode::Down => screen.choice.down(), [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `element`, `score`, `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `choice` on type `&mut Screen` [INFO] [stdout] --> src/main.rs:173:48 [INFO] [stdout] | [INFO] [stdout] 173 | KeyCode::Enter => match screen.choice.get() { [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `element`, `score`, `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start` found for mutable reference `&mut Screen` in the current scope [INFO] [stdout] --> src/main.rs:175:58 [INFO] [stdout] | [INFO] [stdout] 175 | Choice::Start | Choice::No => screen.start(), [INFO] [stdout] | ^^^^^ method not found in `&mut Screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `compare` found for mutable reference `&mut Screen` in the current scope [INFO] [stdout] --> src/main.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | screen.compare(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Screen` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 177 | screen.element.compare(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for mutable reference `&mut Screen` in the current scope [INFO] [stdout] --> src/main.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | screen.update(); [INFO] [stdout] | ^^^^^^ method not found in `&mut Screen` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Choice` [INFO] [stdout] --> src/main.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | Choice::Vars(_) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Choice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Choice` [INFO] [stdout] --> src/main.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | Choice::Exit | Choice::Yes => break, [INFO] [stdout] | ^^^^^^ use of undeclared type `Choice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Choice` [INFO] [stdout] --> src/main.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | Choice::Exit | Choice::Yes => break, [INFO] [stdout] | ^^^^^^ use of undeclared type `Choice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Choice` [INFO] [stdout] --> src/main.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | Choice::Start | Choice::No => screen.start(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Choice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Choice` [INFO] [stdout] --> src/main.rs:175:37 [INFO] [stdout] | [INFO] [stdout] 175 | Choice::Start | Choice::No => screen.start(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Choice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `encard` (bin "encard") due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f0e0e5baaee6d8383e0d2c7251e6ebb4cd3bfd025b276f188496f914ce6b499a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e0e5baaee6d8383e0d2c7251e6ebb4cd3bfd025b276f188496f914ce6b499a", kill_on_drop: false }` [INFO] [stdout] f0e0e5baaee6d8383e0d2c7251e6ebb4cd3bfd025b276f188496f914ce6b499a