[INFO] fetching crate dbless 0.2.0... [INFO] checking dbless-0.2.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate dbless 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dbless 0.2.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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.5.0) [INFO] [stderr] Adding redb v2.6.3 (available: v3.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c04fe473ca01779648d16b402d4320369f4a4b97e2aaf83f82255feda6ae79cc [INFO] running `Command { std: "docker" "start" "-a" "c04fe473ca01779648d16b402d4320369f4a4b97e2aaf83f82255feda6ae79cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c04fe473ca01779648d16b402d4320369f4a4b97e2aaf83f82255feda6ae79cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c04fe473ca01779648d16b402d4320369f4a4b97e2aaf83f82255feda6ae79cc", kill_on_drop: false }` [INFO] [stdout] c04fe473ca01779648d16b402d4320369f4a4b97e2aaf83f82255feda6ae79cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bec5a9df03e66be35e89fa2669321e7585d2d0d296cfec4559cbea68d094703 [INFO] running `Command { std: "docker" "start" "-a" "6bec5a9df03e66be35e89fa2669321e7585d2d0d296cfec4559cbea68d094703", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling redb v2.6.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking 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 `dev` profile [unoptimized + debuginfo] target(s) in 11.34s [INFO] running `Command { std: "docker" "inspect" "6bec5a9df03e66be35e89fa2669321e7585d2d0d296cfec4559cbea68d094703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bec5a9df03e66be35e89fa2669321e7585d2d0d296cfec4559cbea68d094703", kill_on_drop: false }` [INFO] [stdout] 6bec5a9df03e66be35e89fa2669321e7585d2d0d296cfec4559cbea68d094703