[INFO] updating cached repository https://github.com/JDSeiler/alexandria-db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82f63ff4ef959402ca9361af15b2971d93c63220 [INFO] testing JDSeiler/alexandria-db against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJDSeiler%2Falexandria-db" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JDSeiler/alexandria-db on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JDSeiler/alexandria-db [INFO] finished tweaking git repo https://github.com/JDSeiler/alexandria-db [INFO] tweaked toml for git repo https://github.com/JDSeiler/alexandria-db written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/JDSeiler/alexandria-db already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcb10ad66f6edc60dbfdabc96c10bb6d6e580ad588b8e8ea4ceeddb52aec887c [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" "bcb10ad66f6edc60dbfdabc96c10bb6d6e580ad588b8e8ea4ceeddb52aec887c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcb10ad66f6edc60dbfdabc96c10bb6d6e580ad588b8e8ea4ceeddb52aec887c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb10ad66f6edc60dbfdabc96c10bb6d6e580ad588b8e8ea4ceeddb52aec887c", kill_on_drop: false }` [INFO] [stdout] bcb10ad66f6edc60dbfdabc96c10bb6d6e580ad588b8e8ea4ceeddb52aec887c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6eace9738094609b184df3a5d692c2a0329f6de2467bcfdc7b944f5561dfaab [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" "e6eace9738094609b184df3a5d692c2a0329f6de2467bcfdc7b944f5561dfaab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling rusqlite v0.22.0 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling h2 v0.2.3 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling warp v0.2.2 [INFO] [stderr] Compiling alexandria-db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api/models/book.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn verify_update_payload(id: u32, payload: HashMap) -> String { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "e6eace9738094609b184df3a5d692c2a0329f6de2467bcfdc7b944f5561dfaab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6eace9738094609b184df3a5d692c2a0329f6de2467bcfdc7b944f5561dfaab", kill_on_drop: false }` [INFO] [stdout] e6eace9738094609b184df3a5d692c2a0329f6de2467bcfdc7b944f5561dfaab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--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] dd8e718ad8531169d1ed334506fbae1233b0e5908e3adf2513a775d410c187cd [INFO] running `Command { std: "docker" "start" "-a" "dd8e718ad8531169d1ed334506fbae1233b0e5908e3adf2513a775d410c187cd", kill_on_drop: false }` [INFO] [stderr] Compiling alexandria-db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api/models/book.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn verify_update_payload(id: u32, payload: HashMap) -> String { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/api/models/book.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | Err(e) => panic!("There should not be any errors!"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `book` [INFO] [stdout] --> src/api/models/book.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | Ok(book) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_book` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.73s [INFO] running `Command { std: "docker" "inspect" "dd8e718ad8531169d1ed334506fbae1233b0e5908e3adf2513a775d410c187cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd8e718ad8531169d1ed334506fbae1233b0e5908e3adf2513a775d410c187cd", kill_on_drop: false }` [INFO] [stdout] dd8e718ad8531169d1ed334506fbae1233b0e5908e3adf2513a775d410c187cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 14206bbdcc9bd8fd7b8c94b61b72b3676ad4458533de3606963423f4c2c2f009 [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" "14206bbdcc9bd8fd7b8c94b61b72b3676ad4458533de3606963423f4c2c2f009", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/api/models/book.rs:37:30 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn verify_update_payload(id: u32, payload: HashMap) -> String { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/api/models/book.rs:163:17 [INFO] [stderr] | [INFO] [stderr] 163 | Err(e) => panic!("There should not be any errors!"), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `book` [INFO] [stderr] --> src/api/models/book.rs:189:20 [INFO] [stderr] | [INFO] [stderr] 189 | Ok(book) => {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_book` [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/alexandria_db-2453dbb37b9af9b0 [INFO] [stdout] running 3 tests [INFO] [stdout] test api::models::book::tests::convert_json_to_book ... ok [INFO] [stdout] test api::models::book::tests::writing_a_book_to_db ... FAILED [INFO] [stdout] test api::models::book::tests::query_books_from_db ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- api::models::book::tests::writing_a_book_to_db stdout ---- [INFO] [stdout] Book { [INFO] [stdout] id: None, [INFO] [stdout] title: "A New Book", [INFO] [stdout] author: "JDSeiler-Test", [INFO] [stdout] pages: Some( [INFO] [stdout] 45, [INFO] [stdout] ), [INFO] [stdout] genre: Some( [INFO] [stdout] "Thriller", [INFO] [stdout] ), [INFO] [stdout] medium: "paper", [INFO] [stdout] rating: Some( [INFO] [stdout] 5, [INFO] [stdout] ), [INFO] [stdout] notes: None, [INFO] [stdout] } [INFO] [stdout] thread 'api::models::book::tests::writing_a_book_to_db' panicked at 'Insert failed with error: SqliteFailure( [INFO] [stdout] Error { [INFO] [stdout] code: ReadOnly, [INFO] [stdout] extended_code: 8, [INFO] [stdout] }, [INFO] [stdout] Some( [INFO] [stdout] "attempt to write a readonly database", [INFO] [stdout] ), [INFO] [stdout] )', src/api/models/book.rs:210:23 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55707818ef45 - backtrace::backtrace::libunwind::trace::h5e2646fa3eddf2ea [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55707818ef45 - backtrace::backtrace::trace_unsynchronized::hb95dd7f77ce47877 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55707818ef45 - std::sys_common::backtrace::_print_fmt::h5e71b67af43fd70d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55707818ef45 - ::fmt::hdb4a83d2b61107e5 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5570781b6bac - core::fmt::write::ha20e7262fa3e8a7a [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x557077ff37b5 - std::io::Write::write_fmt::hd8ff364c7845d2d0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x5570781895f1 - std::io::impls::>::write_fmt::h1c057ef6e8762996 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5570781916a0 - std::sys_common::backtrace::_print::h9c07314cc66ba539 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5570781916a0 - std::sys_common::backtrace::print::hd1fd65f49a2d8544 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5570781916a0 - std::panicking::default_hook::{{closure}}::h222da46485ab36fc [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55707819139a - std::panicking::default_hook::hc5868949d129ed00 [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x557078191ce3 - std::panicking::rust_panic_with_hook::h26a6ab8b0993c0c8 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5570781918db - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x55707819184b - std::panicking::begin_panic_fmt::h2ff295231415d4a6 [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x557077fef49f - alexandria_db::api::models::book::tests::writing_a_book_to_db::h4b4f549ca48e8d41 [INFO] [stdout] at src/api/models/book.rs:210 [INFO] [stdout] 15: 0x557077fef0aa - alexandria_db::api::models::book::tests::writing_a_book_to_db::{{closure}}::h0a42b76f4fbb76a0 [INFO] [stdout] at src/api/models/book.rs:196 [INFO] [stdout] 16: 0x557077fee0fe - core::ops::function::FnOnce::call_once::hd35f84ce28cb10db [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x55707801ad2c - as core::ops::function::FnOnce>::call_once::h42148c33ed88c979 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x55707801ad2c - as core::ops::function::FnOnce<()>>::call_once::h759dc0b09d774665 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x55707801ad2c - std::panicking::try::do_call::h676ad1fc9e9badea [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x55707801ad2c - std::panicking::try::hee36a8727a3050b0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x55707801ad2c - std::panic::catch_unwind::hd5d426ebd89b2542 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x55707801ad2c - test::run_test_in_process::h8dacdba4dc4cbaa5 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x55707801ad2c - test::run_test::run_test_inner::{{closure}}::hf93754afad6be40f [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x557077ff2ca6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2c69fab544a90730 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x557077ff7d35 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hcf302fafa60d80f2 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x557077ff7d35 - as core::ops::function::FnOnce<()>>::call_once::h39ede710608e817e [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x557077ff7d35 - std::panicking::try::do_call::hec0b4d2faa46fbf7 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x557077ff7d35 - std::panicking::try::h0144ba3f2539803d [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x557077ff7d35 - std::panic::catch_unwind::ha03e59eb589f857b [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x557077ff7d35 - std::thread::Builder::spawn_unchecked::{{closure}}::hdeba34620a4a7a44 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x557077ff7d35 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h552693dbb801eadd [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x557078197eaa - as core::ops::function::FnOnce>::call_once::h61c24496ae624ac5 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x557078197eaa - as core::ops::function::FnOnce>::call_once::h89548957afa14049 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x557078197eaa - std::sys::unix::thread::Thread::new::thread_start::h73903fbbff5b990e [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7fe02435f609 - start_thread [INFO] [stdout] 36: 0x7fe02426b103 - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- api::models::book::tests::query_books_from_db stdout ---- [INFO] [stdout] thread 'api::models::book::tests::query_books_from_db' panicked at 'A query on the database for id 1 failed: QueryReturnedNoRows', src/api/models/book.rs:190:27 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55707818ef45 - backtrace::backtrace::libunwind::trace::h5e2646fa3eddf2ea [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55707818ef45 - backtrace::backtrace::trace_unsynchronized::hb95dd7f77ce47877 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55707818ef45 - std::sys_common::backtrace::_print_fmt::h5e71b67af43fd70d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55707818ef45 - ::fmt::hdb4a83d2b61107e5 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5570781b6bac - core::fmt::write::ha20e7262fa3e8a7a [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x557077ff37b5 - std::io::Write::write_fmt::hd8ff364c7845d2d0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x5570781895f1 - std::io::impls::>::write_fmt::h1c057ef6e8762996 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5570781916a0 - std::sys_common::backtrace::_print::h9c07314cc66ba539 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5570781916a0 - std::sys_common::backtrace::print::hd1fd65f49a2d8544 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5570781916a0 - std::panicking::default_hook::{{closure}}::h222da46485ab36fc [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55707819139a - std::panicking::default_hook::hc5868949d129ed00 [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x557078191ce3 - std::panicking::rust_panic_with_hook::h26a6ab8b0993c0c8 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5570781918db - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x55707819184b - std::panicking::begin_panic_fmt::h2ff295231415d4a6 [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x557077fef05d - alexandria_db::api::models::book::tests::query_books_from_db::he5b3a00595e72940 [INFO] [stdout] at src/api/models/book.rs:190 [INFO] [stdout] 15: 0x557077feedfa - alexandria_db::api::models::book::tests::query_books_from_db::{{closure}}::h570fb41eece304cd [INFO] [stdout] at src/api/models/book.rs:185 [INFO] [stdout] 16: 0x557077fee01e - core::ops::function::FnOnce::call_once::h303e354f1fc53213 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x55707801ad2c - as core::ops::function::FnOnce>::call_once::h42148c33ed88c979 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x55707801ad2c - as core::ops::function::FnOnce<()>>::call_once::h759dc0b09d774665 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x55707801ad2c - std::panicking::try::do_call::h676ad1fc9e9badea [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x55707801ad2c - std::panicking::try::hee36a8727a3050b0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x55707801ad2c - std::panic::catch_unwind::hd5d426ebd89b2542 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x55707801ad2c - test::run_test_in_process::h8dacdba4dc4cbaa5 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x55707801ad2c - test::run_test::run_test_inner::{{closure}}::hf93754afad6be40f [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x557077ff2ca6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2c69fab544a90730 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x557077ff7d35 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hcf302fafa60d80f2 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x557077ff7d35 - as core::ops::function::FnOnce<()>>::call_once::h39ede710608e817e [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x557077ff7d35 - std::panicking::try::do_call::hec0b4d2faa46fbf7 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x557077ff7d35 - std::panicking::try::h0144ba3f2539803d [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x557077ff7d35 - std::panic::catch_unwind::ha03e59eb589f857b [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x557077ff7d35 - std::thread::Builder::spawn_unchecked::{{closure}}::hdeba34620a4a7a44 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x557077ff7d35 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h552693dbb801eadd [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x557078197eaa - as core::ops::function::FnOnce>::call_once::h61c24496ae624ac5 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x557078197eaa - as core::ops::function::FnOnce>::call_once::h89548957afa14049 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x557078197eaa - std::sys::unix::thread::Thread::new::thread_start::h73903fbbff5b990e [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7fe02435f609 - start_thread [INFO] [stdout] 36: 0x7fe02426b103 - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] api::models::book::tests::query_books_from_db [INFO] [stdout] api::models::book::tests::writing_a_book_to_db [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin alexandria-db' [INFO] running `Command { std: "docker" "inspect" "14206bbdcc9bd8fd7b8c94b61b72b3676ad4458533de3606963423f4c2c2f009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14206bbdcc9bd8fd7b8c94b61b72b3676ad4458533de3606963423f4c2c2f009", kill_on_drop: false }` [INFO] [stdout] 14206bbdcc9bd8fd7b8c94b61b72b3676ad4458533de3606963423f4c2c2f009