[INFO] fetching crate constdb 0.2.3... [INFO] testing constdb-0.2.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate constdb 0.2.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate constdb 0.2.3 [INFO] finished tweaking crates.io crate constdb 0.2.3 [INFO] tweaked toml for crates.io crate constdb 0.2.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate constdb 0.2.3 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 50 packages to latest compatible versions [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f16730dac803582298af5e8c206a935a1a3ac827bf28298345b83f2be07b21e5 [INFO] running `Command { std: "docker" "start" "-a" "f16730dac803582298af5e8c206a935a1a3ac827bf28298345b83f2be07b21e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f16730dac803582298af5e8c206a935a1a3ac827bf28298345b83f2be07b21e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16730dac803582298af5e8c206a935a1a3ac827bf28298345b83f2be07b21e5", kill_on_drop: false }` [INFO] [stdout] f16730dac803582298af5e8c206a935a1a3ac827bf28298345b83f2be07b21e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e21bce5da68d48986550611f29191f09ea001723b38e0620f2aa52e3641e94d1 [INFO] running `Command { std: "docker" "start" "-a" "e21bce5da68d48986550611f29191f09ea001723b38e0620f2aa52e3641e94d1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling constdb v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | let type_value = unsafe { std::mem::transmute::()]>(INT_KEY_TYPE.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | let key_value = unsafe { std::mem::transmute::()]>(key.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | let offset1 = unsafe { std::mem::transmute::()]>(offset.0.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | let offset2 = unsafe { std::mem::transmute::()]>(offset.1.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | let type_value = unsafe { std::mem::transmute::()]>(STR_KEY_TYPE.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | let offset1 = unsafe { std::mem::transmute::()]>(offset.0.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | let offset2 = unsafe { std::mem::transmute::()]>(offset.1.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | let key_len = unsafe { std::mem::transmute::()]>((key_bytes.len() as i64).to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | let table_offset = unsafe { std::mem::transmute::()]>(self.current_offset.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.14s [INFO] running `Command { std: "docker" "inspect" "e21bce5da68d48986550611f29191f09ea001723b38e0620f2aa52e3641e94d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21bce5da68d48986550611f29191f09ea001723b38e0620f2aa52e3641e94d1", kill_on_drop: false }` [INFO] [stdout] e21bce5da68d48986550611f29191f09ea001723b38e0620f2aa52e3641e94d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b80663a4b4b945f63ad87171212f0aa9067fb7dcb6f563aeabeaeaafac09a882 [INFO] running `Command { std: "docker" "start" "-a" "b80663a4b4b945f63ad87171212f0aa9067fb7dcb6f563aeabeaeaafac09a882", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | let type_value = unsafe { std::mem::transmute::()]>(INT_KEY_TYPE.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | let key_value = unsafe { std::mem::transmute::()]>(key.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | let offset1 = unsafe { std::mem::transmute::()]>(offset.0.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | let offset2 = unsafe { std::mem::transmute::()]>(offset.1.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | let type_value = unsafe { std::mem::transmute::()]>(STR_KEY_TYPE.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | let offset1 = unsafe { std::mem::transmute::()]>(offset.0.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | let offset2 = unsafe { std::mem::transmute::()]>(offset.1.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | let key_len = unsafe { std::mem::transmute::()]>((key_bytes.len() as i64).to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | let table_offset = unsafe { std::mem::transmute::()]>(self.current_offset.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling constdb v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | let type_value = unsafe { std::mem::transmute::()]>(INT_KEY_TYPE.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | let key_value = unsafe { std::mem::transmute::()]>(key.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | let offset1 = unsafe { std::mem::transmute::()]>(offset.0.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | let offset2 = unsafe { std::mem::transmute::()]>(offset.1.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | let type_value = unsafe { std::mem::transmute::()]>(STR_KEY_TYPE.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | let offset1 = unsafe { std::mem::transmute::()]>(offset.0.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | let offset2 = unsafe { std::mem::transmute::()]>(offset.1.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | let key_len = unsafe { std::mem::transmute::()]>((key_bytes.len() as i64).to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | let table_offset = unsafe { std::mem::transmute::()]>(self.current_offset.to_le()) }; [INFO] [stdout] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.77s [INFO] running `Command { std: "docker" "inspect" "b80663a4b4b945f63ad87171212f0aa9067fb7dcb6f563aeabeaeaafac09a882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b80663a4b4b945f63ad87171212f0aa9067fb7dcb6f563aeabeaeaafac09a882", kill_on_drop: false }` [INFO] [stdout] b80663a4b4b945f63ad87171212f0aa9067fb7dcb6f563aeabeaeaafac09a882 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 346a016668044d96e7f4141a3397f23634c6721704d915a6e29f92b7f2bacc95 [INFO] running `Command { std: "docker" "start" "-a" "346a016668044d96e7f4141a3397f23634c6721704d915a6e29f92b7f2bacc95", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:67:39 [INFO] [stderr] | [INFO] [stderr] 67 | let type_value = unsafe { std::mem::transmute::()]>(INT_KEY_TYPE.to_le()) }; [INFO] [stderr] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:68:38 [INFO] [stderr] | [INFO] [stderr] 68 | let key_value = unsafe { std::mem::transmute::()]>(key.to_le()) }; [INFO] [stderr] | ------------------------------------------------------------^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:69:36 [INFO] [stderr] | [INFO] [stderr] 69 | let offset1 = unsafe { std::mem::transmute::()]>(offset.0.to_le()) }; [INFO] [stderr] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:70:36 [INFO] [stderr] | [INFO] [stderr] 70 | let offset2 = unsafe { std::mem::transmute::()]>(offset.1.to_le()) }; [INFO] [stderr] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:79:39 [INFO] [stderr] | [INFO] [stderr] 79 | let type_value = unsafe { std::mem::transmute::()]>(STR_KEY_TYPE.to_le()) }; [INFO] [stderr] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:80:36 [INFO] [stderr] | [INFO] [stderr] 80 | let offset1 = unsafe { std::mem::transmute::()]>(offset.0.to_le()) }; [INFO] [stderr] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:81:36 [INFO] [stderr] | [INFO] [stderr] 81 | let offset2 = unsafe { std::mem::transmute::()]>(offset.1.to_le()) }; [INFO] [stderr] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | | [INFO] [stdout] running 1 test [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:85:36 [INFO] [stderr] | [INFO] [stderr] 85 | let key_len = unsafe { std::mem::transmute::()]>((key_bytes.len() as i64).to_le()) }; [INFO] [stderr] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:94:37 [INFO] [stderr] | [INFO] [stderr] 94 | let table_offset = unsafe { std::mem::transmute::()]>(self.current_offset.to_le()) }; [INFO] [stderr] | ------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] [INFO] [stderr] warning: `constdb` (lib) generated 9 warnings (run `cargo fix --lib -p constdb` to apply 9 suggestions) [INFO] [stderr] warning: `constdb` (lib test) generated 9 warnings (9 duplicates) [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/constdb-c9c3e6df3b4b0b58) [INFO] [stdout] test tests::test_int ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "346a016668044d96e7f4141a3397f23634c6721704d915a6e29f92b7f2bacc95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "346a016668044d96e7f4141a3397f23634c6721704d915a6e29f92b7f2bacc95", kill_on_drop: false }` [INFO] [stdout] 346a016668044d96e7f4141a3397f23634c6721704d915a6e29f92b7f2bacc95