[INFO] cloning repository https://github.com/hackerdeen/hackhub2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackerdeen/hackhub2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackerdeen%2Fhackhub2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackerdeen%2Fhackhub2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b74033e5c2c7d6b7d4f5ecbc2d2544be4da4a43 [INFO] testing hackerdeen/hackhub2 against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackerdeen%2Fhackhub2" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hackerdeen/hackhub2 on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hackerdeen/hackhub2 [INFO] finished tweaking git repo https://github.com/hackerdeen/hackhub2 [INFO] tweaked toml for git repo https://github.com/hackerdeen/hackhub2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hackerdeen/hackhub2 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d1f27de7f7e380799d0526ecff4486e7cf1b3d33bfad6ce19f08e1243239249 [INFO] running `Command { std: "docker" "start" "-a" "2d1f27de7f7e380799d0526ecff4486e7cf1b3d33bfad6ce19f08e1243239249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d1f27de7f7e380799d0526ecff4486e7cf1b3d33bfad6ce19f08e1243239249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d1f27de7f7e380799d0526ecff4486e7cf1b3d33bfad6ce19f08e1243239249", kill_on_drop: false }` [INFO] [stdout] 2d1f27de7f7e380799d0526ecff4486e7cf1b3d33bfad6ce19f08e1243239249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0e6e88e3f668b4a1521576f178946f46cd27b26fd632feea06705a8f5c34551 [INFO] running `Command { std: "docker" "start" "-a" "f0e6e88e3f668b4a1521576f178946f46cd27b26fd632feea06705a8f5c34551", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.58 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tokio v1.28.1 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling zstd-safe v6.0.5+zstd.1.5.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling time v0.3.21 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling bitflags v2.3.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling quote v1.0.27 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling syn v2.0.16 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling hashlink v0.8.2 [INFO] [stderr] Compiling rusqlite v0.29.0 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling actix-rt v2.8.0 [INFO] [stderr] Compiling actix-server v2.2.0 [INFO] [stderr] Compiling actix-codec v0.5.1 [INFO] [stderr] Compiling h2 v0.3.19 [INFO] [stderr] Compiling diesel_derives v2.0.2 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-http v3.3.1 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Compiling diesel v2.0.4 [INFO] [stderr] Compiling migrations_internals v2.0.0 [INFO] [stderr] Compiling migrations_macros v2.0.0 [INFO] [stderr] Compiling actix-web v4.3.1 [INFO] [stderr] Compiling diesel_migrations v2.0.0 [INFO] [stderr] Compiling hackhub2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MIGRATIONS` is never used [INFO] [stdout] --> src/lib.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const MIGRATIONS: EmbeddedMigrations = embed_migrations!("migrations"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user`, `title`, `forename`, `surname`, and `honours` are never read [INFO] [stdout] --> src/db/models.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct PersonName { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 47 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | /// *Foreign key*. Link to user table. [INFO] [stdout] 49 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | /// [INFO] [stdout] 51 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | pub forename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | pub surname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | pub honours: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PersonName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "f0e6e88e3f668b4a1521576f178946f46cd27b26fd632feea06705a8f5c34551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e6e88e3f668b4a1521576f178946f46cd27b26fd632feea06705a8f5c34551", kill_on_drop: false }` [INFO] [stdout] f0e6e88e3f668b4a1521576f178946f46cd27b26fd632feea06705a8f5c34551 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1345ef0c7c28cb85fb4144dbc618df16324f8d9924196e38663dc0cf8043a806 [INFO] running `Command { std: "docker" "start" "-a" "1345ef0c7c28cb85fb4144dbc618df16324f8d9924196e38663dc0cf8043a806", kill_on_drop: false }` [INFO] [stdout] warning: constant `MIGRATIONS` is never used [INFO] [stdout] --> src/lib.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const MIGRATIONS: EmbeddedMigrations = embed_migrations!("migrations"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user`, `title`, `forename`, `surname`, and `honours` are never read [INFO] [stdout] --> src/db/models.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct PersonName { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 47 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | /// *Foreign key*. Link to user table. [INFO] [stdout] 49 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | /// [INFO] [stdout] 51 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | pub forename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | pub surname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | pub honours: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PersonName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hackhub2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::remove_file` [INFO] [stdout] --> src/user/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use std::fs::remove_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/user/mod.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | use crate::db::models::{NewUser, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user`, `title`, `forename`, `surname`, and `honours` are never read [INFO] [stdout] --> src/db/models.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct PersonName { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 47 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | /// *Foreign key*. Link to user table. [INFO] [stdout] 49 | pub user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | /// [INFO] [stdout] 51 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | pub forename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | pub surname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | pub honours: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PersonName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.53s [INFO] running `Command { std: "docker" "inspect" "1345ef0c7c28cb85fb4144dbc618df16324f8d9924196e38663dc0cf8043a806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1345ef0c7c28cb85fb4144dbc618df16324f8d9924196e38663dc0cf8043a806", kill_on_drop: false }` [INFO] [stdout] 1345ef0c7c28cb85fb4144dbc618df16324f8d9924196e38663dc0cf8043a806 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc1401dd7860f737b7ff905d0b9f01786d09c67c4b4748fcb7cf19e53bd4d754 [INFO] running `Command { std: "docker" "start" "-a" "fc1401dd7860f737b7ff905d0b9f01786d09c67c4b4748fcb7cf19e53bd4d754", kill_on_drop: false }` [INFO] [stderr] warning: constant `MIGRATIONS` is never used [INFO] [stderr] --> src/lib.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | const MIGRATIONS: EmbeddedMigrations = embed_migrations!("migrations"); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `user`, `title`, `forename`, `surname`, and `honours` are never read [INFO] [stderr] --> src/db/models.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct PersonName { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 47 | pub id: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 48 | /// *Foreign key*. Link to user table. [INFO] [stderr] 49 | pub user: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 50 | /// [INFO] [stderr] 51 | pub title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 52 | pub forename: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 53 | pub surname: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 54 | pub honours: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PersonName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::remove_file` [INFO] [stderr] --> src/user/mod.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | use std::fs::remove_file; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `User` [INFO] [stderr] --> src/user/mod.rs:60:38 [INFO] [stderr] | [INFO] [stderr] 60 | use crate::db::models::{NewUser, User}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `user`, `title`, `forename`, `surname`, and `honours` are never read [INFO] [stderr] --> src/db/models.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct PersonName { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 47 | pub id: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 48 | /// *Foreign key*. Link to user table. [INFO] [stderr] 49 | pub user: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 50 | /// [INFO] [stderr] 51 | pub title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 52 | pub forename: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 53 | pub surname: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 54 | pub honours: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PersonName` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hackhub2` (lib) generated 2 warnings [INFO] [stderr] warning: `hackhub2` (lib test) generated 3 warnings (run `cargo fix --lib -p hackhub2 --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hackhub2-b4ec200a0951f8e8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test user::test::test_simple_add_user ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- user::test::test_simple_add_user stdout ---- [INFO] [stdout] thread 'user::test::test_simple_add_user' panicked at src/user/mod.rs:69:17: [INFO] [stdout] Could not remove existing test database. [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a3f9ad9f15 - std::backtrace_rs::backtrace::libunwind::trace::h1a07e5dba0da0cd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stdout] 1: 0x55a3f9ad9f15 - std::backtrace_rs::backtrace::trace_unsynchronized::h61b9b8394328c0bc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a3f9ad9f15 - std::sys_common::backtrace::_print_fmt::h1c5e18b460934cff [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x55a3f9ad9f15 - ::fmt::h1e1a1972118942ad [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55a3f9b00b8b - core::fmt::rt::Argument::fmt::h07af2b4071d536cd [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/rt.rs:165:63 [INFO] [stdout] 5: 0x55a3f9b00b8b - core::fmt::write::hc090a2ffd6b28c4a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/mod.rs:1157:21 [INFO] [stdout] 6: 0x55a3f9ad78ef - std::io::Write::write_fmt::h9443d787e8277bd2 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/io/mod.rs:1832:15 [INFO] [stdout] 7: 0x55a3f9ad9cee - std::sys_common::backtrace::_print::h4e80c5803d4ee35b [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55a3f9ad9cee - std::sys_common::backtrace::print::ha96650907276675e [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55a3f9adb669 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0 [INFO] [stdout] 10: 0x55a3f9adb32e - std::panicking::default_hook::h207342be97478370 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:295:9 [INFO] [stdout] 11: 0x55a3f9a680ba - as core::ops::function::Fn>::call::haebd875eeb75949f [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 12: 0x55a3f9a680ba - test::test_main::{{closure}}::h9108cb0ebacdb458 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x55a3f9adbc36 - as core::ops::function::Fn>::call::ha9c3bc81d312fd83 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 14: 0x55a3f9adbc36 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:799:13 [INFO] [stdout] 15: 0x55a3f9adb9ab - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:656:13 [INFO] [stdout] 16: 0x55a3f9ada3d9 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x55a3f9adb717 - rust_begin_unwind [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5 [INFO] [stdout] 18: 0x55a3f99ff973 - core::panicking::panic_fmt::hdc63834ffaaefae5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55a3f9a2c185 - hackhub2::user::test::new_database::h1a804e28e4793a4f [INFO] [stdout] at /opt/rustwide/workdir/src/user/mod.rs:69:17 [INFO] [stdout] 20: 0x55a3f9a2c386 - hackhub2::user::test::test_simple_add_user::h97a99db63703bd49 [INFO] [stdout] at /opt/rustwide/workdir/src/user/mod.rs:80:24 [INFO] [stdout] 21: 0x55a3f9a2c357 - hackhub2::user::test::test_simple_add_user::{{closure}}::hdd12024184dc0f33 [INFO] [stdout] at /opt/rustwide/workdir/src/user/mod.rs:79:30 [INFO] [stdout] 22: 0x55a3f9a1f4c6 - core::ops::function::FnOnce::call_once::h515292793b935e7e [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x55a3f9a6ca9b - core::ops::function::FnOnce::call_once::hb194ee8411fb46c7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55a3f9a6ca9b - test::__rust_begin_short_backtrace::h871a93aaa56c76c5 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:623:18 [INFO] [stdout] 25: 0x55a3f9a6c1a1 - test::run_test_in_process::{{closure}}::h6d9e6b0161cb50c6 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:60 [INFO] [stdout] 26: 0x55a3f9a6c1a1 - as core::ops::function::FnOnce<()>>::call_once::hb9f3c63b5d0e0baa [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x55a3f9a6c1a1 - std::panicking::try::do_call::h83eb4c9b7c70ebcc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 28: 0x55a3f9a6c1a1 - std::panicking::try::h5ffd56bf671a89b3 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 29: 0x55a3f9a6c1a1 - std::panic::catch_unwind::h044e758d6cbf65b7 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 30: 0x55a3f9a6c1a1 - test::run_test_in_process::hf7ca2db08c9223b8 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:646:27 [INFO] [stdout] 31: 0x55a3f9a6c1a1 - test::run_test::{{closure}}::h9657c20462181b87 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:569:43 [INFO] [stdout] 32: 0x55a3f9a34c24 - test::run_test::{{closure}}::h80c3aef427ce62cc [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/test/src/lib.rs:597:41 [INFO] [stdout] 33: 0x55a3f9a34c24 - std::sys_common::backtrace::__rust_begin_short_backtrace::h43274eec75e29097 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 34: 0x55a3f9a39692 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hea1335728d2a7953 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:542:17 [INFO] [stdout] 35: 0x55a3f9a39692 - as core::ops::function::FnOnce<()>>::call_once::hb16d5d5fd985753c [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x55a3f9a39692 - std::panicking::try::do_call::h65de05e16c44e167 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40 [INFO] [stdout] 37: 0x55a3f9a39692 - std::panicking::try::h187f01afe14eb3bf [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19 [INFO] [stdout] 38: 0x55a3f9a39692 - std::panic::catch_unwind::h1b55347b2c8efb63 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14 [INFO] [stdout] 39: 0x55a3f9a39692 - std::thread::Builder::spawn_unchecked_::{{closure}}::hea39e0adaff5b52d [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/thread/mod.rs:541:30 [INFO] [stdout] 40: 0x55a3f9a39692 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9b61aba01c3c1f32 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x55a3f9adffeb - as core::ops::function::FnOnce>::call_once::h09e5a4c541afa800 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 42: 0x55a3f9adffeb - as core::ops::function::FnOnce>::call_once::h9c8b03c22f4e7026 [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 43: 0x55a3f9adffeb - std::sys::pal::unix::thread::Thread::new::thread_start::h522bc89a54da820a [INFO] [stdout] at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7fb46f3f1ac3 - [INFO] [stdout] 45: 0x7fb46f482a04 - __clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] user::test::test_simple_add_user [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "fc1401dd7860f737b7ff905d0b9f01786d09c67c4b4748fcb7cf19e53bd4d754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc1401dd7860f737b7ff905d0b9f01786d09c67c4b4748fcb7cf19e53bd4d754", kill_on_drop: false }` [INFO] [stdout] fc1401dd7860f737b7ff905d0b9f01786d09c67c4b4748fcb7cf19e53bd4d754