[INFO] cloning repository https://github.com/CreggEgg/rev-test-thing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CreggEgg/rev-test-thing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreggEgg%2Frev-test-thing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreggEgg%2Frev-test-thing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 275048ffc6af4157cffaee10c6c385920de46dad [INFO] checking CreggEgg/rev-test-thing/275048ffc6af4157cffaee10c6c385920de46dad against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreggEgg%2Frev-test-thing" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CreggEgg/rev-test-thing on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CreggEgg/rev-test-thing [INFO] finished tweaking git repo https://github.com/CreggEgg/rev-test-thing [INFO] tweaked toml for git repo https://github.com/CreggEgg/rev-test-thing written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CreggEgg/rev-test-thing 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d44b497bea9c2d4781e3f1d52f9c4be3a1c5b834229709d32716ae104f44dce [INFO] running `Command { std: "docker" "start" "-a" "9d44b497bea9c2d4781e3f1d52f9c4be3a1c5b834229709d32716ae104f44dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d44b497bea9c2d4781e3f1d52f9c4be3a1c5b834229709d32716ae104f44dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d44b497bea9c2d4781e3f1d52f9c4be3a1c5b834229709d32716ae104f44dce", kill_on_drop: false }` [INFO] [stdout] 9d44b497bea9c2d4781e3f1d52f9c4be3a1c5b834229709d32716ae104f44dce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3546cb713c120ac740b323f63b34fa9268138623d64eb65cf2a520e596693e8c [INFO] running `Command { std: "docker" "start" "-a" "3546cb713c120ac740b323f63b34fa9268138623d64eb65cf2a520e596693e8c", 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 proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling cxxbridge-flags v1.0.129 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cxx v1.0.129 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling prettyplease v0.2.24 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling autocxx-bindgen v0.69.5 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling cxx-gen v0.7.129 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling autocxx v0.27.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling cxxbridge-macro v1.0.129 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Checking moveit v0.6.0 [INFO] [stderr] Compiling autocxx-parser v0.27.0 [INFO] [stderr] Compiling autocxx-engine v0.27.0 [INFO] [stderr] Compiling autocxx-macro v0.27.0 [INFO] [stderr] Compiling autocxx-build v0.27.0 [INFO] [stderr] Compiling test-thing v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `test_thing` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected type, found keyword `unsafe` [INFO] [stderr] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3327 [INFO] [stderr] | [INFO] [stderr] 1 | ...] mod cxxbridge { impl UniquePtr < _c_REVLib_ErrorCode > unsafe { } impl SharedPtr < _c_REVLib_ErrorCode > unsafe { } impl WeakPtr < _... [INFO] [stderr] | ^^^^^^ expected type [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ffi` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use ffi::{ [INFO] [stderr] | ^^^ help: a similar path exists: `std::ffi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `ffi` [INFO] [stderr] --> src/main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | ffi::c_SparkMax_MotorType::c_SparkMax_kBrushless, [INFO] [stderr] | ^^^ use of undeclared crate or module `ffi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `ffi` [INFO] [stderr] --> src/main.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | ffi::c_SparkMax_SparkModel::c_SparkMax_SparkMax, [INFO] [stderr] | ^^^ use of undeclared crate or module `ffi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `ffi` [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | ffi::c_SparkMax_Create( [INFO] [stderr] | ^^^ use of undeclared crate or module `ffi` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:4098 [INFO] [stdout] | [INFO] [stdout] 1 | ..._ : & str) -> UniquePtr < CxxString > ; type _c_REVLib_ErrorCode = super :: bindgen :: root :: _c_REVLib_ErrorCode ; type c_SparkMax_S... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:4606 [INFO] [stdout] | [INFO] [stdout] 1 | ...ib_ErrorCode) -> * mut c_SparkMax_Obj ; pub unsafe fn c_SparkMax_SetpointCommand (handle : * mut c_SparkMax_Obj , value : f32 , ctrl :... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:4812 [INFO] [stdout] | [INFO] [stdout] 1 | ...Units : c_int) -> _c_REVLib_ErrorCode ; type c_SparkMax_Obj ; type c_int = autocxx :: c_int ; include ! ("rev/CANSparkMaxDriver.h") ; ... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3327 [INFO] [stdout] | [INFO] [stdout] 1 | ...mpl UniquePtr < _c_REVLib_ErrorCode > { } impl SharedPtr < _c_REVLib_ErrorCode > { } impl WeakPtr < _c_REVLib_ErrorCode > { } impl Cxx... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3370 [INFO] [stdout] | [INFO] [stdout] 1 | ...mpl SharedPtr < _c_REVLib_ErrorCode > { } impl WeakPtr < _c_REVLib_ErrorCode > { } impl CxxVector < _c_REVLib_ErrorCode > { } impl Uni... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3411 [INFO] [stdout] | [INFO] [stdout] 1 | ... impl WeakPtr < _c_REVLib_ErrorCode > { } impl CxxVector < _c_REVLib_ErrorCode > { } impl UniquePtr < c_SparkMax_SparkModel > { } impl... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3454 [INFO] [stdout] | [INFO] [stdout] 1 | ...mpl CxxVector < _c_REVLib_ErrorCode > { } impl UniquePtr < c_SparkMax_SparkModel > { } impl SharedPtr < c_SparkMax_SparkModel > { } im... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3499 [INFO] [stdout] | [INFO] [stdout] 1 | ...l UniquePtr < c_SparkMax_SparkModel > { } impl SharedPtr < c_SparkMax_SparkModel > { } impl WeakPtr < c_SparkMax_SparkModel > { } impl... [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test-thing` (bin "test-thing") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3544 [INFO] [stdout] | [INFO] [stdout] 1 | ...l SharedPtr < c_SparkMax_SparkModel > { } impl WeakPtr < c_SparkMax_SparkModel > { } impl CxxVector < c_SparkMax_SparkModel > { } impl... [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] error: expected type, found keyword `unsafe` [INFO] [stdout] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3327 [INFO] [stdout] | [INFO] [stdout] 1 | ...] mod cxxbridge { impl UniquePtr < _c_REVLib_ErrorCode > unsafe { } impl SharedPtr < _c_REVLib_ErrorCode > unsafe { } impl WeakPtr < _... [INFO] [stdout] | ^^^^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ffi` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ffi::{ [INFO] [stdout] | ^^^ help: a similar path exists: `std::ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ffi` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | ffi::c_SparkMax_MotorType::c_SparkMax_kBrushless, [INFO] [stdout] | ^^^ use of undeclared crate or module `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ffi` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | ffi::c_SparkMax_SparkModel::c_SparkMax_SparkMax, [INFO] [stdout] | ^^^ use of undeclared crate or module `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ffi` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | ffi::c_SparkMax_Create( [INFO] [stdout] | ^^^ use of undeclared crate or module `ffi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3587 [INFO] [stdout] | [INFO] [stdout] 1 | ...mpl WeakPtr < c_SparkMax_SparkModel > { } impl CxxVector < c_SparkMax_SparkModel > { } impl UniquePtr < c_SparkMax_MotorType > { } imp... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3632 [INFO] [stdout] | [INFO] [stdout] 1 | ...l CxxVector < c_SparkMax_SparkModel > { } impl UniquePtr < c_SparkMax_MotorType > { } impl SharedPtr < c_SparkMax_MotorType > { } impl... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3676 [INFO] [stdout] | [INFO] [stdout] 1 | ...pl UniquePtr < c_SparkMax_MotorType > { } impl SharedPtr < c_SparkMax_MotorType > { } impl WeakPtr < c_SparkMax_MotorType > { } impl C... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3720 [INFO] [stdout] | [INFO] [stdout] 1 | ...pl SharedPtr < c_SparkMax_MotorType > { } impl WeakPtr < c_SparkMax_MotorType > { } impl CxxVector < c_SparkMax_MotorType > { } impl U... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3762 [INFO] [stdout] | [INFO] [stdout] 1 | ...impl WeakPtr < c_SparkMax_MotorType > { } impl CxxVector < c_SparkMax_MotorType > { } impl UniquePtr < c_SparkMax_ControlType > { } im... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3806 [INFO] [stdout] | [INFO] [stdout] 1 | ...pl CxxVector < c_SparkMax_MotorType > { } impl UniquePtr < c_SparkMax_ControlType > { } impl SharedPtr < c_SparkMax_ControlType > { } ... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3852 [INFO] [stdout] | [INFO] [stdout] 1 | ... UniquePtr < c_SparkMax_ControlType > { } impl SharedPtr < c_SparkMax_ControlType > { } impl WeakPtr < c_SparkMax_ControlType > { } im... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3898 [INFO] [stdout] | [INFO] [stdout] 1 | ... SharedPtr < c_SparkMax_ControlType > { } impl WeakPtr < c_SparkMax_ControlType > { } impl CxxVector < c_SparkMax_ControlType > { } un... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3942 [INFO] [stdout] | [INFO] [stdout] 1 | ...pl WeakPtr < c_SparkMax_ControlType > { } impl CxxVector < c_SparkMax_ControlType > { } unsafe extern "C++" { fn autocxx_make_string_0... [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] --> /opt/rustwide/target/debug/build/test-thing-ece93834787b2b10/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:3988 [INFO] [stdout] | [INFO] [stdout] 1 | ... CxxVector < c_SparkMax_ControlType > { } unsafe extern "C++" { fn autocxx_make_string_0x33cc74bdc4e81cac (str_ : & str) -> UniquePtr ... [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3546cb713c120ac740b323f63b34fa9268138623d64eb65cf2a520e596693e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3546cb713c120ac740b323f63b34fa9268138623d64eb65cf2a520e596693e8c", kill_on_drop: false }` [INFO] [stdout] 3546cb713c120ac740b323f63b34fa9268138623d64eb65cf2a520e596693e8c