[INFO] cloning repository https://github.com/unixsuperhero/xt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/unixsuperhero/xt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funixsuperhero%2Fxt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funixsuperhero%2Fxt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09488133fb05aa2936849f65b25e3d8453cff731 [INFO] testing unixsuperhero/xt against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funixsuperhero%2Fxt" "/workspace/builds/worker-37/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-37/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/unixsuperhero/xt on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/unixsuperhero/xt [INFO] finished tweaking git repo https://github.com/unixsuperhero/xt [INFO] tweaked toml for git repo https://github.com/unixsuperhero/xt written to /workspace/builds/worker-37/source/Cargo.toml [INFO] crate git repo https://github.com/unixsuperhero/xt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eaf9ed1833aee8224729250084dd027a67d59c4d744c9abf190a6e34cc16e71a [INFO] running `Command { std: "docker" "start" "-a" "eaf9ed1833aee8224729250084dd027a67d59c4d744c9abf190a6e34cc16e71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eaf9ed1833aee8224729250084dd027a67d59c4d744c9abf190a6e34cc16e71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaf9ed1833aee8224729250084dd027a67d59c4d744c9abf190a6e34cc16e71a", kill_on_drop: false }` [INFO] [stdout] eaf9ed1833aee8224729250084dd027a67d59c4d744c9abf190a6e34cc16e71a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea5e3c53f339eba2e8cd9503b4b9d7675f563a42ec32569be9a9308b77f8deae [INFO] running `Command { std: "docker" "start" "-a" "ea5e3c53f339eba2e8cd9503b4b9d7675f563a42ec32569be9a9308b77f8deae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling xt v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `cursor` [INFO] [stdout] --> src/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | cursor: Pos, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AppState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_area` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | screen_area: Pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `table` [INFO] [stdout] --> src/app.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | table: Table<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Area` [INFO] [stdout] --> src/area.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Area { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `row_rng` [INFO] [stdout] --> src/area.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn row_rng(&self) -> RangeInclusive { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `col_rng` [INFO] [stdout] --> src/area.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn col_rng(&self) -> RangeInclusive { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `row_cnt` [INFO] [stdout] --> src/area.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn row_cnt(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `col_cnt` [INFO] [stdout] --> src/area.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn col_cnt(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/area.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/csv_loader.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CsvLoader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/csv_loader.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head` [INFO] [stdout] --> src/database.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | head: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Database` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_table` [INFO] [stdout] --> src/database.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn current_table(&self) -> Option<&Table> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dbl_vec_area` [INFO] [stdout] --> src/database.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn dbl_vec_area(dblvec: &[Vec]) -> Pos { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cells` [INFO] [stdout] --> src/database.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | cells: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `columns` [INFO] [stdout] --> src/database.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | columns: Vec<&'a Column>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `row_cnt` [INFO] [stdout] --> src/database.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | row_cnt: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `col_cnt` [INFO] [stdout] --> src/database.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | col_cnt: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `header` [INFO] [stdout] --> src/database.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn header(&mut self, new_header: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_widths` [INFO] [stdout] --> src/database.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn from_widths(widths: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sutoa.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/sutoa.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn set(&mut self, val: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/sutoa.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get(&self, key: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_key` [INFO] [stdout] --> src/sutoa.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_key(&self, val: T) -> Option<&usize> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/sutoa.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.44s [INFO] running `Command { std: "docker" "inspect" "ea5e3c53f339eba2e8cd9503b4b9d7675f563a42ec32569be9a9308b77f8deae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea5e3c53f339eba2e8cd9503b4b9d7675f563a42ec32569be9a9308b77f8deae", kill_on_drop: false }` [INFO] [stdout] ea5e3c53f339eba2e8cd9503b4b9d7675f563a42ec32569be9a9308b77f8deae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eadaccdf41ff76aaaf439a7fa166de095fa16d1d626f2d0e54ddf666d359814 [INFO] running `Command { std: "docker" "start" "-a" "9eadaccdf41ff76aaaf439a7fa166de095fa16d1d626f2d0e54ddf666d359814", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling xt v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cell1` [INFO] [stdout] --> src/database.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let cell1 = db.insert_cell(&String::from("a")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cell1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tab` [INFO] [stdout] --> src/database.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | let tab = db.load_table(&tb); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cursor` [INFO] [stdout] --> src/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | cursor: Pos, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AppState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_area` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | screen_area: Pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `table` [INFO] [stdout] --> src/app.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | table: Table<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AppState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/app.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/csv_loader.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CsvLoader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/csv_loader.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head` [INFO] [stdout] --> src/database.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | head: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Database` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_table` [INFO] [stdout] --> src/database.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn current_table(&self) -> Option<&Table> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dbl_vec_area` [INFO] [stdout] --> src/database.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn dbl_vec_area(dblvec: &[Vec]) -> Pos { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cells` [INFO] [stdout] --> src/database.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | cells: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `columns` [INFO] [stdout] --> src/database.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | columns: Vec<&'a Column>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `row_cnt` [INFO] [stdout] --> src/database.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | row_cnt: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `col_cnt` [INFO] [stdout] --> src/database.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | col_cnt: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/database.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_widths` [INFO] [stdout] --> src/database.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn from_widths(widths: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `Command { std: "docker" "inspect" "9eadaccdf41ff76aaaf439a7fa166de095fa16d1d626f2d0e54ddf666d359814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eadaccdf41ff76aaaf439a7fa166de095fa16d1d626f2d0e54ddf666d359814", kill_on_drop: false }` [INFO] [stdout] 9eadaccdf41ff76aaaf439a7fa166de095fa16d1d626f2d0e54ddf666d359814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 23e1f0616fd284f52869f5aee2367233d3401b36bd2951025c7a5ad2222de633 [INFO] running `Command { std: "docker" "start" "-a" "23e1f0616fd284f52869f5aee2367233d3401b36bd2951025c7a5ad2222de633", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `cell1` [INFO] [stderr] --> src/database.rs:234:13 [INFO] [stderr] | [INFO] [stderr] 234 | let cell1 = db.insert_cell(&String::from("a")); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cell1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tab` [INFO] [stderr] --> src/database.rs:347:13 [INFO] [stderr] | [INFO] [stderr] 347 | let tab = db.load_table(&tb); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tab` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cursor` [INFO] [stderr] --> src/app.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | cursor: Pos, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `AppState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/app.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone,Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `screen_area` [INFO] [stderr] --> src/app.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | screen_area: Pos, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/app.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone,Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `table` [INFO] [stderr] --> src/app.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | table: Table<'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AppState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/app.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone,Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `path` [INFO] [stderr] --> src/csv_loader.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | path: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CsvLoader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/csv_loader.rs:69:10 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `head` [INFO] [stderr] --> src/database.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | head: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Database` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/database.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `current_table` [INFO] [stderr] --> src/database.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn current_table(&self) -> Option<&Table> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dbl_vec_area` [INFO] [stderr] --> src/database.rs:99:8 [INFO] [stderr] | [INFO] [stderr] 99 | fn dbl_vec_area(dblvec: &[Vec]) -> Pos { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cells` [INFO] [stderr] --> src/database.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | cells: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/database.rs:179:10 [INFO] [stderr] | [INFO] [stderr] 179 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `columns` [INFO] [stderr] --> src/database.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | columns: Vec<&'a Column>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/database.rs:179:10 [INFO] [stderr] | [INFO] [stderr] 179 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `row_cnt` [INFO] [stderr] --> src/database.rs:183:5 [INFO] [stderr] | [INFO] [stderr] 183 | row_cnt: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/database.rs:179:10 [INFO] [stderr] | [INFO] [stderr] 179 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `col_cnt` [INFO] [stderr] --> src/database.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | col_cnt: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/database.rs:179:10 [INFO] [stderr] | [INFO] [stderr] 179 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_widths` [INFO] [stderr] --> src/database.rs:211:12 [INFO] [stderr] | [INFO] [stderr] 211 | pub fn from_widths(widths: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `xt` (bin "xt" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/xt-2dc68cd0abd72501) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test area::test::test_area_col_cnt ... ok [INFO] [stdout] test area::test::test_area_col_rng ... ok [INFO] [stdout] test area::test::test_area_row_cnt ... ok [INFO] [stdout] test area::test::test_area_row_rng ... ok [INFO] [stdout] test area::test::test_area_size ... ok [INFO] [stdout] test area::test::test_new_area ... ok [INFO] [stdout] test csv_loader::test::test_csvloader_from_path ... ok [INFO] [stdout] test database::column_tests::test_column ... ok [INFO] [stdout] test database::column_tests::test_tb_add_row ... ok [INFO] [stdout] test database::table_builder_tests::test_tb_add_row ... ok [INFO] [stdout] test database::table_builder_tests::test_tb_new ... ok [INFO] [stdout] test database::test::test_database_insert_cell ... ok [INFO] [stdout] test database::test::test_database_insert_cell_no_dupes ... ok [INFO] [stdout] test database::test::test_database_insert_col ... ok [INFO] [stdout] test database::test::test_database_load_table ... ok [INFO] [stdout] test database::test::test_database_rev_cell_lookup ... ok [INFO] [stdout] test database::test::test_database_rev_col_lookup ... ok [INFO] [stdout] test database::test::test_new ... ok [INFO] [stdout] test sutoa::test::test_sutoa_get ... ok [INFO] [stdout] test sutoa::test::test_sutoa_len ... ok [INFO] [stdout] test sutoa::test::test_sutoa_new ... ok [INFO] [stdout] test sutoa::test::test_sutoa_get_key ... ok [INFO] [stdout] test sutoa::test::test_sutoa_set ... ok [INFO] [stdout] test sutoa::test::test_sutoa_with_columns_instead_of_strings ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "23e1f0616fd284f52869f5aee2367233d3401b36bd2951025c7a5ad2222de633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e1f0616fd284f52869f5aee2367233d3401b36bd2951025c7a5ad2222de633", kill_on_drop: false }` [INFO] [stdout] 23e1f0616fd284f52869f5aee2367233d3401b36bd2951025c7a5ad2222de633