[INFO] fetching crate para-graph 0.1.2... [INFO] checking para-graph-0.1.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate para-graph 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate para-graph 0.1.2 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate para-graph 0.1.2 [INFO] finished tweaking crates.io crate para-graph 0.1.2 [INFO] tweaked toml for crates.io crate para-graph 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate para-graph 0.1.2 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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b63d7b47a930b71e630d69b7238596aca1ae2efe367cd5b2be8eb3b52cba445 [INFO] running `Command { std: "docker" "start" "-a" "7b63d7b47a930b71e630d69b7238596aca1ae2efe367cd5b2be8eb3b52cba445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b63d7b47a930b71e630d69b7238596aca1ae2efe367cd5b2be8eb3b52cba445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b63d7b47a930b71e630d69b7238596aca1ae2efe367cd5b2be8eb3b52cba445", kill_on_drop: false }` [INFO] [stdout] 7b63d7b47a930b71e630d69b7238596aca1ae2efe367cd5b2be8eb3b52cba445 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1e974aaf9fb1a627d5eeaf7555cbf402d2b906e3be9c65962df4453f913af3c [INFO] running `Command { std: "docker" "start" "-a" "b1e974aaf9fb1a627d5eeaf7555cbf402d2b906e3be9c65962df4453f913af3c", 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 autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling scratch v1.0.7 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling cxxbridge-flags v1.0.107 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.107 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling cxx-build v1.0.107 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking num v0.4.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling cxxbridge-macro v1.0.107 [INFO] [stderr] Compiling para-graph v0.1.2 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Fixed build.rs (2 fixes) [INFO] [stderr] warning: para-graph@0.1.2: nvc++ compiler not found. Falling back to default C++ compiler. [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `para_graph` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_dag_np.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let node_weight: N = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/algorithms/rust/floyd_warshall.rs [INFO] [stderr] * src/algorithms/rust/gaussian_elimination.rs [INFO] [stderr] * src/algorithms/rust/prefix_sum.rs [INFO] [stderr] * src/bridge.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `->`, `;`, `where`, or `{`, found keyword `unsafe` [INFO] [stderr] --> src/bridge.rs:8:60 [INFO] [stderr] | [INFO] [stderr] 3 | unsafe extern "C++" { [INFO] [stderr] | - while parsing this item list starting here [INFO] [stderr] ... [INFO] [stderr] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64])unsafe { unsafe ;} [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_dag_np.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight: E = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^ expected one of `->`, `;`, `where`, or `{` [INFO] [stderr] ... [INFO] [stderr] 16 | } [INFO] [stderr] | - the item list ends here [INFO] [stderr] [INFO] [stderr] error: expected `;` [INFO] [stderr] --> src/bridge.rs:8:60 [INFO] [stderr] | [INFO] [stderr] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64])unsafe { unsafe ;} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::bridge::ffi` [INFO] [stderr] --> src/algorithms/rust/floyd_warshall.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::bridge::ffi; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `ffi` in `bridge` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these modules instead [INFO] [stderr] | [INFO] [stderr] 7 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 7 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 7 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::bridge::ffi` [INFO] [stderr] --> src/algorithms/rust/gaussian_elimination.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::bridge::ffi; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `ffi` in `bridge` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these modules instead [INFO] [stderr] | [INFO] [stderr] 9 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 9 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 9 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::bridge::ffi` [INFO] [stderr] --> src/algorithms/rust/prefix_sum.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::bridge::ffi; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `ffi` in `bridge` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these modules instead [INFO] [stderr] | [INFO] [stderr] 1 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 1 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 1 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/algorithms/rust/gaussian_elimination.rs:10:5 [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_dag_np.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | let edge_weight: E = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 10 | use itertools::Itertools; [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_graph_np.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let node_weight: N = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_graph_np.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight_1: E = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_graph_np.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | let edge_weight_2: E = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bridge.rs:8:60 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bridge.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::floyd_warshall::__floyd_warshall` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cxx::private::Result::exception` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn gaussian_elimination( [INFO] [stdout] | ___________________^ [INFO] [stdout] 11 | | n: usize, [INFO] [stdout] 12 | | mat: &[Vec], [INFO] [stdout] 13 | | ) -> Result>>; [INFO] [stdout] | |_______________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[cxx::bridge] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::gaussian_elimination::__gaussian_elimination` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn gaussian_elimination( [INFO] [stdout] | ___________________^ [INFO] [stdout] 11 | | n: usize, [INFO] [stdout] 12 | | mat: &[Vec], [INFO] [stdout] 13 | | ) -> Result>>; [INFO] [stdout] | |_______________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cxx::UniquePtr::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::MaybeUninit::::assume_init` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::prefix_sum::__prefix_sum` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating benches/binary_search.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/prefix_sum.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/radix_sort.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/heft/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/floyd_warshall.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `para_graph` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/algorithms/rust/floyd_warshall.rs [INFO] [stderr] * src/algorithms/rust/gaussian_elimination.rs [INFO] [stderr] * src/algorithms/rust/prefix_sum.rs [INFO] [stderr] * src/bridge.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `->`, `;`, `where`, or `{`, found keyword `unsafe` [INFO] [stderr] --> src/bridge.rs:8:60 [INFO] [stderr] | [INFO] [stderr] 3 | unsafe extern "C++" { [INFO] [stderr] | - while parsing this item list starting here [INFO] [stderr] ... [INFO] [stderr] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64])unsafe { unsafe ;} [INFO] [stderr] | ^^^^^^ expected one of `->`, `;`, `where`, or `{` [INFO] [stderr] ... [INFO] [stderr] 16 | } [INFO] [stderr] | - the item list ends here [INFO] [stderr] [INFO] [stderr] error: expected `;` [INFO] [stderr] --> src/bridge.rs:8:60 [INFO] [stderr] | [INFO] [stderr] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64])unsafe { unsafe ;} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::bridge::ffi` [INFO] [stderr] --> src/algorithms/rust/floyd_warshall.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::bridge::ffi; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `ffi` in `bridge` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these modules instead [INFO] [stderr] | [INFO] [stderr] 7 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 7 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 7 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::bridge::ffi` [INFO] [stderr] --> src/algorithms/rust/gaussian_elimination.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::bridge::ffi; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `ffi` in `bridge` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these modules instead [INFO] [stderr] | [INFO] [stderr] 9 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 9 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 9 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::bridge::ffi` [INFO] [stderr] --> src/algorithms/rust/prefix_sum.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::bridge::ffi; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `ffi` in `bridge` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these modules instead [INFO] [stderr] | [INFO] [stderr] 1 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 1 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] 1 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/algorithms/rust/gaussian_elimination.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_dag_np.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let node_weight: N = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_dag_np.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight: E = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_dag_np.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | let edge_weight: E = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_graph_np.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let node_weight: N = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_graph_np.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight_1: E = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/graph/random_graph_np.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | let edge_weight_2: E = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bridge.rs:8:60 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bridge.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::floyd_warshall::__floyd_warshall` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cxx::private::Result::exception` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn gaussian_elimination( [INFO] [stdout] | ___________________^ [INFO] [stdout] 11 | | n: usize, [INFO] [stdout] 12 | | mat: &[Vec], [INFO] [stdout] 13 | | ) -> Result>>; [INFO] [stdout] | |_______________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[cxx::bridge] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::gaussian_elimination::__gaussian_elimination` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn gaussian_elimination( [INFO] [stdout] | ___________________^ [INFO] [stdout] 11 | | n: usize, [INFO] [stdout] 12 | | mat: &[Vec], [INFO] [stdout] 13 | | ) -> Result>>; [INFO] [stdout] | |_______________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cxx::UniquePtr::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::MaybeUninit::::assume_init` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::prefix_sum::__prefix_sum` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating benches/gaussian_elimination.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.37s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling para-graph v0.1.2 (/tmp/fixit) [INFO] [stderr] warning: para-graph@0.1.2: nvc++ compiler not found. Falling back to default C++ compiler. [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_dag_np.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let node_weight: N = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 15 | let node_weight: N = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_dag_np.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let node_weight: N = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 15 | let node_weight: N = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_dag_np.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight: E = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight: E = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_dag_np.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | let edge_weight: E = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 28 | let edge_weight: E = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_graph_np.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let node_weight: N = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 13 | let node_weight: N = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_graph_np.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight_1: E = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight_1: E = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_graph_np.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | let edge_weight_2: E = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | let edge_weight_2: E = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_dag_np.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight: E = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight: E = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_dag_np.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | let edge_weight: E = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 28 | let edge_weight: E = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_graph_np.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let node_weight: N = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 13 | let node_weight: N = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_graph_np.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight_1: E = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 21 | let edge_weight_1: E = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/graph/random_graph_np.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | let edge_weight_2: E = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | let edge_weight_2: E = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bridge.rs:8:60 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bridge.rs:8:60 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bridge.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bridge.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::floyd_warshall::__floyd_warshall` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cxx::private::Result::exception` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn gaussian_elimination( [INFO] [stdout] | ___________________^ [INFO] [stdout] 11 | | n: usize, [INFO] [stdout] 12 | | mat: &[Vec], [INFO] [stdout] 13 | | ) -> Result>>; [INFO] [stdout] | |_______________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[cxx::bridge] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::gaussian_elimination::__gaussian_elimination` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn gaussian_elimination( [INFO] [stdout] | ___________________^ [INFO] [stdout] 11 | | n: usize, [INFO] [stdout] 12 | | mat: &[Vec], [INFO] [stdout] 13 | | ) -> Result>>; [INFO] [stdout] | |_______________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cxx::UniquePtr::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::MaybeUninit::::assume_init` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::prefix_sum::__prefix_sum` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: para-graph@0.1.2: nvc++ compiler not found. Falling back to default C++ compiler. [INFO] [stderr] [INFO] [stderr] error: could not compile `para-graph` (lib) due to 10 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::floyd_warshall::__floyd_warshall` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cxx::private::Result::exception` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn gaussian_elimination( [INFO] [stdout] | ___________________^ [INFO] [stdout] 11 | | n: usize, [INFO] [stdout] 12 | | mat: &[Vec], [INFO] [stdout] 13 | | ) -> Result>>; [INFO] [stdout] | |_______________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[cxx::bridge] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::gaussian_elimination::__gaussian_elimination` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe fn gaussian_elimination( [INFO] [stdout] | ___________________^ [INFO] [stdout] 11 | | n: usize, [INFO] [stdout] 12 | | mat: &[Vec], [INFO] [stdout] 13 | | ) -> Result>>; [INFO] [stdout] | |_______________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cxx::UniquePtr::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::MaybeUninit::::assume_init` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result>>; [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bridge::ffi::prefix_sum::__prefix_sum` is unsafe and requires unsafe block [INFO] [stdout] --> src/bridge.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bridge.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: para-graph@0.1.2: nvc++ compiler not found. Falling back to default C++ compiler. [INFO] [stderr] [INFO] [stderr] error: could not compile `para-graph` (lib test) due to 10 previous errors; 6 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" "b1e974aaf9fb1a627d5eeaf7555cbf402d2b906e3be9c65962df4453f913af3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1e974aaf9fb1a627d5eeaf7555cbf402d2b906e3be9c65962df4453f913af3c", kill_on_drop: false }` [INFO] [stdout] b1e974aaf9fb1a627d5eeaf7555cbf402d2b906e3be9c65962df4453f913af3c