[INFO] cloning repository https://github.com/yui-915/dbless
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yui-915/dbless" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyui-915%2Fdbless", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyui-915%2Fdbless'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5e8f668c8ffa5ee3937a12ffda8366de5e6abbfb
[INFO] testing yui-915/dbless against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyui-915%2Fdbless" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yui-915/dbless on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/yui-915/dbless
[INFO] finished tweaking git repo https://github.com/yui-915/dbless
[INFO] tweaked toml for git repo https://github.com/yui-915/dbless written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/yui-915/dbless 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 99c1cb50cbd631c5991af3ad94f90d1ca83fce5466220e8fe0841d833ae7e31a
[INFO] running `Command { std: "docker" "start" "-a" "99c1cb50cbd631c5991af3ad94f90d1ca83fce5466220e8fe0841d833ae7e31a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "99c1cb50cbd631c5991af3ad94f90d1ca83fce5466220e8fe0841d833ae7e31a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99c1cb50cbd631c5991af3ad94f90d1ca83fce5466220e8fe0841d833ae7e31a", kill_on_drop: false }`
[INFO] [stdout] 99c1cb50cbd631c5991af3ad94f90d1ca83fce5466220e8fe0841d833ae7e31a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 25e63071bd74878311a26156dc061cdfdc5879c000571bf02e78e72072a76a76
[INFO] running `Command { std: "docker" "start" "-a" "25e63071bd74878311a26156dc061cdfdc5879c000571bf02e78e72072a76a76", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling anyhow v1.0.89
[INFO] [stderr]    Compiling redb v2.1.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[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 16.17s
[INFO] running `Command { std: "docker" "inspect" "25e63071bd74878311a26156dc061cdfdc5879c000571bf02e78e72072a76a76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25e63071bd74878311a26156dc061cdfdc5879c000571bf02e78e72072a76a76", kill_on_drop: false }`
[INFO] [stdout] 25e63071bd74878311a26156dc061cdfdc5879c000571bf02e78e72072a76a76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fbf79588a13a5b351af751b0033d80a3195bdc8afac501e0367b7cfecee2a84
[INFO] running `Command { std: "docker" "start" "-a" "4fbf79588a13a5b351af751b0033d80a3195bdc8afac501e0367b7cfecee2a84", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling ctor v0.2.8
[INFO] [stderr]    Compiling rmp-serde v1.3.0
[INFO] [stderr]    Compiling dbless v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker`
[INFO] [stdout]   --> src/tests.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[run_before_tests]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `run_before_tests` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the attribute macro `run_before_tests` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the attribute macro `run_before_tests` (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 is discouraged
[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::<i32>()?.len(), 0);
[INFO] [stdout] 77 | |     })
[INFO] [stdout]    | |______- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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::<String>("key")?.is_none());
[INFO] [stdout] 84 | |         db.set("key", &"value")?;
[INFO] [stdout] 85 | |         assert_eq!(db.get::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stdout] ...  |
[INFO] [stdout] 89 | |         assert_eq!(db.get::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stdout] 90 | |     })
[INFO] [stdout]    | |______- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stdout] 98  | |         db.remove("key")?;
[INFO] [stdout] 99  | |         assert!(db.get::<String>("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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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::<String>()?.len(), 0);
[INFO] [stdout] 126 | |         assert_eq!(db.entries::<String>()?.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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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::<MyStr>("key3")?.is_some());
[INFO] [stdout] 291 | |     })
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[INFO] [stdout]    --> src/tests.rs:296:23
[INFO] [stdout]     |
[INFO] [stdout] 296 |     let db = unsafe { DB.as_mut().unwrap() };
[INFO] [stdout]     |                       ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 18.07s
[INFO] running `Command { std: "docker" "inspect" "4fbf79588a13a5b351af751b0033d80a3195bdc8afac501e0367b7cfecee2a84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fbf79588a13a5b351af751b0033d80a3195bdc8afac501e0367b7cfecee2a84", kill_on_drop: false }`
[INFO] [stdout] 4fbf79588a13a5b351af751b0033d80a3195bdc8afac501e0367b7cfecee2a84
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 93dde5d487156a0598285d12ca40f4179961df3945be818e303530acb7ddc34d
[INFO] running `Command { std: "docker" "start" "-a" "93dde5d487156a0598285d12ca40f4179961df3945be818e303530acb7ddc34d", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `used_linker`
[INFO] [stderr]   --> src/tests.rs:11:1
[INFO] [stderr]    |
[INFO] [stderr] 11 | #[run_before_tests]
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]    = help: try referring to `run_before_tests` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]    = help: the attribute macro `run_before_tests` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr]    = note: this warning originates in the attribute macro `run_before_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[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::<i32>()?.len(), 0);
[INFO] [stderr] 77 | |     })
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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::<String>("key")?.is_none());
[INFO] [stderr] 84 | |         db.set("key", &"value")?;
[INFO] [stderr] 85 | |         assert_eq!(db.get::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stderr] ...  |
[INFO] [stderr] 89 | |         assert_eq!(db.get::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stderr] 90 | |     })
[INFO] [stderr]    | |______- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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::<String>("key")?.unwrap(), "value".to_owned());
[INFO] [stderr] 98  | |         db.remove("key")?;
[INFO] [stderr] 99  | |         assert!(db.get::<String>("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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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::<String>()?.len(), 0);
[INFO] [stderr] 126 | |         assert_eq!(db.entries::<String>()?.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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[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::<MyStr>("key3")?.is_some());
[INFO] [stderr] 291 | |     })
[INFO] [stderr]     | |______- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 is discouraged
[INFO] [stderr]    --> src/tests.rs:296:23
[INFO] [stderr]     |
[INFO] [stderr] 296 |     let db = unsafe { DB.as_mut().unwrap() };
[INFO] [stderr]     |                       ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stderr] warning: `dbless` (lib test) generated 10 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dbless-c5e7a3ace4dafc0f)
[INFO] [stderr] 
[INFO] [stderr] thread '<unnamed>' 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::<impl core::convert::From<E> for anyhow::Error>::from
[INFO] [stderr]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.89/src/backtrace.rs:27:14
[INFO] [stderr]    1: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual
[INFO] [stderr]              at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:2014: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:156: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]    6: __libc_start_main
[INFO] [stderr]    7: _start
[INFO] [stderr] stack backtrace:
[INFO] [stderr]    0:     0x5b3bcae7337a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stderr]    1:     0x5b3bcae7337a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stderr]    2:     0x5b3bcae7337a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stderr]    3:     0x5b3bcae7337a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stderr]    4:     0x5b3bcae9b853 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stderr]    5:     0x5b3bcae9b853 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stderr]    6:     0x5b3bcae6f843 - std::io::Write::write_fmt::h00c8700df393f328
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stderr]    7:     0x5b3bcae731c2 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stderr]    8:     0x5b3bcae7479f - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stderr]    9:     0x5b3bcae7460a - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:325:9
[INFO] [stderr]   10:     0x5b3bcae751c2 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:831:13
[INFO] [stderr]   11:     0x5b3bcae74f4a - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13
[INFO] [stderr]   12:     0x5b3bcae73879 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stderr]   13:     0x5b3bcae74bdd - rust_begin_unwind
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stderr]   14:     0x5b3bcae9a1f0 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stderr]   15:     0x5b3bcae9a666 - core::result::unwrap_failed::h7979f09313fe1849
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1704:5
[INFO] [stderr]   16:     0x5b3bcac53329 - core::result::Result<T,E>::unwrap::hd3d36938461e26fc
[INFO] [stderr]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1109:23
[INFO] [stderr]   17:     0x5b3bcac53329 - dbless::tests::init_tests::hd5d2c78f2fd6049b
[INFO] [stderr]                                at /opt/rustwide/workdir/src/tests.rs:15:19
[INFO] [stderr]   18:     0x5b3bcac53436 - dbless::tests::init_tests___rust_ctor___ctor::init_tests___rust_ctor___ctor::h771c155638d9e802
[INFO] [stderr]                                at /opt/rustwide/workdir/src/tests.rs:11:1
[INFO] [stderr]   19:     0x7ddf06005ebb - __libc_start_main
[INFO] [stderr]   20:     0x5b3bcac51d85 - _start
[INFO] [stderr]   21:                0x0 - <unknown>
[INFO] [stderr] fatal runtime error: failed to initiate panic, error 5
[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/debug/deps/dbless-c5e7a3ace4dafc0f` (signal: 6, SIGABRT: process abort signal)
[INFO] running `Command { std: "docker" "inspect" "93dde5d487156a0598285d12ca40f4179961df3945be818e303530acb7ddc34d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93dde5d487156a0598285d12ca40f4179961df3945be818e303530acb7ddc34d", kill_on_drop: false }`
[INFO] [stdout] 93dde5d487156a0598285d12ca40f4179961df3945be818e303530acb7ddc34d
