[INFO] fetching crate karsa 0.1.2... [INFO] testing karsa-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate karsa 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate karsa 0.1.2 [INFO] finished tweaking crates.io crate karsa 0.1.2 [INFO] tweaked toml for crates.io crate karsa 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate karsa 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate karsa 0.1.2 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 109e4e43bb98e8447ae1503fd8631d5ba7a4ca4838a64ca0cad87db6d157faba [INFO] running `Command { std: "docker" "start" "-a" "109e4e43bb98e8447ae1503fd8631d5ba7a4ca4838a64ca0cad87db6d157faba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "109e4e43bb98e8447ae1503fd8631d5ba7a4ca4838a64ca0cad87db6d157faba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "109e4e43bb98e8447ae1503fd8631d5ba7a4ca4838a64ca0cad87db6d157faba", kill_on_drop: false }` [INFO] [stdout] 109e4e43bb98e8447ae1503fd8631d5ba7a4ca4838a64ca0cad87db6d157faba [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9885821c1255d5068136c0f75433d274ec2667ce11cfdbb2097f78643963fc1 [INFO] running `Command { std: "docker" "start" "-a" "d9885821c1255d5068136c0f75433d274ec2667ce11cfdbb2097f78643963fc1", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling karsa v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `y_position` [INFO] [stdout] --> src/widgets/table.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | fn row_id_by_position(&self, y_position: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `higlighted_row_index` and `child_widget_position` are never read [INFO] [stdout] --> src/widgets/table.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Table [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | higlighted_row_index: FnvHashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | child_widget_position: Option<(u16, u16)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `row_id_by_position` is never used [INFO] [stdout] --> src/widgets/table.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 56 | / impl Table [INFO] [stdout] 57 | | where [INFO] [stdout] 58 | | D: Data, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn row_id_by_position(&self, y_position: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.33s [INFO] running `Command { std: "docker" "inspect" "d9885821c1255d5068136c0f75433d274ec2667ce11cfdbb2097f78643963fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9885821c1255d5068136c0f75433d274ec2667ce11cfdbb2097f78643963fc1", kill_on_drop: false }` [INFO] [stdout] d9885821c1255d5068136c0f75433d274ec2667ce11cfdbb2097f78643963fc1 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c33b86877282360282b1c06125a99feaa1cabc640aa9c4442836a1a4b5ea362 [INFO] running `Command { std: "docker" "start" "-a" "3c33b86877282360282b1c06125a99feaa1cabc640aa9c4442836a1a4b5ea362", kill_on_drop: false }` [INFO] [stderr] Compiling karsa v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `y_position` [INFO] [stdout] --> src/widgets/table.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | fn row_id_by_position(&self, y_position: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `higlighted_row_index` and `child_widget_position` are never read [INFO] [stdout] --> src/widgets/table.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Table [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | higlighted_row_index: FnvHashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | child_widget_position: Option<(u16, u16)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `row_id_by_position` is never used [INFO] [stdout] --> src/widgets/table.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 56 | / impl Table [INFO] [stdout] 57 | | where [INFO] [stdout] 58 | | D: Data, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn row_id_by_position(&self, y_position: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> examples/style.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let widgetbox = WidgetBox::new(text, 18, 7, Some("Title".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found integer [INFO] [stdout] --> examples/style.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | let widgetbox = WidgetBox::new(text, 18, 7, Some("Title".to_string())); [INFO] [stdout] | ^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: expected `Option`, found integer [INFO] [stdout] --> examples/style.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | let widgetbox = WidgetBox::new(text, 18, 7, Some("Title".to_string())); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/widgets/widgetbox.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 19 | let widgetbox = WidgetBox::new(text, Some(18), 7, Some("Title".to_string())); [INFO] [stdout] | +++++ + [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 19 | let widgetbox = WidgetBox::new(text, 18, Some(7), Some("Title".to_string())); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `karsa` (example "style") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> examples/table.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | fn delete(&mut self, index: usize) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_position` [INFO] [stdout] --> src/widgets/table.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | fn row_id_by_position(&self, y_position: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `higlighted_row_index` and `child_widget_position` are never read [INFO] [stdout] --> src/widgets/table.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Table [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | higlighted_row_index: FnvHashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | child_widget_position: Option<(u16, u16)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `row_id_by_position` is never used [INFO] [stdout] --> src/widgets/table.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 56 | / impl Table [INFO] [stdout] 57 | | where [INFO] [stdout] 58 | | D: Data, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn row_id_by_position(&self, y_position: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3c33b86877282360282b1c06125a99feaa1cabc640aa9c4442836a1a4b5ea362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c33b86877282360282b1c06125a99feaa1cabc640aa9c4442836a1a4b5ea362", kill_on_drop: false }` [INFO] [stdout] 3c33b86877282360282b1c06125a99feaa1cabc640aa9c4442836a1a4b5ea362