[INFO] fetching crate frei0r-rs 0.1.0... [INFO] checking frei0r-rs-0.1.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate frei0r-rs 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate frei0r-rs 0.1.0 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 crates.io crate frei0r-rs 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate frei0r-rs 0.1.0 [INFO] tweaked toml for crates.io crate frei0r-rs 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate frei0r-rs 0.1.0 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] 3f6107979eb03ff20fcd76e63fd1f9d79a32c3b6325b4d895e71dbf283253580 [INFO] running `Command { std: "docker" "start" "-a" "3f6107979eb03ff20fcd76e63fd1f9d79a32c3b6325b4d895e71dbf283253580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f6107979eb03ff20fcd76e63fd1f9d79a32c3b6325b4d895e71dbf283253580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f6107979eb03ff20fcd76e63fd1f9d79a32c3b6325b4d895e71dbf283253580", kill_on_drop: false }` [INFO] [stdout] 3f6107979eb03ff20fcd76e63fd1f9d79a32c3b6325b4d895e71dbf283253580 [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] 00ffe04b0983cacc82e411199f3b8404de122618cea8a6594a9727da6b2c838a [INFO] running `Command { std: "docker" "start" "-a" "00ffe04b0983cacc82e411199f3b8404de122618cea8a6594a9727da6b2c838a", 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.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling clang-sys v1.8.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling frei0r-macros v0.1.0 [INFO] [stderr] Compiling frei0r-sys v0.1.0 [INFO] [stderr] Checking frei0r-rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/ffi.rs (2 fixes) [INFO] [stderr] Migrating examples/shift.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.92s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking frei0r-rs v0.1.0 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/shift.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | plugin!(TestPlugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246| #[unsafe(no_mangle)] pub unsafe extern "C" fn f0r_init() -> ffi::c_int { ffi::f0r_init() } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/shift.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | plugin!(TestPlugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:247:11 [INFO] [stdout] | [INFO] [stdout] 247| #[unsafe(no_mangle)] pub unsafe extern "C" fn f0r_deinit() { ffi::f0r_deinit() } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/shift.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | plugin!(TestPlugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:248:11 [INFO] [stdout] | [INFO] [stdout] 248| #[unsafe(no_mangle)] pub unsafe extern "C" fn f0r_get_plugin_info(info: *mut ffi::f0r_plugin_info_t) { ffi::f0r_get_plugin_info::<$type>(info) } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/shift.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | plugin!(TestPlugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:249:11 [INFO] [stdout] | [INFO] [stdout] 249| #[unsafe(no_mangle)] pub unsafe extern "C" fn f0r_get_param_info(info: *mut ffi::f0r_param_info_t, param_index: ffi::c_int) { ffi::f0r_get_param_info::<$type>(info, param_index) } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/shift.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | plugin!(TestPlugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:250:11 [INFO] [stdout] | [INFO] [stdout] 250| #[unsafe(no_mangle)] pub unsafe extern "C" fn f0r_construct(width : ffi::c_uint, height: ffi::c_uint) -> ffi::f0r_instance_t { ffi::f0r_construct::<$type>(width, height) } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/shift.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | plugin!(TestPlugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:251:11 [INFO] [stdout] | [INFO] [stdout] 251| #[unsafe(no_mangle)] pub unsafe extern "C" fn f0r_destruct(instance : ffi::f0r_instance_t) { ffi::f0r_destruct::<$type>(instance) } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/shift.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | plugin!(TestPlugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:252:11 [INFO] [stdout] | [INFO] [stdout] 252| #[unsafe(no_mangle)] pub unsafe extern "C" fn f0r_set_param_value(instance: ffi::f0r_instance_t, param: ffi::f0r_param_t, param_index: ffi::c_int) { ffi::f0r_set_param_value::<$type>(instance, param, param_index) } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/shift.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | plugin!(TestPlugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:253:11 [INFO] [stdout] | [INFO] [stdout] 253| #[unsafe(no_mangle)] pub unsafe extern "C" fn f0r_get_param_value(instance: ffi::f0r_instance_t, param: ffi::f0r_param_t, param_index: ffi::c_int) { ffi::f0r_get_param_value::<$type>(instance, param, param_index) } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/shift.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | plugin!(TestPlugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:254:11 [INFO] [stdout] | [INFO] [stdout] 254| #[unsafe(no_mangle)] pub unsafe extern "C" fn f0r_update(instance: ffi::f0r_instance_t, time: f64, inframe: *const u32, outframe: *mut u32) { ffi::f0r_update::<$type>(instance, time, inframe, outframe) } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/shift.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | plugin!(TestPlugin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `plugin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:255:11 [INFO] [stdout] | [INFO] [stdout] 255| #[unsafe(no_mangle)] pub unsafe extern "C" fn f0r_update2(instance: ffi::f0r_instance_t, time: f64, inframe1: *const u32, inframe2: *const u32, inframe3: *const u32, outframe: *mut u32) { ffi::f0r_update2::<$type>(instance, time, inframe1, inframe2, inframe3, outframe) } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `frei0r-rs` (example "shift") due to 10 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" "00ffe04b0983cacc82e411199f3b8404de122618cea8a6594a9727da6b2c838a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ffe04b0983cacc82e411199f3b8404de122618cea8a6594a9727da6b2c838a", kill_on_drop: false }` [INFO] [stdout] 00ffe04b0983cacc82e411199f3b8404de122618cea8a6594a9727da6b2c838a