[INFO] fetching crate tinyinst 0.1.0... [INFO] checking tinyinst-0.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate tinyinst 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate tinyinst 0.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tinyinst 0.1.0 [INFO] finished tweaking crates.io crate tinyinst 0.1.0 [INFO] tweaked toml for crates.io crate tinyinst 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a18e9cbffc3ce1c0cb5d570dc238cc2680b5ef7134b0f5b32a4519c0bdabd8d [INFO] running `Command { std: "docker" "start" "-a" "7a18e9cbffc3ce1c0cb5d570dc238cc2680b5ef7134b0f5b32a4519c0bdabd8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a18e9cbffc3ce1c0cb5d570dc238cc2680b5ef7134b0f5b32a4519c0bdabd8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a18e9cbffc3ce1c0cb5d570dc238cc2680b5ef7134b0f5b32a4519c0bdabd8d", kill_on_drop: false }` [INFO] [stdout] 7a18e9cbffc3ce1c0cb5d570dc238cc2680b5ef7134b0f5b32a4519c0bdabd8d [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0029ffbf747ca9cd7acd31bc5a072fb81f06a76f985981601fb10670bea00cb6 [INFO] running `Command { std: "docker" "start" "-a" "0029ffbf747ca9cd7acd31bc5a072fb81f06a76f985981601fb10670bea00cb6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling cxxbridge-flags v1.0.128 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling cxx v1.0.128 [INFO] [stderr] Compiling tinyinst v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] warning: tinyinst@0.1.0: No MacOS support yet. [INFO] [stderr] Compiling cxxbridge-macro v1.0.128 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `tinyinst` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/tinyinst.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `->`, `;`, `where`, or `{`, found keyword `unsafe` [INFO] [stderr] --> src/tinyinst.rs:36:71 [INFO] [stderr] | [INFO] [stderr] 29 | unsafe extern "C++" { [INFO] [stderr] | - while parsing this item list starting here [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn ClearInstrumentationData(self: Pin<&mut ModuleCovData>)unsafe ; [INFO] [stderr] | ^^^^^^ expected one of `->`, `;`, `where`, or `{` [INFO] [stderr] ... [INFO] [stderr] 102 | } [INFO] [stderr] | - the item list ends here [INFO] [stderr] [INFO] [stderr] error: unsupported type: u64unsafe [INFO] [stderr] --> src/tinyinst.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | fn GetCurTime() -> u64unsafe ; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected `;` [INFO] [stderr] --> src/tinyinst.rs:36:71 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn ClearInstrumentationData(self: Pin<&mut ModuleCovData>)unsafe ; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:146:32 [INFO] [stderr] | [INFO] [stderr] 146 | let mut tinyinst_ptr = litecov::TinyInstInstrumentation::new(); [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:169:27 [INFO] [stderr] | [INFO] [stderr] 169 | coverage_ptr: litecov::Coverage::new(), [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `litecov` in `super` [INFO] [stderr] --> src/tinyinst.rs:250:39 [INFO] [stderr] | [INFO] [stderr] 250 | assert_eq!(result, super::litecov::RunResult::OK); [INFO] [stderr] | ^^^^^^^ could not find `litecov` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `litecov` in `super` [INFO] [stderr] --> src/tinyinst.rs:258:39 [INFO] [stderr] | [INFO] [stderr] 258 | assert_eq!(result, super::litecov::RunResult::OK); [INFO] [stderr] | ^^^^^^^ could not find `litecov` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `litecov` in `super` [INFO] [stderr] --> src/tinyinst.rs:268:39 [INFO] [stderr] | [INFO] [stderr] 268 | assert_eq!(result, super::litecov::RunResult::OK); [INFO] [stderr] | ^^^^^^^ could not find `litecov` in `super` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `litecov` in `super` [INFO] [stderr] --> src/tinyinst.rs:290:39 [INFO] [stderr] | [INFO] [stderr] 290 | assert_eq!(result, super::litecov::RunResult::CRASH); [INFO] [stderr] | ^^^^^^^ could not find `litecov` in `super` [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/lib.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | private_in_public, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | litecov::tinyinstinstrumentation_new() [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | litecov::coverage_new() [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:106:6 [INFO] [stderr] | [INFO] [stderr] 106 | impl litecov::TinyInstInstrumentation { [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:108:31 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn new() -> UniquePtr { [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:173:37 [INFO] [stderr] | [INFO] [stderr] 173 | pub unsafe fn run(&mut self) -> litecov::RunResult { unsafe { [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:113:6 [INFO] [stderr] | [INFO] [stderr] 113 | impl litecov::Coverage { [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:115:31 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn new() -> UniquePtr { [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:123:29 [INFO] [stderr] | [INFO] [stderr] 123 | coverage_ptr: UniquePtr, [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn GetCurTime() -> u64; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:36:71 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn ClearInstrumentationData(self: Pin<&mut ModuleCovData>); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/tinyinst.rs:121:29 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:37:67 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ClearCmpCoverageData(self: Pin<&mut ModuleCovData>); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:43:53 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn coverage_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 121 | tinyinst_ptr: UniquePtr, [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:54:83 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tinyinstinstrumentation_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | ) -> RunResult; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> RunResult; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn CleanTarget(self: Pin<&mut TinyInstInstrumentation>); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:84:79 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn HasNewCoverage(self: Pin<&mut TinyInstInstrumentation>) -> bool; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:92:70 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn ClearCoverage(self: Pin<&mut TinyInstInstrumentation>); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn coverage_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tinyinstinstrumentation_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `tinyinst::litecov::TinyInstInstrumentation::Init` is unsafe and requires unsafe block [INFO] [stdout] --> src/tinyinst.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / tinyinst_ptr.pin_mut().Init( [INFO] [stdout] 161 | | i32::try_from(tinyinst_args.len()).unwrap(), [INFO] [stdout] 162 | | tinyinst_args_ptr.as_mut_ptr(), [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tinyinst.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn new(tinyinst_args: &[String], program_args: &[String], timeout: u32) -> TinyInst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `tinyinst::litecov::TinyInstInstrumentation::Run` is unsafe and requires unsafe block [INFO] [stdout] --> src/tinyinst.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | / self.tinyinst_ptr.pin_mut().Run( [INFO] [stdout] 186 | | i32::try_from(self.program_args.len()).unwrap(), [INFO] [stdout] 187 | | program_args_ptr.as_mut_ptr(), [INFO] [stdout] 188 | | self.timeout, [INFO] [stdout] 189 | | self.timeout, [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tinyinst.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub unsafe fn run(&mut self) -> litecov::RunResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `tinyinst` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/tinyinst.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `->`, `;`, `where`, or `{`, found keyword `unsafe` [INFO] [stderr] --> src/tinyinst.rs:36:71 [INFO] [stderr] | [INFO] [stderr] 29 | unsafe extern "C++" { [INFO] [stderr] | - while parsing this item list starting here [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn ClearInstrumentationData(self: Pin<&mut ModuleCovData>)unsafe ; [INFO] [stderr] | ^^^^^^ expected one of `->`, `;`, `where`, or `{` [INFO] [stderr] ... [INFO] [stderr] 102 | } [INFO] [stderr] | - the item list ends here [INFO] [stderr] [INFO] [stderr] error: unsupported type: u64unsafe [INFO] [stderr] --> src/tinyinst.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | fn GetCurTime() -> u64unsafe ; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected `;` [INFO] [stderr] --> src/tinyinst.rs:36:71 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn ClearInstrumentationData(self: Pin<&mut ModuleCovData>)unsafe ; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:146:32 [INFO] [stderr] | [INFO] [stderr] 146 | let mut tinyinst_ptr = litecov::TinyInstInstrumentation::new(); [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn GetCurTime() -> u64; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:36:71 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn ClearInstrumentationData(self: Pin<&mut ModuleCovData>); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:169:27 [INFO] [stderr] | [INFO] [stderr] 169 | coverage_ptr: litecov::Coverage::new(), [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:109:9 [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:37:67 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ClearCmpCoverageData(self: Pin<&mut ModuleCovData>); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 109 | litecov::tinyinstinstrumentation_new() [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:116:9 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:43:53 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn coverage_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 116 | litecov::coverage_new() [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:106:6 [INFO] [stderr] | [INFO] [stderr] 106 | impl litecov::TinyInstInstrumentation { [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:108:31 [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 108 | pub fn new() -> UniquePtr { [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:173:37 [INFO] [stderr] | [INFO] [stderr] 173 | pub unsafe fn run(&mut self) -> litecov::RunResult { unsafe { [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:113:6 [INFO] [stderr] | [INFO] [stderr] 113 | impl litecov::Coverage { [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:115:31 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn new() -> UniquePtr { [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:123:29 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:54:83 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tinyinstinstrumentation_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 123 | coverage_ptr: UniquePtr, [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `litecov` [INFO] [stderr] --> src/tinyinst.rs:121:29 [INFO] [stderr] | [INFO] [stderr] 121 | tinyinst_ptr: UniquePtr, [INFO] [stderr] | ^^^^^^^ use of undeclared crate or module `litecov` [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | ) -> RunResult; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> RunResult; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn CleanTarget(self: Pin<&mut TinyInstInstrumentation>); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:84:79 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn HasNewCoverage(self: Pin<&mut TinyInstInstrumentation>) -> bool; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:92:70 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn ClearCoverage(self: Pin<&mut TinyInstInstrumentation>); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | ); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn coverage_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tinyinst.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tinyinstinstrumentation_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `tinyinst::litecov::TinyInstInstrumentation::Init` is unsafe and requires unsafe block [INFO] [stdout] --> src/tinyinst.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / tinyinst_ptr.pin_mut().Init( [INFO] [stdout] 161 | | i32::try_from(tinyinst_args.len()).unwrap(), [INFO] [stdout] 162 | | tinyinst_args_ptr.as_mut_ptr(), [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tinyinst.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn new(tinyinst_args: &[String], program_args: &[String], timeout: u32) -> TinyInst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `tinyinst::litecov::TinyInstInstrumentation::Run` is unsafe and requires unsafe block [INFO] [stdout] --> src/tinyinst.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | / self.tinyinst_ptr.pin_mut().Run( [INFO] [stdout] 186 | | i32::try_from(self.program_args.len()).unwrap(), [INFO] [stdout] 187 | | program_args_ptr.as_mut_ptr(), [INFO] [stdout] 188 | | self.timeout, [INFO] [stdout] 189 | | self.timeout, [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tinyinst.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub unsafe fn run(&mut self) -> litecov::RunResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.50s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling tinyinst v0.1.0 (/tmp/fixit) [INFO] [stderr] warning: tinyinst@0.1.0: No MacOS support yet. [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn GetCurTime() -> u64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:36:71 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn ClearInstrumentationData(self: Pin<&mut ModuleCovData>); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:37:67 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ClearCmpCoverageData(self: Pin<&mut ModuleCovData>); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:43:53 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn coverage_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:54:83 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tinyinstinstrumentation_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | ) -> RunResult; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> RunResult; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn CleanTarget(self: Pin<&mut TinyInstInstrumentation>); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:84:79 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn HasNewCoverage(self: Pin<&mut TinyInstInstrumentation>) -> bool; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:92:70 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn ClearCoverage(self: Pin<&mut TinyInstInstrumentation>); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn coverage_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tinyinstinstrumentation_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn GetCurTime() -> u64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:36:71 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn ClearInstrumentationData(self: Pin<&mut ModuleCovData>); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:37:67 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ClearCmpCoverageData(self: Pin<&mut ModuleCovData>); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:43:53 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn coverage_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:54:83 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tinyinstinstrumentation_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | ) -> RunResult; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> RunResult; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn CleanTarget(self: Pin<&mut TinyInstInstrumentation>); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:84:79 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn HasNewCoverage(self: Pin<&mut TinyInstInstrumentation>) -> bool; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:92:70 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn ClearCoverage(self: Pin<&mut TinyInstInstrumentation>); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn coverage_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/tinyinst.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tinyinstinstrumentation_new() -> UniquePtr; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `tinyinst::litecov::TinyInstInstrumentation::Init` is unsafe and requires unsafe block [INFO] [stdout] --> src/tinyinst.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / tinyinst_ptr.pin_mut().Init( [INFO] [stdout] 161 | | i32::try_from(tinyinst_args.len()).unwrap(), [INFO] [stdout] 162 | | tinyinst_args_ptr.as_mut_ptr(), [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tinyinst.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn new(tinyinst_args: &[String], program_args: &[String], timeout: u32) -> TinyInst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `tinyinst::litecov::TinyInstInstrumentation::Run` is unsafe and requires unsafe block [INFO] [stdout] --> src/tinyinst.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | / self.tinyinst_ptr.pin_mut().Run( [INFO] [stdout] 186 | | i32::try_from(self.program_args.len()).unwrap(), [INFO] [stdout] 187 | | program_args_ptr.as_mut_ptr(), [INFO] [stdout] 188 | | self.timeout, [INFO] [stdout] 189 | | self.timeout, [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tinyinst.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub unsafe fn run(&mut self) -> litecov::RunResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: tinyinst@0.1.0: No MacOS support yet. [INFO] [stderr] [INFO] [stderr] error: could not compile `tinyinst` (lib) due to 17 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `tinyinst::litecov::TinyInstInstrumentation::Init` is unsafe and requires unsafe block [INFO] [stdout] --> src/tinyinst.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / tinyinst_ptr.pin_mut().Init( [INFO] [stdout] 161 | | i32::try_from(tinyinst_args.len()).unwrap(), [INFO] [stdout] 162 | | tinyinst_args_ptr.as_mut_ptr(), [INFO] [stdout] 163 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tinyinst.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub unsafe fn new(tinyinst_args: &[String], program_args: &[String], timeout: u32) -> TinyInst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `tinyinst::litecov::TinyInstInstrumentation::Run` is unsafe and requires unsafe block [INFO] [stdout] --> src/tinyinst.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | / self.tinyinst_ptr.pin_mut().Run( [INFO] [stdout] 186 | | i32::try_from(self.program_args.len()).unwrap(), [INFO] [stdout] 187 | | program_args_ptr.as_mut_ptr(), [INFO] [stdout] 188 | | self.timeout, [INFO] [stdout] 189 | | self.timeout, [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tinyinst.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub unsafe fn run(&mut self) -> litecov::RunResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: tinyinst@0.1.0: No MacOS support yet. [INFO] [stderr] [INFO] [stderr] error: could not compile `tinyinst` (lib test) due to 17 previous errors; 3 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0029ffbf747ca9cd7acd31bc5a072fb81f06a76f985981601fb10670bea00cb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0029ffbf747ca9cd7acd31bc5a072fb81f06a76f985981601fb10670bea00cb6", kill_on_drop: false }` [INFO] [stdout] 0029ffbf747ca9cd7acd31bc5a072fb81f06a76f985981601fb10670bea00cb6