[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funixsuperhero%2Fxt" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/unixsuperhero/xt on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-1/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 762304a3354eb8e27538672fad34ae1b32fba6f3201da11af47da4b76ffd9229 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "762304a3354eb8e27538672fad34ae1b32fba6f3201da11af47da4b76ffd9229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "762304a3354eb8e27538672fad34ae1b32fba6f3201da11af47da4b76ffd9229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "762304a3354eb8e27538672fad34ae1b32fba6f3201da11af47da4b76ffd9229", kill_on_drop: false }` [INFO] [stdout] 762304a3354eb8e27538672fad34ae1b32fba6f3201da11af47da4b76ffd9229 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dca8bf910c5f343e7d530b20d483a58047e00dfe246b807ce64cebec295f7324 [INFO] running `Command { std: "docker" "start" "-a" "dca8bf910c5f343e7d530b20d483a58047e00dfe246b807ce64cebec295f7324", kill_on_drop: false }` [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 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 15.49s [INFO] running `Command { std: "docker" "inspect" "dca8bf910c5f343e7d530b20d483a58047e00dfe246b807ce64cebec295f7324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca8bf910c5f343e7d530b20d483a58047e00dfe246b807ce64cebec295f7324", kill_on_drop: false }` [INFO] [stdout] dca8bf910c5f343e7d530b20d483a58047e00dfe246b807ce64cebec295f7324 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4dea309b535f4862784d55e14543ee356351f2f681ba9b2b1e50391c38c5987 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4dea309b535f4862784d55e14543ee356351f2f681ba9b2b1e50391c38c5987", kill_on_drop: false }` [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.18s [INFO] running `Command { std: "docker" "inspect" "d4dea309b535f4862784d55e14543ee356351f2f681ba9b2b1e50391c38c5987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4dea309b535f4862784d55e14543ee356351f2f681ba9b2b1e50391c38c5987", kill_on_drop: false }` [INFO] [stdout] d4dea309b535f4862784d55e14543ee356351f2f681ba9b2b1e50391c38c5987 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 20fdac86add89d59c57cb3f2e6f7d4822cccf0a6cd2fa7c4ca70a204bc7bf4ac [INFO] running `Command { std: "docker" "start" "-a" "20fdac86add89d59c57cb3f2e6f7d4822cccf0a6cd2fa7c4ca70a204bc7bf4ac", 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.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/xt-bb95c48adb0d2909) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test area::test::test_area_col_cnt ... ok [INFO] [stdout] test area::test::test_area_row_cnt ... ok [INFO] [stdout] test area::test::test_area_row_rng ... ok [INFO] [stdout] test csv_loader::test::test_csvloader_from_path ... ok [INFO] [stdout] test area::test::test_area_size ... ok [INFO] [stdout] test area::test::test_area_col_rng ... 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_new ... ok [INFO] [stdout] test area::test::test_new_area ... ok [INFO] [stdout] test database::test::test_database_insert_cell ... ok [INFO] [stdout] test database::test::test_database_rev_cell_lookup ... ok [INFO] [stdout] test sutoa::test::test_sutoa_get_key ... ok [INFO] [stdout] test database::test::test_database_load_table ... ok [INFO] [stdout] test sutoa::test::test_sutoa_len ... ok [INFO] [stdout] test sutoa::test::test_sutoa_get ... ok [INFO] [stdout] test sutoa::test::test_sutoa_new ... ok [INFO] [stdout] test database::test::test_new ... 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] test database::test::test_database_rev_col_lookup ... ok [INFO] [stdout] test database::test::test_database_insert_col ... ok [INFO] [stdout] test database::test::test_database_insert_cell_no_dupes ... ok [INFO] [stdout] test database::table_builder_tests::test_tb_add_row ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "20fdac86add89d59c57cb3f2e6f7d4822cccf0a6cd2fa7c4ca70a204bc7bf4ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20fdac86add89d59c57cb3f2e6f7d4822cccf0a6cd2fa7c4ca70a204bc7bf4ac", kill_on_drop: false }` [INFO] [stdout] 20fdac86add89d59c57cb3f2e6f7d4822cccf0a6cd2fa7c4ca70a204bc7bf4ac