[INFO] fetching crate psp 0.1.1... [INFO] checking psp-0.1.1 against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] extracting crate psp 0.1.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate psp 0.1.1 on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate psp 0.1.1 [INFO] finished tweaking crates.io crate psp 0.1.1 [INFO] tweaked toml for crates.io crate psp 0.1.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a52fb4cb890caa34fed944a0a2a2de0b76c2110bec06f0aa94ad8f9a2e56fff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1a52fb4cb890caa34fed944a0a2a2de0b76c2110bec06f0aa94ad8f9a2e56fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a52fb4cb890caa34fed944a0a2a2de0b76c2110bec06f0aa94ad8f9a2e56fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a52fb4cb890caa34fed944a0a2a2de0b76c2110bec06f0aa94ad8f9a2e56fff", kill_on_drop: false }` [INFO] [stdout] 1a52fb4cb890caa34fed944a0a2a2de0b76c2110bec06f0aa94ad8f9a2e56fff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1ff76b142e39c8cf28bd2bef8f3d13261c857fbb6f965e6319518019742ea51 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d1ff76b142e39c8cf28bd2bef8f3d13261c857fbb6f965e6319518019742ea51", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling psp v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stdout] error[E0152]: found duplicate lang item `oom` [INFO] [stdout] --> src/alloc_impl.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | fn aeh(_: Layout) -> ! { loop {} } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5e3f1b148db5bfa27fee52464ae1f5d34c49d77b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-afd4b9aba051f3ad.rlib [INFO] [stdout] = note: second definition in the local crate (`psp`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 26 | | panic_impl(info) [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5e3f1b148db5bfa27fee52464ae1f5d34c49d77b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-afd4b9aba051f3ad.rlib [INFO] [stdout] = note: second definition in the local crate (`psp`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `psp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the feature `const_loop` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | const_loop, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_if_match` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | const_if_match, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::kernel::thread::ThreadAttributes`, which is not FFI-safe [INFO] [stdout] --> src/sys/kernel/thread.rs:470:15 [INFO] [stdout] | [INFO] [stdout] 470 | attr: ThreadAttributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/kernel/thread.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / bitflags::bitflags! { [INFO] [stdout] 61 | | /// Attributes for threads. [INFO] [stdout] 62 | | pub struct ThreadAttributes: u32 { [INFO] [stdout] 63 | | /// Enable VFPU access for the thread. [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::kernel::thread::ThreadAttributes`, which is not FFI-safe [INFO] [stdout] --> src/sys/kernel/thread.rs:705:15 [INFO] [stdout] | [INFO] [stdout] 705 | attr: ThreadAttributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/kernel/thread.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / bitflags::bitflags! { [INFO] [stdout] 61 | | /// Attributes for threads. [INFO] [stdout] 62 | | pub struct ThreadAttributes: u32 { [INFO] [stdout] 63 | | /// Enable VFPU access for the thread. [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::kernel::thread::EventFlagAttributes`, which is not FFI-safe [INFO] [stdout] --> src/sys/kernel/thread.rs:965:15 [INFO] [stdout] | [INFO] [stdout] 965 | attr: EventFlagAttributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/kernel/thread.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / bitflags::bitflags!{ [INFO] [stdout] 88 | | /// Event flag creation attributes. [INFO] [stdout] 89 | | pub struct EventFlagAttributes: u32 { [INFO] [stdout] 90 | | /// Allow the event flag to be waited upon by multiple threads. [INFO] [stdout] 91 | | const WAIT_MULTIPLE = 0x200; [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::kernel::thread::EventFlagWaitTypes`, which is not FFI-safe [INFO] [stdout] --> src/sys/kernel/thread.rs:1012:15 [INFO] [stdout] | [INFO] [stdout] 1012 | wait: EventFlagWaitTypes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/kernel/thread.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / bitflags::bitflags! { [INFO] [stdout] 96 | | /// Event flag wait types [INFO] [stdout] 97 | | pub struct EventFlagWaitTypes: u32 { [INFO] [stdout] 98 | | /// Wait for all bits in the pattern to be set [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::kernel::thread::EventFlagWaitTypes`, which is not FFI-safe [INFO] [stdout] --> src/sys/kernel/thread.rs:1033:15 [INFO] [stdout] | [INFO] [stdout] 1033 | wait: EventFlagWaitTypes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/kernel/thread.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / bitflags::bitflags! { [INFO] [stdout] 96 | | /// Event flag wait types [INFO] [stdout] 97 | | pub struct EventFlagWaitTypes: u32 { [INFO] [stdout] 98 | | /// Wait for all bits in the pattern to be set [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::kernel::thread::EventFlagWaitTypes`, which is not FFI-safe [INFO] [stdout] --> src/sys/kernel/thread.rs:1054:15 [INFO] [stdout] | [INFO] [stdout] 1054 | wait: EventFlagWaitTypes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/kernel/thread.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / bitflags::bitflags! { [INFO] [stdout] 96 | | /// Event flag wait types [INFO] [stdout] 97 | | pub struct EventFlagWaitTypes: u32 { [INFO] [stdout] 98 | | /// Wait for all bits in the pattern to be set [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::usb::UsbState`, which is not FFI-safe [INFO] [stdout] --> src/sys/usb.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn sceUsbGetState() -> UsbState; [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/usb.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / bitflags::bitflags! { [INFO] [stdout] 13 | | pub struct UsbState: i32 { [INFO] [stdout] 14 | | const ACTIVATED = 0x200; [INFO] [stdout] 15 | | const CONNECTED = 0x020; [INFO] [stdout] 16 | | const ESTABLISHED = 0x002; [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::usb::UsbCamReverseFlags`, which is not FFI-safe [INFO] [stdout] --> src/sys/usb.rs:656:51 [INFO] [stdout] | [INFO] [stdout] 656 | pub fn sceUsbCamSetReverseMode(reverse_flags: UsbCamReverseFlags) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/usb.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / bitflags::bitflags! { [INFO] [stdout] 273 | | /// Flags for reverse effects. [INFO] [stdout] 274 | | pub struct UsbCamReverseFlags: i32 { [INFO] [stdout] 275 | | const FLIP = 1; [INFO] [stdout] 276 | | const MIRROR = 0x100; [INFO] [stdout] 277 | | } [INFO] [stdout] 278 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::io::IoOpenFlags`, which is not FFI-safe [INFO] [stdout] --> src/sys/io.rs:139:46 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn sceIoOpen(file: *const u8, flags: IoOpenFlags, permissions: IoPermissions) -> SceUid; [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/io.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / bitflags::bitflags! { [INFO] [stdout] 105 | | pub struct IoOpenFlags: i32 { [INFO] [stdout] 106 | | const RD_ONLY = 0x0001; [INFO] [stdout] 107 | | const WR_ONLY = 0x0002; [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] 117 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::io::IoOpenFlags`, which is not FFI-safe [INFO] [stdout] --> src/sys/io.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | flags: IoOpenFlags, [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/io.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / bitflags::bitflags! { [INFO] [stdout] 105 | | pub struct IoOpenFlags: i32 { [INFO] [stdout] 106 | | const RD_ONLY = 0x0001; [INFO] [stdout] 107 | | const WR_ONLY = 0x0002; [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] 117 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::umd::UmdStateFlags`, which is not FFI-safe [INFO] [stdout] --> src/sys/umd.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn sceUmdWaitDriveStat(state: UmdStateFlags) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/umd.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / bitflags::bitflags! { [INFO] [stdout] 20 | | /// UMD drive state [INFO] [stdout] 21 | | pub struct UmdStateFlags: i32 { [INFO] [stdout] 22 | | const NOT_PRESENT = 0x01; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::umd::UmdStateFlags`, which is not FFI-safe [INFO] [stdout] --> src/sys/umd.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | state: UmdStateFlags, [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/umd.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / bitflags::bitflags! { [INFO] [stdout] 20 | | /// UMD drive state [INFO] [stdout] 21 | | pub struct UmdStateFlags: i32 { [INFO] [stdout] 22 | | const NOT_PRESENT = 0x01; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::umd::UmdStateFlags`, which is not FFI-safe [INFO] [stdout] --> src/sys/umd.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | state: UmdStateFlags, [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/umd.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / bitflags::bitflags! { [INFO] [stdout] 20 | | /// UMD drive state [INFO] [stdout] 21 | | pub struct UmdStateFlags: i32 { [INFO] [stdout] 22 | | const NOT_PRESENT = 0x01; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::VertexType`, which is not FFI-safe [INFO] [stdout] --> src/sys/gu.rs:1944:12 [INFO] [stdout] | [INFO] [stdout] 1944 | vtype: VertexType, [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / bitflags::bitflags! { [INFO] [stdout] 84 | | /// The vertex type decides how the vertices align and what kind of [INFO] [stdout] 85 | | /// information they contain. [INFO] [stdout] 86 | | pub struct VertexType: i32 { [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::LightComponent`, which is not FFI-safe [INFO] [stdout] --> src/sys/gu.rs:2208:17 [INFO] [stdout] | [INFO] [stdout] 2208 | components: LightComponent, [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:486:1 [INFO] [stdout] | [INFO] [stdout] 486 | / bitflags::bitflags!( [INFO] [stdout] 487 | | /// Light Components [INFO] [stdout] 488 | | pub struct LightComponent: i32 { [INFO] [stdout] 489 | | const AMBIENT = 1; [INFO] [stdout] ... | [INFO] [stdout] 495 | | } [INFO] [stdout] 496 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::LightComponent`, which is not FFI-safe [INFO] [stdout] --> src/sys/gu.rs:2254:65 [INFO] [stdout] | [INFO] [stdout] 2254 | pub unsafe extern "C" fn sceGuLightColor(light: i32, component: LightComponent, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:486:1 [INFO] [stdout] | [INFO] [stdout] 486 | / bitflags::bitflags!( [INFO] [stdout] 487 | | /// Light Components [INFO] [stdout] 488 | | pub struct LightComponent: i32 { [INFO] [stdout] 489 | | const AMBIENT = 1; [INFO] [stdout] ... | [INFO] [stdout] 495 | | } [INFO] [stdout] 496 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::ClearBuffer`, which is not FFI-safe [INFO] [stdout] --> src/sys/gu.rs:2314:44 [INFO] [stdout] | [INFO] [stdout] 2314 | pub unsafe extern "C" fn sceGuClear(flags: ClearBuffer) { [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | / bitflags::bitflags! { [INFO] [stdout] 347 | | /// Clear Buffer Mask [INFO] [stdout] 348 | | pub struct ClearBuffer: u32 { [INFO] [stdout] 349 | | /// Clears the color buffer. [INFO] [stdout] ... | [INFO] [stdout] 358 | | } [INFO] [stdout] 359 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::LightComponent`, which is not FFI-safe [INFO] [stdout] --> src/sys/gu.rs:2484:57 [INFO] [stdout] | [INFO] [stdout] 2484 | pub unsafe extern "C" fn sceGuColorMaterial(components: LightComponent) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:486:1 [INFO] [stdout] | [INFO] [stdout] 486 | / bitflags::bitflags!( [INFO] [stdout] 487 | | /// Light Components [INFO] [stdout] 488 | | pub struct LightComponent: i32 { [INFO] [stdout] 489 | | const AMBIENT = 1; [INFO] [stdout] ... | [INFO] [stdout] 495 | | } [INFO] [stdout] 496 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::LightComponent`, which is not FFI-safe [INFO] [stdout] --> src/sys/gu.rs:2552:52 [INFO] [stdout] | [INFO] [stdout] 2552 | pub unsafe extern "C" fn sceGuMaterial(components: LightComponent, color: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:486:1 [INFO] [stdout] | [INFO] [stdout] 486 | / bitflags::bitflags!( [INFO] [stdout] 487 | | /// Light Components [INFO] [stdout] 488 | | pub struct LightComponent: i32 { [INFO] [stdout] 489 | | const AMBIENT = 1; [INFO] [stdout] ... | [INFO] [stdout] 495 | | } [INFO] [stdout] 496 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::VertexType`, which is not FFI-safe [INFO] [stdout] --> src/sys/gu.rs:3219:13 [INFO] [stdout] | [INFO] [stdout] 3219 | v_type: VertexType, [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / bitflags::bitflags! { [INFO] [stdout] 84 | | /// The vertex type decides how the vertices align and what kind of [INFO] [stdout] 85 | | /// information they contain. [INFO] [stdout] 86 | | pub struct VertexType: i32 { [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::VertexType`, which is not FFI-safe [INFO] [stdout] --> src/sys/gu.rs:3278:13 [INFO] [stdout] | [INFO] [stdout] 3278 | v_type: VertexType, [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / bitflags::bitflags! { [INFO] [stdout] 84 | | /// The vertex type decides how the vertices align and what kind of [INFO] [stdout] 85 | | /// information they contain. [INFO] [stdout] 86 | | pub struct VertexType: i32 { [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::VertexType`, which is not FFI-safe [INFO] [stdout] --> src/sys/gu.rs:3425:13 [INFO] [stdout] | [INFO] [stdout] 3425 | v_type: VertexType, [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / bitflags::bitflags! { [INFO] [stdout] 84 | | /// The vertex type decides how the vertices align and what kind of [INFO] [stdout] 85 | | /// information they contain. [INFO] [stdout] 86 | | pub struct VertexType: i32 { [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::VertexType`, which is not FFI-safe [INFO] [stdout] --> src/sys/gum.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | v_type: sys::VertexType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / bitflags::bitflags! { [INFO] [stdout] 84 | | /// The vertex type decides how the vertices align and what kind of [INFO] [stdout] 85 | | /// information they contain. [INFO] [stdout] 86 | | pub struct VertexType: i32 { [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::VertexType`, which is not FFI-safe [INFO] [stdout] --> src/sys/gum.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | v_type: sys::VertexType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / bitflags::bitflags! { [INFO] [stdout] 84 | | /// The vertex type decides how the vertices align and what kind of [INFO] [stdout] 85 | | /// information they contain. [INFO] [stdout] 86 | | pub struct VertexType: i32 { [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::VertexType`, which is not FFI-safe [INFO] [stdout] --> src/sys/gum.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | v_type: sys::VertexType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / bitflags::bitflags! { [INFO] [stdout] 84 | | /// The vertex type decides how the vertices align and what kind of [INFO] [stdout] 85 | | /// information they contain. [INFO] [stdout] 86 | | pub struct VertexType: i32 { [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `sys::gu::VertexType`, which is not FFI-safe [INFO] [stdout] --> src/sys/gum.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | v_type: sys::VertexType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/sys/gu.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / bitflags::bitflags! { [INFO] [stdout] 84 | | /// The vertex type decides how the vertices align and what kind of [INFO] [stdout] 85 | | /// information they contain. [INFO] [stdout] 86 | | pub struct VertexType: i32 { [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `dyn core::panic::BoxMeUp`, which is not FFI-safe [INFO] [stdout] --> src/panic.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | extern fn rust_panic(mut msg: &mut dyn BoxMeUp) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: trait objects have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d1ff76b142e39c8cf28bd2bef8f3d13261c857fbb6f965e6319518019742ea51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1ff76b142e39c8cf28bd2bef8f3d13261c857fbb6f965e6319518019742ea51", kill_on_drop: false }` [INFO] [stdout] d1ff76b142e39c8cf28bd2bef8f3d13261c857fbb6f965e6319518019742ea51