[INFO] fetching crate oos 0.0.1-test-alpha... [INFO] testing oos-0.0.1-test-alpha against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate oos 0.0.1-test-alpha into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate oos 0.0.1-test-alpha [INFO] finished tweaking crates.io crate oos 0.0.1-test-alpha [INFO] tweaked toml for crates.io crate oos 0.0.1-test-alpha written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oos 0.0.1-test-alpha on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af672de19309f0b789086b345f2157cf44a9efdac08945dfd317e8a60f53c919 [INFO] running `Command { std: "docker" "start" "-a" "af672de19309f0b789086b345f2157cf44a9efdac08945dfd317e8a60f53c919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af672de19309f0b789086b345f2157cf44a9efdac08945dfd317e8a60f53c919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af672de19309f0b789086b345f2157cf44a9efdac08945dfd317e8a60f53c919", kill_on_drop: false }` [INFO] [stdout] af672de19309f0b789086b345f2157cf44a9efdac08945dfd317e8a60f53c919 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0bd1ffba5ca27415af92994450a1c0fc72747836f14833df4134a9d05c8d9c65 [INFO] running `Command { std: "docker" "start" "-a" "0bd1ffba5ca27415af92994450a1c0fc72747836f14833df4134a9d05c8d9c65", kill_on_drop: false }` [INFO] [stderr] Compiling oos v0.0.1-test-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/wn/lb.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub type PROC = extern fn(); [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/ms/mm.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "cdecl"{ [INFO] [stdout] 3 | | pub fn malloc(size: crate::def::USIZE) -> crate::def::PVOID; [INFO] [stdout] 4 | | pub fn free(block: crate::def::PVOID) -> crate::def::BOOL; [INFO] [stdout] 5 | | pub fn realloc(block: crate::def::PVOID, size: crate::def::USIZE) -> crate::def::PVOID; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/ms/fs.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "cdecl"{ [INFO] [stdout] 3 | | #[link_name = "fopen"] [INFO] [stdout] 4 | | pub fn get(name: crate::def::CSTR, md: crate::def::CSTR) -> crate::def::HAND; [INFO] [stdout] 5 | | #[link_name = "fread"] [INFO] [stdout] ... | [INFO] [stdout] 26 | | pub fn flu(file: crate::def::HAND) -> crate::def::BOOL; [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/ms/et.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "cdecl"{ [INFO] [stdout] 3 | | #[link_name = "atexit"] [INFO] [stdout] 4 | | pub fn atexit( [INFO] [stdout] 5 | | callback: extern "C" fn() [INFO] [stdout] ... | [INFO] [stdout] 12 | | pub fn abort() -> !; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/ms/mth.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "cdecl"{ [INFO] [stdout] 3 | | pub fn sin(f: f64) -> f64; [INFO] [stdout] 4 | | pub fn cos(f: f64) -> f64; [INFO] [stdout] 5 | | pub fn tan(f: f64) -> f64; [INFO] [stdout] ... | [INFO] [stdout] 20 | | pub fn fabs(f: f64) -> f64; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #137018 [INFO] [stdout] = help: use `extern "C"` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/fs.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "WriteFile"] [INFO] [stdout] 4 | | pub fn write( [INFO] [stdout] 5 | | hand: crate::def::HAND, [INFO] [stdout] ... | [INFO] [stdout] 10 | | ); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/io.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "GetStdHandle"] [INFO] [stdout] 4 | | pub fn get(id: crate::def::DWORD) -> crate::def::HAND; [INFO] [stdout] 5 | | /* [INFO] [stdout] ... | [INFO] [stdout] 14 | | */ [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/lb.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / extern "stdcall"{ [INFO] [stdout] 6 | | #[link_name = "LoadLibraryA"] [INFO] [stdout] 7 | | pub fn load( [INFO] [stdout] 8 | | name: crate::def::CSTR [INFO] [stdout] ... | [INFO] [stdout] 22 | | ) -> PROC; [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/ui/wn.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / extern "stdcall"{ [INFO] [stdout] 19 | | #[link_name = "CreateWindowExA"] [INFO] [stdout] 20 | | pub fn new( [INFO] [stdout] 21 | | dw_style: crate::def::DWORD, [INFO] [stdout] ... | [INFO] [stdout] 49 | | ) -> crate::def::BOOL; [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/wn/ui/mg.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub type PROC = unsafe extern "stdcall" fn( [INFO] [stdout] | __________________^ [INFO] [stdout] 2 | | wnd: crate::def::HAND, [INFO] [stdout] 3 | | msg: crate::def::DWORD, [INFO] [stdout] 4 | | wparam: crate::def::WPARAM, [INFO] [stdout] 5 | | lparam: crate::def::LPARAM [INFO] [stdout] 6 | | ) -> crate::def::LRESULT; [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Default` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/wn/ui/pt.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Default` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/wn/gdi/rc.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Copy` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/wn/ui/pt.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Copy, Clone, Debug)] [INFO] [stdout] | ^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Copy` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/wn/ui/mg.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive_const(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Copy` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/wn/gdi/rc.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clone` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/wn/ui/pt.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clone` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/wn/ui/mg.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive_const(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clone` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/wn/gdi/rc.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Debug` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/wn/ui/pt.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Debug` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/wn/ui/mg.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive_const(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Debug` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/wn/gdi/rc.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/ui/mg.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / extern "stdcall"{ [INFO] [stdout] 54 | | #[link_name = "GetMessageA"] [INFO] [stdout] 55 | | pub fn get( [INFO] [stdout] 56 | | msg: PMSG, [INFO] [stdout] ... | [INFO] [stdout] 82 | | ) -> crate::def::BOOL; [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/ui/rg.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / extern "stdcall"{ [INFO] [stdout] 33 | | #[link_name = "RegisterClassA"] [INFO] [stdout] 34 | | pub fn reg( [INFO] [stdout] 35 | | cls: PCLS [INFO] [stdout] 36 | | ) -> crate::def::UINT; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/ui/img.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "LoadImageA"] [INFO] [stdout] 4 | | pub fn load( [INFO] [stdout] 5 | | inst: crate::def::HAND, [INFO] [stdout] ... | [INFO] [stdout] 11 | | ) -> crate::def::HAND; [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/ud.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / extern "stdcall"{ [INFO] [stdout] 16 | | #[link_name = "UuidCreate"] [INFO] [stdout] 17 | | pub fn new( [INFO] [stdout] 18 | | uuid: PUUID [INFO] [stdout] ... | [INFO] [stdout] 24 | | ) -> crate::def::BOOL; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/dev.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "GetSystemMetrics"] [INFO] [stdout] 4 | | pub fn get(dev: crate::def::INT) -> crate::def::INT; [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/gdi/dc.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "GetDC"] [INFO] [stdout] 4 | | pub fn get(wnd: crate::def::HAND) -> crate::def::HAND; [INFO] [stdout] 5 | | #[link_name = "ReleaseDC"] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub fn cancel(dc: crate::def::HAND); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/gdi/brh.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "CreateSolidBrush"] [INFO] [stdout] 4 | | pub fn solid(color: super::def::RGBA) -> crate::def::HAND; [INFO] [stdout] 5 | | #[link_name = "SetDCBrushColor"] [INFO] [stdout] ... | [INFO] [stdout] 9 | | ) -> super::def::RGBA; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/gdi/pen.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "SetDCPenColor"] [INFO] [stdout] 4 | | pub fn set( [INFO] [stdout] 5 | | dc: crate::def::HAND, [INFO] [stdout] 6 | | color: super::def::RGBA [INFO] [stdout] 7 | | ) -> super::def::RGBA; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/gdi/bmp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "LoadBitmapA"] [INFO] [stdout] 4 | | pub fn load( [INFO] [stdout] 5 | | inst: crate::def::HAND, [INFO] [stdout] ... | [INFO] [stdout] 33 | | ) -> crate::def::BOOL; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/gdi/txt.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "DrawTextA"] [INFO] [stdout] 4 | | pub fn draw( [INFO] [stdout] 5 | | hdc: crate::def::HAND, [INFO] [stdout] ... | [INFO] [stdout] 18 | | ) -> crate::def::BOOL; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/gdi/txt.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / extern "stdcall"{ [INFO] [stdout] 25 | | #[link_name = "SetBkColor"] [INFO] [stdout] 26 | | pub fn bk( [INFO] [stdout] 27 | | hdc: crate::def::HAND, [INFO] [stdout] ... | [INFO] [stdout] 44 | | ) -> crate::def::UINT; [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/gdi/draw.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "Rectangle"] [INFO] [stdout] 4 | | pub fn rect( [INFO] [stdout] 5 | | hdc: crate::def::HAND, [INFO] [stdout] ... | [INFO] [stdout] 10 | | ) -> crate::def::BOOL; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/gdi/fnt.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "CreateFontA"] [INFO] [stdout] 4 | | pub fn get( [INFO] [stdout] 5 | | h: crate::def::INT, [INFO] [stdout] ... | [INFO] [stdout] 19 | | ) -> crate::def::HAND; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/gdi/pxl.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "SetPixel"] [INFO] [stdout] 4 | | pub fn set( [INFO] [stdout] 5 | | dc: crate::def::HAND, [INFO] [stdout] ... | [INFO] [stdout] 15 | | ) -> super::def::RGBA; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/gdi/rc.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / extern "stdcall"{ [INFO] [stdout] 24 | | #[link_name = "GetWindowRect"] [INFO] [stdout] 25 | | pub fn get( [INFO] [stdout] 26 | | wnd: crate::def::HAND, [INFO] [stdout] ... | [INFO] [stdout] 33 | | ) -> crate::def::BOOL; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/wn/et.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / extern "stdcall"{ [INFO] [stdout] 3 | | #[link_name = "ExitWindowsEx"] [INFO] [stdout] 4 | | pub fn exit( [INFO] [stdout] 5 | | flags: crate::def::UINT, [INFO] [stdout] 6 | | reason: crate::def::UINT [INFO] [stdout] 7 | | ); [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::default` in constant functions [INFO] [stdout] --> src/wn/ui/pt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Copy, Clone, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 3 | pub struct PNT{ [INFO] [stdout] 4 | pub x: crate::def::INT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::default` in constant functions [INFO] [stdout] --> src/wn/ui/pt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Copy, Clone, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 5 | pub y: crate::def::INT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Formatter::<'_>::debug_struct_field2_finish` in constant functions [INFO] [stdout] --> src/wn/ui/pt.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Formatter::<'_>::debug_struct_fields_finish` in constant functions [INFO] [stdout] --> src/wn/ui/mg.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive_const(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::default` in constant functions [INFO] [stdout] --> src/wn/gdi/rc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Clone, Copy, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 3 | pub struct RCT{ [INFO] [stdout] 4 | pub left: crate::def::INT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::default` in constant functions [INFO] [stdout] --> src/wn/gdi/rc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Clone, Copy, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 5 | pub top: crate::def::INT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::default` in constant functions [INFO] [stdout] --> src/wn/gdi/rc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Clone, Copy, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 6 | pub width: crate::def::INT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::default` in constant functions [INFO] [stdout] --> src/wn/gdi/rc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Clone, Copy, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 7 | pub height: crate::def::INT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Formatter::<'_>::debug_struct_field4_finish` in constant functions [INFO] [stdout] --> src/wn/gdi/rc.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive_const(Default, Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0570. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oos` (lib) due to 40 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0bd1ffba5ca27415af92994450a1c0fc72747836f14833df4134a9d05c8d9c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd1ffba5ca27415af92994450a1c0fc72747836f14833df4134a9d05c8d9c65", kill_on_drop: false }` [INFO] [stdout] 0bd1ffba5ca27415af92994450a1c0fc72747836f14833df4134a9d05c8d9c65