[INFO] fetching crate para-graph 0.1.1... [INFO] checking para-graph-0.1.1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate para-graph 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate para-graph 0.1.1 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate para-graph 0.1.1 [INFO] finished tweaking crates.io crate para-graph 0.1.1 [INFO] tweaked toml for crates.io crate para-graph 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate para-graph 0.1.1 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cxx-build v1.0.107 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.107 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.107 [INFO] [stderr] Downloaded cxx v1.0.107 [INFO] [stderr] Downloaded syn v2.0.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e84ca73307787f2fe68ff0fcd11a79fcd6b0271e0c418950b759e14493fa6025 [INFO] running `Command { std: "docker" "start" "-a" "e84ca73307787f2fe68ff0fcd11a79fcd6b0271e0c418950b759e14493fa6025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e84ca73307787f2fe68ff0fcd11a79fcd6b0271e0c418950b759e14493fa6025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e84ca73307787f2fe68ff0fcd11a79fcd6b0271e0c418950b759e14493fa6025", kill_on_drop: false }` [INFO] [stdout] e84ca73307787f2fe68ff0fcd11a79fcd6b0271e0c418950b759e14493fa6025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 626c61ee504aaa095a0ffea4b2841499252309983e2cd8fe66dc0fdd69962ef7 [INFO] running `Command { std: "docker" "start" "-a" "626c61ee504aaa095a0ffea4b2841499252309983e2cd8fe66dc0fdd69962ef7", kill_on_drop: false }` [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] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling scratch v1.0.7 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling cxxbridge-flags v1.0.107 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde_json v1.0.109 [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] Checking half v2.4.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.107 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Compiling cxx-build v1.0.107 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num v0.4.2 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking log v0.4.20 [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.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: para-graph@0.1.1: 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.69s [INFO] running `Command { std: "docker" "inspect" "626c61ee504aaa095a0ffea4b2841499252309983e2cd8fe66dc0fdd69962ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "626c61ee504aaa095a0ffea4b2841499252309983e2cd8fe66dc0fdd69962ef7", kill_on_drop: false }` [INFO] [stdout] 626c61ee504aaa095a0ffea4b2841499252309983e2cd8fe66dc0fdd69962ef7 [INFO] checking para-graph-0.1.1 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate para-graph 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate para-graph 0.1.1 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate para-graph 0.1.1 [INFO] finished tweaking crates.io crate para-graph 0.1.1 [INFO] tweaked toml for crates.io crate para-graph 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate para-graph 0.1.1 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e97cf172c5690653224e273a9c744b3ac03164054a0fc915dbd1c3a1d9c6a861 [INFO] running `Command { std: "docker" "start" "-a" "e97cf172c5690653224e273a9c744b3ac03164054a0fc915dbd1c3a1d9c6a861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e97cf172c5690653224e273a9c744b3ac03164054a0fc915dbd1c3a1d9c6a861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e97cf172c5690653224e273a9c744b3ac03164054a0fc915dbd1c3a1d9c6a861", kill_on_drop: false }` [INFO] [stdout] e97cf172c5690653224e273a9c744b3ac03164054a0fc915dbd1c3a1d9c6a861 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6dcc74c4647ca656cf215f29b1bbc28ad0d2c586b29cc5130c224976556909f [INFO] running `Command { std: "docker" "start" "-a" "e6dcc74c4647ca656cf215f29b1bbc28ad0d2c586b29cc5130c224976556909f", 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] Compiling libc v0.2.147 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling scratch v1.0.7 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling cxxbridge-flags v1.0.107 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling termcolor v1.2.0 [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] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.31 [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 anstyle v1.0.6 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.107 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling cxx-build v1.0.107 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking num v0.4.2 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking plotters v0.3.5 [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 anes v0.1.6 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling cxxbridge-macro v1.0.107 [INFO] [stderr] Compiling para-graph v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] warning: para-graph@0.1.1: nvc++ compiler not found. Falling back to default C++ compiler. [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking petgraph v0.6.4 [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] [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 `{`, found `;` [INFO] [stderr] --> src/bridge.rs:8:69 [INFO] [stderr] | [INFO] [stderr] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]){ unsafe ;} [INFO] [stderr] | ------ ^ expected `{` [INFO] [stderr] | | [INFO] [stderr] | while parsing this `unsafe` expression [INFO] [stderr] [INFO] [stderr] error: expected `{`, found `;` [INFO] [stderr] --> src/bridge.rs:13:56 [INFO] [stderr] | [INFO] [stderr] 13 | ) -> Result>>{ unsafe ;} [INFO] [stderr] | ------ ^ expected `{` [INFO] [stderr] | | [INFO] [stderr] | while parsing this `unsafe` expression [INFO] [stderr] [INFO] [stderr] error: expected `{`, found `;` [INFO] [stderr] --> src/bridge.rs:15:65 [INFO] [stderr] | [INFO] [stderr] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]){ unsafe ;} [INFO] [stderr] | ------ ^ expected `{` [INFO] [stderr] | | [INFO] [stderr] | while parsing this `unsafe` expression [INFO] [stderr] [INFO] [stderr] error: expected one of: `trait`, `auto`, `impl`, `extern`, `mod` [INFO] [stderr] --> src/bridge.rs:8:69 [INFO] [stderr] | [INFO] [stderr] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]){ 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 items instead [INFO] [stderr] | [INFO] [stderr] 7 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] 7 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 7 | use std::os::unix::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] [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] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(keyword_idents_2024)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: consider importing one of these items instead [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] | [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] 9 | use core::ffi; [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] [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] [stderr] 9 | use std::ffi; [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] [stderr] | ~~~~~~~~ [INFO] [stdout] warning: call to unsafe function `bridge::ffi::floyd_warshall::__floyd_warshall` is unsafe and requires unsafe block (error E0133) [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] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 9 | use std::os::unix::ffi; [INFO] [stdout] warning: call to unsafe function `cxx::private::Result::exception` is unsafe and requires unsafe block (error E0133) [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] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] warning: call to unsafe function `bridge::ffi::gaussian_elimination::__gaussian_elimination` is unsafe and requires unsafe block (error E0133) [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] [stderr] [INFO] [stdout] warning: call to unsafe function `cxx::UniquePtr::::from_raw` is unsafe and requires unsafe block (error E0133) [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] [stderr] error[E0432]: unresolved import `crate::bridge::ffi` [INFO] [stdout] warning: call to unsafe function `std::mem::MaybeUninit::::assume_init` is unsafe and requires unsafe block (error E0133) [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] [stderr] --> src/algorithms/rust/prefix_sum.rs:1:5 [INFO] [stdout] warning: call to unsafe function `bridge::ffi::prefix_sum::__prefix_sum` is unsafe and requires unsafe block (error E0133) [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] [stderr] | [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1 | use crate::bridge::ffi; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `ffi` in `bridge` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items instead [INFO] [stderr] | [INFO] [stderr] 1 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] 1 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 1 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Migrating benches/radix_sort.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/gaussian_elimination.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/floyd_warshall.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/prefix_sum.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/binary_search.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/heft/main.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 `{`, found `;` [INFO] [stderr] --> src/bridge.rs:8:69 [INFO] [stderr] | [INFO] [stderr] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]){ unsafe ;} [INFO] [stderr] | ------ ^ expected `{` [INFO] [stderr] | | [INFO] [stderr] | while parsing this `unsafe` expression [INFO] [stderr] [INFO] [stderr] error: expected `{`, found `;` [INFO] [stderr] --> src/bridge.rs:13:56 [INFO] [stderr] | [INFO] [stderr] 13 | ) -> Result>>{ unsafe ;} [INFO] [stderr] | ------ ^ expected `{` [INFO] [stderr] | | [INFO] [stderr] | while parsing this `unsafe` expression [INFO] [stderr] [INFO] [stderr] error: expected `{`, found `;` [INFO] [stderr] --> src/bridge.rs:15:65 [INFO] [stderr] | [INFO] [stderr] 15 | unsafe fn prefix_sum(n: usize, arr: &mut [f64]){ unsafe ;} [INFO] [stderr] | ------ ^ expected `{` [INFO] [stderr] | | [INFO] [stderr] | while parsing this `unsafe` expression [INFO] [stderr] [INFO] [stderr] error: expected one of: `trait`, `auto`, `impl`, `extern`, `mod` [INFO] [stderr] --> src/bridge.rs:8:69 [INFO] [stderr] | [INFO] [stderr] 8 | unsafe fn floyd_warshall(n: usize, mat: &mut [f64]){ 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 items instead [INFO] [stderr] | [INFO] [stderr] 7 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] 7 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 7 | use std::os::unix::ffi; [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] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(keyword_idents_2024)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [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] error[E0432]: unresolved import `crate::bridge::ffi` [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] --> src/algorithms/rust/gaussian_elimination.rs:9:5 [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] [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] [stderr] 9 | use crate::bridge::ffi; [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] [stderr] | ^^^^^^^^^^^^^^^^^^ no `ffi` in `bridge` [INFO] [stdout] warning: call to unsafe function `bridge::ffi::floyd_warshall::__floyd_warshall` is unsafe and requires unsafe block (error E0133) [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] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: call to unsafe function `cxx::private::Result::exception` is unsafe and requires unsafe block (error E0133) [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] [stderr] help: consider importing one of these items instead [INFO] [stderr] | [INFO] [stderr] 9 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] 9 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 9 | use std::os::unix::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 items instead [INFO] [stderr] | [INFO] [stderr] 1 | use core::ffi; [INFO] [stderr] | ~~~~~~~~~ [INFO] [stderr] 1 | use std::ffi; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] 1 | use std::os::unix::ffi; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [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: call to unsafe function `bridge::ffi::gaussian_elimination::__gaussian_elimination` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `cxx::UniquePtr::::from_raw` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `std::mem::MaybeUninit::::assume_init` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `bridge::ffi::prefix_sum::__prefix_sum` is unsafe and requires unsafe block (error E0133) [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.09s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling para-graph v0.1.1 (/tmp/fixit) [INFO] [stderr] warning: para-graph@0.1.1: 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: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: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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: para-graph@0.1.1: nvc++ compiler not found. Falling back to default C++ compiler. [INFO] [stderr] [INFO] [stderr] error: could not compile `para-graph` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: para-graph@0.1.1: nvc++ compiler not found. Falling back to default C++ compiler. [INFO] [stderr] [INFO] [stderr] error: could not compile `para-graph` (lib test) due to 7 previous errors [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" "e6dcc74c4647ca656cf215f29b1bbc28ad0d2c586b29cc5130c224976556909f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6dcc74c4647ca656cf215f29b1bbc28ad0d2c586b29cc5130c224976556909f", kill_on_drop: false }` [INFO] [stdout] e6dcc74c4647ca656cf215f29b1bbc28ad0d2c586b29cc5130c224976556909f