[INFO] fetching crate dbless 0.2.0... [INFO] testing dbless-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] extracting crate dbless 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate dbless 0.2.0 [INFO] finished tweaking crates.io crate dbless 0.2.0 [INFO] tweaked toml for crates.io crate dbless 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dbless 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding ctor v0.2.9 (available: v0.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redb v2.6.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f7a0739332f7a67a4793011d9f82d175d166280874f2ac18f422ddac85b9a29 [INFO] running `Command { std: "docker" "start" "-a" "0f7a0739332f7a67a4793011d9f82d175d166280874f2ac18f422ddac85b9a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f7a0739332f7a67a4793011d9f82d175d166280874f2ac18f422ddac85b9a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f7a0739332f7a67a4793011d9f82d175d166280874f2ac18f422ddac85b9a29", kill_on_drop: false }` [INFO] [stdout] 0f7a0739332f7a67a4793011d9f82d175d166280874f2ac18f422ddac85b9a29 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7847327cea822a6b952b366ecf6e00de9698e993f0c2474b01333a62e264234b [INFO] running `Command { std: "docker" "start" "-a" "7847327cea822a6b952b366ecf6e00de9698e993f0c2474b01333a62e264234b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling redb v2.6.0 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling dbless v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.87s [INFO] running `Command { std: "docker" "inspect" "7847327cea822a6b952b366ecf6e00de9698e993f0c2474b01333a62e264234b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7847327cea822a6b952b366ecf6e00de9698e993f0c2474b01333a62e264234b", kill_on_drop: false }` [INFO] [stdout] 7847327cea822a6b952b366ecf6e00de9698e993f0c2474b01333a62e264234b [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6377b9a62e2285de9a627c4cdcff83c99c80504f13e1f9cd0b146e6c39c3e1c8 [INFO] running `Command { std: "docker" "start" "-a" "6377b9a62e2285de9a627c4cdcff83c99c80504f13e1f9cd0b146e6c39c3e1c8", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling dbless v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/tests.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stdout] | ^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 52 | / test_db_and_tables!(|db| { [INFO] [stdout] 53 | | db.set("key2", &"value")?; // overwritten 2 lines later [INFO] [stdout] 54 | | db.set("key1", &"value")?; [INFO] [stdout] 55 | | db.set("key2", &1234)?; [INFO] [stdout] ... | [INFO] [stdout] 76 | | assert_eq!(db.entries::()?.len(), 0); [INFO] [stdout] 77 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/tests.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stdout] | ^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 82 | / test_db_and_tables!(|db| { [INFO] [stdout] 83 | | assert!(db.get::("key")?.is_none()); [INFO] [stdout] 84 | | db.set("key", &"value")?; [INFO] [stdout] 85 | | assert_eq!(db.get::("key")?.unwrap(), "value".to_owned()); [INFO] [stdout] ... | [INFO] [stdout] 89 | | assert_eq!(db.get::("key")?.unwrap(), "value".to_owned()); [INFO] [stdout] 90 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/tests.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stdout] | ^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 95 | / test_db_and_tables!(|db| { [INFO] [stdout] 96 | | db.set("key", &"value")?; [INFO] [stdout] 97 | | assert_eq!(db.get::("key")?.unwrap(), "value".to_owned()); [INFO] [stdout] 98 | | db.remove("key")?; [INFO] [stdout] 99 | | assert!(db.get::("key")?.is_none()); [INFO] [stdout] 100 | | db.remove("key")?; // should not error [INFO] [stdout] 101 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/tests.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stdout] | ^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 106 | / test_db_and_tables!(|db| { [INFO] [stdout] 107 | | assert!(!db.contains("key")?); [INFO] [stdout] 108 | | assert!(!db.contains_key("key")?); [INFO] [stdout] 109 | | assert!(!db.has("key")?); [INFO] [stdout] ... | [INFO] [stdout] 117 | | assert!(!db.has("key")?); [INFO] [stdout] 118 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/tests.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stdout] | ^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 123 | / test_db_and_tables!(|db| { [INFO] [stdout] 124 | | assert_eq!(db.keys()?.len(), 0); [INFO] [stdout] 125 | | assert_eq!(db.values::()?.len(), 0); [INFO] [stdout] 126 | | assert_eq!(db.entries::()?.len(), 0); [INFO] [stdout] ... | [INFO] [stdout] 176 | | assert_eq!(expected, reality); [INFO] [stdout] 177 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/tests.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stdout] | ^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 208 | / test_db_and_tables!(|db| { [INFO] [stdout] 209 | | db.set( [INFO] [stdout] 210 | | "user1", [INFO] [stdout] 211 | | &UserV1 { [INFO] [stdout] ... | [INFO] [stdout] 239 | | ); [INFO] [stdout] 240 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/tests.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stdout] | ^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 253 | / test_db_and_tables!(|db| { [INFO] [stdout] 254 | | assert_eq!(db.get_or("key", "default".to_owned())?, "default"); [INFO] [stdout] 255 | | db.set("key", &"value")?; [INFO] [stdout] 256 | | assert_eq!(db.get_or("key", "default".to_owned())?, "value"); [INFO] [stdout] ... | [INFO] [stdout] 270 | | ); [INFO] [stdout] 271 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/tests.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stdout] | ^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 276 | / test_db_and_tables!(|db| { [INFO] [stdout] 277 | | assert_eq!(db.get_or_insert("key", "default".to_owned())?, "default"); [INFO] [stdout] 278 | | assert_eq!(db.get_or_insert("key", "hello".to_owned())?, "default"); [INFO] [stdout] ... | [INFO] [stdout] 290 | | assert!(db.get::("key3")?.is_some()); [INFO] [stdout] 291 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.53s [INFO] running `Command { std: "docker" "inspect" "6377b9a62e2285de9a627c4cdcff83c99c80504f13e1f9cd0b146e6c39c3e1c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6377b9a62e2285de9a627c4cdcff83c99c80504f13e1f9cd0b146e6c39c3e1c8", kill_on_drop: false }` [INFO] [stdout] 6377b9a62e2285de9a627c4cdcff83c99c80504f13e1f9cd0b146e6c39c3e1c8 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7bf8652e7b68c7b1826da0a51ec3369bf083163e85d36dd9aaaf2acd823a5c12 [INFO] running `Command { std: "docker" "start" "-a" "7bf8652e7b68c7b1826da0a51ec3369bf083163e85d36dd9aaaf2acd823a5c12", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/tests.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stderr] | ^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 52 | / test_db_and_tables!(|db| { [INFO] [stderr] 53 | | db.set("key2", &"value")?; // overwritten 2 lines later [INFO] [stderr] 54 | | db.set("key1", &"value")?; [INFO] [stderr] 55 | | db.set("key2", &1234)?; [INFO] [stderr] ... | [INFO] [stderr] 76 | | assert_eq!(db.entries::()?.len(), 0); [INFO] [stderr] 77 | | }) [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/tests.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stderr] | ^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 82 | / test_db_and_tables!(|db| { [INFO] [stderr] 83 | | assert!(db.get::("key")?.is_none()); [INFO] [stderr] 84 | | db.set("key", &"value")?; [INFO] [stderr] 85 | | assert_eq!(db.get::("key")?.unwrap(), "value".to_owned()); [INFO] [stderr] ... | [INFO] [stderr] 89 | | assert_eq!(db.get::("key")?.unwrap(), "value".to_owned()); [INFO] [stderr] 90 | | }) [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/tests.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stderr] | ^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 95 | / test_db_and_tables!(|db| { [INFO] [stderr] 96 | | db.set("key", &"value")?; [INFO] [stderr] 97 | | assert_eq!(db.get::("key")?.unwrap(), "value".to_owned()); [INFO] [stderr] 98 | | db.remove("key")?; [INFO] [stderr] 99 | | assert!(db.get::("key")?.is_none()); [INFO] [stderr] 100 | | db.remove("key")?; // should not error [INFO] [stderr] 101 | | }) [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/tests.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stderr] | ^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 106 | / test_db_and_tables!(|db| { [INFO] [stderr] 107 | | assert!(!db.contains("key")?); [INFO] [stderr] 108 | | assert!(!db.contains_key("key")?); [INFO] [stderr] 109 | | assert!(!db.has("key")?); [INFO] [stderr] ... | [INFO] [stderr] 117 | | assert!(!db.has("key")?); [INFO] [stderr] 118 | | }) [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/tests.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stderr] | ^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 123 | / test_db_and_tables!(|db| { [INFO] [stderr] 124 | | assert_eq!(db.keys()?.len(), 0); [INFO] [stderr] 125 | | assert_eq!(db.values::()?.len(), 0); [INFO] [stderr] 126 | | assert_eq!(db.entries::()?.len(), 0); [INFO] [stderr] ... | [INFO] [stderr] 176 | | assert_eq!(expected, reality); [INFO] [stderr] 177 | | }) [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/tests.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stderr] | ^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 208 | / test_db_and_tables!(|db| { [INFO] [stderr] 209 | | db.set( [INFO] [stderr] 210 | | "user1", [INFO] [stderr] 211 | | &UserV1 { [INFO] [stderr] ... | [INFO] [stderr] 239 | | ); [INFO] [stderr] 240 | | }) [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/tests.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stderr] | ^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 253 | / test_db_and_tables!(|db| { [INFO] [stderr] 254 | | assert_eq!(db.get_or("key", "default".to_owned())?, "default"); [INFO] [stderr] 255 | | db.set("key", &"value")?; [INFO] [stderr] 256 | | assert_eq!(db.get_or("key", "default".to_owned())?, "value"); [INFO] [stderr] ... | [INFO] [stderr] 270 | | ); [INFO] [stderr] 271 | | }) [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/tests.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | let mut $db = unsafe { DB.as_mut().unwrap() }; [INFO] [stderr] | ^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 276 | / test_db_and_tables!(|db| { [INFO] [stderr] 277 | | assert_eq!(db.get_or_insert("key", "default".to_owned())?, "default"); [INFO] [stderr] 278 | | assert_eq!(db.get_or_insert("key", "hello".to_owned())?, "default"); [INFO] [stderr] ... | [INFO] [stderr] 290 | | assert!(db.get::("key3")?.is_some()); [INFO] [stderr] 291 | | }) [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `test_db_and_tables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `dbless` (lib test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dbless-55095abc39fa80d2) [INFO] [stderr] [INFO] [stderr] thread '' panicked at src/tests.rs:15:48: [INFO] [stderr] called `Result::unwrap()` on an `Err` value: I/O error: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] Stack backtrace: [INFO] [stderr] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14 [INFO] [stderr] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:2079:27 [INFO] [stderr] 2: dbless::store::Store::file [INFO] [stderr] at ./src/store.rs:34:18 [INFO] [stderr] 3: dbless::Database::open [INFO] [stderr] at ./src/lib.rs:45:20 [INFO] [stderr] 4: dbless::tests::init_tests [INFO] [stderr] at ./src/tests.rs:15:19 [INFO] [stderr] 5: dbless::tests::init_tests___rust_ctor___ctor::init_tests___rust_ctor___ctor [INFO] [stderr] at ./src/tests.rs:11:1 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x785ce2486952 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x785ce2486952 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x785ce2486952 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x785ce2486952 - ::fmt::hb62c8ed31943daa5 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x785ce24c1be3 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x785ce24c1be3 - core::fmt::write::h375399f8cb90b45a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stderr] 6: 0x785ce2483b13 - std::io::default_write_fmt::h5b62fa6c96f0f73d [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x785ce2483b13 - std::io::Write::write_fmt::h8399aff377841b1f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x785ce24867a2 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x785ce2487fdc - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x785ce2487ddf - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x785ce2488972 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x785ce248872a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stderr] 13: 0x785ce2486e59 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x785ce24883bd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x785ce2237580 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x785ce22379e6 - core::result::unwrap_failed::h8476ffaa6db8205b [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1761:5 [INFO] [stderr] 17: 0x785ce2239745 - core::result::Result::unwrap::h544568edc101b086 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1167:23 [INFO] [stderr] 18: 0x785ce2239745 - dbless::tests::init_tests::hd84440682b5baf0b [INFO] [stderr] at /opt/rustwide/workdir/src/tests.rs:15:48 [INFO] [stderr] 19: 0x785ce2238016 - dbless::tests::init_tests___rust_ctor___ctor::init_tests___rust_ctor___ctor::h7bfceaab1b27568b [INFO] [stderr] at /opt/rustwide/workdir/src/tests.rs:11:1 [INFO] [stderr] fatal runtime error: failed to initiate panic, error 5, aborting [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dbless-55095abc39fa80d2` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "7bf8652e7b68c7b1826da0a51ec3369bf083163e85d36dd9aaaf2acd823a5c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf8652e7b68c7b1826da0a51ec3369bf083163e85d36dd9aaaf2acd823a5c12", kill_on_drop: false }` [INFO] [stdout] 7bf8652e7b68c7b1826da0a51ec3369bf083163e85d36dd9aaaf2acd823a5c12