[INFO] fetching crate sv-api 0.0.1... [INFO] testing sv-api-0.0.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate sv-api 0.0.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate sv-api 0.0.1 [INFO] finished tweaking crates.io crate sv-api 0.0.1 [INFO] tweaked toml for crates.io crate sv-api 0.0.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sv-api 0.0.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sv-bindings v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe9497cb5d7b92f9b6f41b67f24cb66fc0fa0a8d63761f73afe7b87adf034b56 [INFO] running `Command { std: "docker" "start" "-a" "fe9497cb5d7b92f9b6f41b67f24cb66fc0fa0a8d63761f73afe7b87adf034b56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe9497cb5d7b92f9b6f41b67f24cb66fc0fa0a8d63761f73afe7b87adf034b56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe9497cb5d7b92f9b6f41b67f24cb66fc0fa0a8d63761f73afe7b87adf034b56", kill_on_drop: false }` [INFO] [stdout] fe9497cb5d7b92f9b6f41b67f24cb66fc0fa0a8d63761f73afe7b87adf034b56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8feb7b373b2e79265cbf71f52da9999ca5f9aaacaeabdada7c95e1649307e4e6 [INFO] running `Command { std: "docker" "start" "-a" "8feb7b373b2e79265cbf71f52da9999ca5f9aaacaeabdada7c95e1649307e4e6", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling sv-bindings v0.1.2 [INFO] [stderr] Compiling sv-api v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated functions `new` and `new_with_reference` are never used [INFO] [stdout] --> lib/lib.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 168 | impl ObjectIterator { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 169 | fn new(object_type: ObjectType) -> ObjectIterator { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn new_with_reference(object_type: ObjectType, reference: &mut ObjectHandle) -> ObjectIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallbackDataWrapper` is never constructed [INFO] [stdout] --> lib/callbacks.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct CallbackDataWrapper {//Self referential [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_self_referential` is never used [INFO] [stdout] --> lib/callbacks.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl CallbackDataWrapper { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 97 | fn make_self_referential(&mut self) {//Only call this when the wrapper has been pinned in memory [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arguments`, `product_name`, and `version` are never read [INFO] [stdout] --> lib/info.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct SimulatorInfo<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 53 | arguments: Vec<&'a str>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | product_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 55 | version: &'a str [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimulatorInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> lib/callbacks.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | &mut START_OF_SIM_CALLBACK_DATA [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 152 | &raw mut START_OF_SIM_CALLBACK_DATA [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.00s [INFO] running `Command { std: "docker" "inspect" "8feb7b373b2e79265cbf71f52da9999ca5f9aaacaeabdada7c95e1649307e4e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8feb7b373b2e79265cbf71f52da9999ca5f9aaacaeabdada7c95e1649307e4e6", kill_on_drop: false }` [INFO] [stdout] 8feb7b373b2e79265cbf71f52da9999ca5f9aaacaeabdada7c95e1649307e4e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0269e0b4e8605a0765239e0b23c65b63f569db42bd0ae2009cdb6d00b9ba7967 [INFO] running `Command { std: "docker" "start" "-a" "0269e0b4e8605a0765239e0b23c65b63f569db42bd0ae2009cdb6d00b9ba7967", kill_on_drop: false }` [INFO] [stderr] Compiling sv-api v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated functions `new` and `new_with_reference` are never used [INFO] [stdout] --> lib/lib.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 168 | impl ObjectIterator { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 169 | fn new(object_type: ObjectType) -> ObjectIterator { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn new_with_reference(object_type: ObjectType, reference: &mut ObjectHandle) -> ObjectIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallbackDataWrapper` is never constructed [INFO] [stdout] --> lib/callbacks.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct CallbackDataWrapper {//Self referential [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_self_referential` is never used [INFO] [stdout] --> lib/callbacks.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl CallbackDataWrapper { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 97 | fn make_self_referential(&mut self) {//Only call this when the wrapper has been pinned in memory [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arguments`, `product_name`, and `version` are never read [INFO] [stdout] --> lib/info.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct SimulatorInfo<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 53 | arguments: Vec<&'a str>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | product_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 55 | version: &'a str [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimulatorInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> lib/callbacks.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | &mut START_OF_SIM_CALLBACK_DATA [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 152 | &raw mut START_OF_SIM_CALLBACK_DATA [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_reference` are never used [INFO] [stdout] --> lib/lib.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 168 | impl ObjectIterator { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 169 | fn new(object_type: ObjectType) -> ObjectIterator { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn new_with_reference(object_type: ObjectType, reference: &mut ObjectHandle) -> ObjectIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallbackDataWrapper` is never constructed [INFO] [stdout] --> lib/callbacks.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct CallbackDataWrapper {//Self referential [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_self_referential` is never used [INFO] [stdout] --> lib/callbacks.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl CallbackDataWrapper { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 97 | fn make_self_referential(&mut self) {//Only call this when the wrapper has been pinned in memory [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arguments`, `product_name`, and `version` are never read [INFO] [stdout] --> lib/info.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct SimulatorInfo<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 53 | arguments: Vec<&'a str>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | product_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 55 | version: &'a str [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimulatorInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> lib/callbacks.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | &mut START_OF_SIM_CALLBACK_DATA [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 152 | &raw mut START_OF_SIM_CALLBACK_DATA [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "0269e0b4e8605a0765239e0b23c65b63f569db42bd0ae2009cdb6d00b9ba7967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0269e0b4e8605a0765239e0b23c65b63f569db42bd0ae2009cdb6d00b9ba7967", kill_on_drop: false }` [INFO] [stdout] 0269e0b4e8605a0765239e0b23c65b63f569db42bd0ae2009cdb6d00b9ba7967 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a96475dc64528f5f90f9bb79630d298fdf9bfd1a26ee4ab43f12aed2446d878d [INFO] running `Command { std: "docker" "start" "-a" "a96475dc64528f5f90f9bb79630d298fdf9bfd1a26ee4ab43f12aed2446d878d", kill_on_drop: false }` [INFO] [stderr] warning: associated functions `new` and `new_with_reference` are never used [INFO] [stderr] --> lib/lib.rs:169:8 [INFO] [stderr] | [INFO] [stderr] 168 | impl ObjectIterator { [INFO] [stderr] | ------------------- associated functions in this implementation [INFO] [stderr] 169 | fn new(object_type: ObjectType) -> ObjectIterator { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 185 | fn new_with_reference(object_type: ObjectType, reference: &mut ObjectHandle) -> ObjectIterator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `CallbackDataWrapper` is never constructed [INFO] [stderr] --> lib/callbacks.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 87 | struct CallbackDataWrapper {//Self referential [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `make_self_referential` is never used [INFO] [stderr] --> lib/callbacks.rs:97:8 [INFO] [stderr] | [INFO] [stderr] 96 | impl CallbackDataWrapper { [INFO] [stderr] | ------------------------ method in this implementation [INFO] [stderr] 97 | fn make_self_referential(&mut self) {//Only call this when the wrapper has been pinned in memory [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `arguments`, `product_name`, and `version` are never read [INFO] [stderr] --> lib/info.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct SimulatorInfo<'a> { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 53 | arguments: Vec<&'a str>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 54 | product_name: &'a str, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 55 | version: &'a str [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SimulatorInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> lib/callbacks.rs:152:17 [INFO] [stderr] | [INFO] [stderr] 152 | &mut START_OF_SIM_CALLBACK_DATA [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 152 | &raw mut START_OF_SIM_CALLBACK_DATA [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `sv-api` (lib) generated 5 warnings [INFO] [stderr] warning: `sv-api` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests lib/lib.rs (/opt/rustwide/target/debug/deps/sv_api-092f8f9e290c9f4f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sv_api [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a96475dc64528f5f90f9bb79630d298fdf9bfd1a26ee4ab43f12aed2446d878d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a96475dc64528f5f90f9bb79630d298fdf9bfd1a26ee4ab43f12aed2446d878d", kill_on_drop: false }` [INFO] [stdout] a96475dc64528f5f90f9bb79630d298fdf9bfd1a26ee4ab43f12aed2446d878d