[INFO] cloning repository https://github.com/M4tsuri/bench_mul [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/M4tsuri/bench_mul" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM4tsuri%2Fbench_mul", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM4tsuri%2Fbench_mul'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8569e1b069268f84d62dcc63d2e7c319f5fa7765 [INFO] checking M4tsuri/bench_mul/8569e1b069268f84d62dcc63d2e7c319f5fa7765 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM4tsuri%2Fbench_mul" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/M4tsuri/bench_mul 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 git repo https://github.com/M4tsuri/bench_mul [INFO] finished tweaking git repo https://github.com/M4tsuri/bench_mul [INFO] tweaked toml for git repo https://github.com/M4tsuri/bench_mul written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/M4tsuri/bench_mul already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b734e7dad02cad745cc50eabf7fb27a503cd461b598e32a5814f84b710a462cd [INFO] running `Command { std: "docker" "start" "-a" "b734e7dad02cad745cc50eabf7fb27a503cd461b598e32a5814f84b710a462cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b734e7dad02cad745cc50eabf7fb27a503cd461b598e32a5814f84b710a462cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b734e7dad02cad745cc50eabf7fb27a503cd461b598e32a5814f84b710a462cd", kill_on_drop: false }` [INFO] [stdout] b734e7dad02cad745cc50eabf7fb27a503cd461b598e32a5814f84b710a462cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67fd91931a5d1dd19b56a26a02feb5750759464c9d34624ceda5523fff4337f8 [INFO] running `Command { std: "docker" "start" "-a" "67fd91931a5d1dd19b56a26a02feb5750759464c9d34624ceda5523fff4337f8", 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 libc v0.2.151 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking region v3.0.0 [INFO] [stderr] Checking core_affinity v0.8.1 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking bench96bit v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `bench96bit` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/macros.rs [INFO] [stderr] * src/main.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | (@variant $name:ident, $instr:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:9:62 [INFO] [stderr] | [INFO] [stderr] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr_2021, $instr32:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:9:82 [INFO] [stderr] | [INFO] [stderr] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr_2021, $instr32:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(asm_const)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | (@variant $name:ident, $instr:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | (@variant $name:ident, $instr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:9:71 [INFO] [stdout] | [INFO] [stdout] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr, $instr32:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr_2021, $instr32:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:9:86 [INFO] [stdout] | [INFO] [stdout] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr, $instr32:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr, $instr32:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / asm!( [INFO] [stdout] 81 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 82 | | idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 64) * 1024 + j % 64), [INFO] [stdout] 83 | | out("rax") _, [INFO] [stdout] 84 | | out("rdx") _, [INFO] [stdout] 85 | | options(nostack) [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] 75 | | idx = in(reg) MEM_AREA_OFFSET as usize + (i % 64 + (j % 64) * 1024), [INFO] [stdout] ... | [INFO] [stdout] 78 | | options(nostack) [INFO] [stdout] 79 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / asm!( [INFO] [stdout] 103 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 104 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 105 | | "mul qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 112 | | options(nostack) [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 93 | | "mul qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 100 | | options(nostack) [INFO] [stdout] 101 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / asm!( [INFO] [stdout] 130 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 131 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 132 | | "imul rdx, qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 139 | | options(nostack) [INFO] [stdout] 140 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 120 | | "imul rdx, qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 127 | | options(nostack) [INFO] [stdout] 128 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / asm!( [INFO] [stdout] 151 | | "mul ecx", [INFO] [stdout] 152 | | out("rax") _, [INFO] [stdout] 153 | | out("rdx") _, [INFO] [stdout] 154 | | options(nomem, nostack) [INFO] [stdout] 155 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] 147 | | out("rdx") _, [INFO] [stdout] 148 | | options(nomem, nostack) [INFO] [stdout] 149 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / asm!( [INFO] [stdout] 166 | | "imul edx, ecx", [INFO] [stdout] 167 | | out("rax") _, [INFO] [stdout] 168 | | out("rdx") _, [INFO] [stdout] 169 | | options(nomem, nostack) [INFO] [stdout] 170 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] 162 | | out("rdx") _, [INFO] [stdout] 163 | | options(nomem, nostack) [INFO] [stdout] 164 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 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 `bench96bit` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/macros.rs [INFO] [stderr] * src/main.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | (@variant $name:ident, $instr:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:9:62 [INFO] [stderr] | [INFO] [stderr] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr_2021, $instr32:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:9:82 [INFO] [stderr] | [INFO] [stderr] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr_2021, $instr32:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(asm_const)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | (@variant $name:ident, $instr:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | (@variant $name:ident, $instr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:9:71 [INFO] [stdout] | [INFO] [stdout] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr, $instr32:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr_2021, $instr32:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:9:86 [INFO] [stdout] | [INFO] [stdout] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr, $instr32:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 9 | ($name:ident, ($j:pat, $i:ident) = (_, $unroll:literal), $instr64:expr, $instr32:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / asm!( [INFO] [stdout] 81 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 82 | | idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 64) * 1024 + j % 64), [INFO] [stdout] 83 | | out("rax") _, [INFO] [stdout] 84 | | out("rdx") _, [INFO] [stdout] 85 | | options(nostack) [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] 75 | | idx = in(reg) MEM_AREA_OFFSET as usize + (i % 64 + (j % 64) * 1024), [INFO] [stdout] ... | [INFO] [stdout] 78 | | options(nostack) [INFO] [stdout] 79 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / asm!( [INFO] [stdout] 103 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 104 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 105 | | "mul qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 112 | | options(nostack) [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 93 | | "mul qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 100 | | options(nostack) [INFO] [stdout] 101 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / asm!( [INFO] [stdout] 130 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 131 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 132 | | "imul rdx, qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 139 | | options(nostack) [INFO] [stdout] 140 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 120 | | "imul rdx, qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 127 | | options(nostack) [INFO] [stdout] 128 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / asm!( [INFO] [stdout] 151 | | "mul ecx", [INFO] [stdout] 152 | | out("rax") _, [INFO] [stdout] 153 | | out("rdx") _, [INFO] [stdout] 154 | | options(nomem, nostack) [INFO] [stdout] 155 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] 147 | | out("rdx") _, [INFO] [stdout] 148 | | options(nomem, nostack) [INFO] [stdout] 149 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / asm!( [INFO] [stdout] 166 | | "imul edx, ecx", [INFO] [stdout] 167 | | out("rax") _, [INFO] [stdout] 168 | | out("rdx") _, [INFO] [stdout] 169 | | options(nomem, nostack) [INFO] [stdout] 170 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] 162 | | out("rdx") _, [INFO] [stdout] 163 | | options(nomem, nostack) [INFO] [stdout] 164 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 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 8.40s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking bench96bit v0.1.0 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 24 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/macros.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / asm!( [INFO] [stdout] 81 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 82 | | idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 64) * 1024 + j % 64), [INFO] [stdout] 83 | | out("rax") _, [INFO] [stdout] 84 | | out("rdx") _, [INFO] [stdout] 85 | | options(nostack) [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / asm!( [INFO] [stdout] 81 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 82 | | idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 64) * 1024 + j % 64), [INFO] [stdout] 83 | | out("rax") _, [INFO] [stdout] 84 | | out("rdx") _, [INFO] [stdout] 85 | | options(nostack) [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] 75 | | idx = in(reg) MEM_AREA_OFFSET as usize + (i % 64 + (j % 64) * 1024), [INFO] [stdout] ... | [INFO] [stdout] 78 | | options(nostack) [INFO] [stdout] 79 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] 75 | | idx = in(reg) MEM_AREA_OFFSET as usize + (i % 64 + (j % 64) * 1024), [INFO] [stdout] ... | [INFO] [stdout] 78 | | options(nostack) [INFO] [stdout] 79 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_perf_instr!(cache, (i, j) = (_, 1024), [INFO] [stdout] 72 | | asm!( [INFO] [stdout] 73 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 74 | | // idx = in(reg) MEM_AREA_OFFSET as usize + ((i % 512) * 1024 + j % 512), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / asm!( [INFO] [stdout] 103 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 104 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 105 | | "mul qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 112 | | options(nostack) [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / asm!( [INFO] [stdout] 103 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 104 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 105 | | "mul qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 112 | | options(nostack) [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 93 | | "mul qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 100 | | options(nostack) [INFO] [stdout] 101 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 93 | | "mul qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 100 | | options(nostack) [INFO] [stdout] 101 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_perf_instr!(mul_cache, (i, j) = (_, 1024), [INFO] [stdout] 90 | | asm!( [INFO] [stdout] 91 | | "mul qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 92 | | "mul qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 113 | | ) [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / asm!( [INFO] [stdout] 130 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 131 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 132 | | "imul rdx, qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 139 | | options(nostack) [INFO] [stdout] 140 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / asm!( [INFO] [stdout] 130 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 131 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 132 | | "imul rdx, qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 139 | | options(nostack) [INFO] [stdout] 140 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 120 | | "imul rdx, qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 127 | | options(nostack) [INFO] [stdout] 128 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] 120 | | "imul rdx, qword ptr [{idx} + 0x10]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 127 | | options(nostack) [INFO] [stdout] 128 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / impl_perf_instr!(imul_cache, (i, j) = (_, 1024), [INFO] [stdout] 117 | | asm!( [INFO] [stdout] 118 | | "imul rdx, qword ptr [{idx}]", // 64 bit mul [INFO] [stdout] 119 | | "imul rdx, qword ptr [{idx} + 0x8]", // 64 bit mul [INFO] [stdout] ... | [INFO] [stdout] 140 | | ) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / asm!( [INFO] [stdout] 151 | | "mul ecx", [INFO] [stdout] 152 | | out("rax") _, [INFO] [stdout] 153 | | out("rdx") _, [INFO] [stdout] 154 | | options(nomem, nostack) [INFO] [stdout] 155 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / asm!( [INFO] [stdout] 151 | | "mul ecx", [INFO] [stdout] 152 | | out("rax") _, [INFO] [stdout] 153 | | out("rdx") _, [INFO] [stdout] 154 | | options(nomem, nostack) [INFO] [stdout] 155 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] 147 | | out("rdx") _, [INFO] [stdout] 148 | | options(nomem, nostack) [INFO] [stdout] 149 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] 147 | | out("rdx") _, [INFO] [stdout] 148 | | options(nomem, nostack) [INFO] [stdout] 149 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / impl_perf_instr!(mul, (_, _i) = (_, 5_000), [INFO] [stdout] 144 | | asm!( [INFO] [stdout] 145 | | "mul rcx", [INFO] [stdout] 146 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / asm!( [INFO] [stdout] 166 | | "imul edx, ecx", [INFO] [stdout] 167 | | out("rax") _, [INFO] [stdout] 168 | | out("rdx") _, [INFO] [stdout] 169 | | options(nomem, nostack) [INFO] [stdout] 170 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / asm!( [INFO] [stdout] 166 | | "imul edx, ecx", [INFO] [stdout] 167 | | out("rax") _, [INFO] [stdout] 168 | | out("rdx") _, [INFO] [stdout] 169 | | options(nomem, nostack) [INFO] [stdout] 170 | | ) [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] 162 | | out("rdx") _, [INFO] [stdout] 163 | | options(nomem, nostack) [INFO] [stdout] 164 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let start = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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/macros.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn []() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] 162 | | out("rdx") _, [INFO] [stdout] 163 | | options(nomem, nostack) [INFO] [stdout] 164 | | ), [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::arch::x86_64::_rdtsc` is unsafe and requires unsafe block [INFO] [stdout] --> src/macros.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let end = std::arch::x86_64::_rdtsc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl_perf_instr!(imul, (_, _i) = (_, 5_000), [INFO] [stdout] 159 | | asm!( [INFO] [stdout] 160 | | "imul rdx, rcx", [INFO] [stdout] 161 | | out("rax") _, [INFO] [stdout] ... | [INFO] [stdout] 170 | | ) [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_perf_instr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bench96bit` (bin "bench96bit" test) due to 11 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bench96bit` (bin "bench96bit") due to 11 previous errors; 31 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" "67fd91931a5d1dd19b56a26a02feb5750759464c9d34624ceda5523fff4337f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67fd91931a5d1dd19b56a26a02feb5750759464c9d34624ceda5523fff4337f8", kill_on_drop: false }` [INFO] [stdout] 67fd91931a5d1dd19b56a26a02feb5750759464c9d34624ceda5523fff4337f8