[INFO] fetching crate ctr_etc1 0.1.0... [INFO] building ctr_etc1-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate ctr_etc1 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate ctr_etc1 0.1.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ctr_etc1 0.1.0 [INFO] finished tweaking crates.io crate ctr_etc1 0.1.0 [INFO] tweaked toml for crates.io crate ctr_etc1 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 517b5f82c6da3419106db75a40505a400b281ae6241ca057a85550e292dbb0f8 [INFO] running `Command { std: "docker" "start" "-a" "517b5f82c6da3419106db75a40505a400b281ae6241ca057a85550e292dbb0f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "517b5f82c6da3419106db75a40505a400b281ae6241ca057a85550e292dbb0f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517b5f82c6da3419106db75a40505a400b281ae6241ca057a85550e292dbb0f8", kill_on_drop: false }` [INFO] [stdout] 517b5f82c6da3419106db75a40505a400b281ae6241ca057a85550e292dbb0f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2124adb51cbde819034c16d65d8593a43091f255dc37f91716c625171a3fd0a [INFO] running `Command { std: "docker" "start" "-a" "c2124adb51cbde819034c16d65d8593a43091f255dc37f91716c625171a3fd0a", kill_on_drop: false }` [INFO] [stderr] Compiling ctr_etc1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:22: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] [INFO] [stderr] warning: ctr_etc1@0.1.0: 22 | #pragma warning (disable: 4201) // nonstandard extension used : nameless struct/union [INFO] [stderr] warning: ctr_etc1@0.1.0: | [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In function 'rg_etc1::uint rg_etc1::etc1_decode_value(rg_etc1::uint, rg_etc1::uint, rg_etc1::uint, rg_etc1::uint)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:1883:42: warning: statement has no effect [-Wunused-value] [INFO] [stderr] warning: ctr_etc1@0.1.0: 1883 | const uint limit = diff ? 32 : 16; limit; [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In function 'rg_etc1::uint64 rg_etc1::pack_etc1_block_solid_color(rg_etc1::etc1_block&, const uint8*, rg_etc1::etc1_pack_params&)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:1945:7: warning: statement has no effect [-Wunused-value] [INFO] [stderr] warning: ctr_etc1@0.1.0: 1945 | pack_params; [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In function 'rg_etc1::uint rg_etc1::pack_etc1_block_solid_color_constrained(rg_etc1::etc1_optimizer::results&, rg_etc1::uint, const uint8*, rg_etc1::etc1_pack_params&, bool, const rg_etc1::color_quad_u8*)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2037:7: warning: statement has no effect [-Wunused-value] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2037 | pack_params; [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In function 'void rg_etc1::dither_block_555(rg_etc1::color_quad_u8*, const rg_etc1::color_quad_u8*)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2150:13: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct rg_etc1::color_quad_u8' with no trivial copy-assignment [-Wclass-memaccess] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2150 | memset(dest, 0xFF, sizeof(color_quad_u8)*16); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:57:11: note: 'struct rg_etc1::color_quad_u8' declared here [INFO] [stderr] warning: ctr_etc1@0.1.0: 57 | struct color_quad_u8 [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In function 'unsigned int rg_etc1::pack_etc1_block(void*, const unsigned int*, rg_etc1::etc1_pack_params&)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2256:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct rg_etc1::color_quad_u8' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2256 | memcpy(subblock_pixels, pSrc_pixels + subblock * 8, sizeof(color_quad_u8) * 8); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:57:11: note: 'struct rg_etc1::color_quad_u8' declared here [INFO] [stderr] warning: ctr_etc1@0.1.0: 57 | struct color_quad_u8 [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: In file included from etc1_encoder/src/rg_etc1.cpp:18: [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2367:94: warning: suggest parentheses around '&&' within '||' [-Wparentheses] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2367 | RG_ETC1_ASSERT(best_use_color4 || (rg_etc1::minimum(dr, dg, db) >= cETC1ColorDeltaMin) && (rg_etc1::maximum(dr, dg, db) <= cETC1ColorDeltaMax)); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2367:7: note: in expansion of macro 'RG_ETC1_ASSERT' [INFO] [stderr] warning: ctr_etc1@0.1.0: 2367 | RG_ETC1_ASSERT(best_use_color4 || (rg_etc1::minimum(dr, dg, db) >= cETC1ColorDeltaMin) && (rg_etc1::maximum(dr, dg, db) <= cETC1ColorDeltaMax)); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2377:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2377 | if (dr < 0) dr += 8; dst_block.m_bytes[0] = static_cast((best_results[0].m_block_color_unscaled.r << 3) | dr); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2377:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: ctr_etc1@0.1.0: 2377 | if (dr < 0) dr += 8; dst_block.m_bytes[0] = static_cast((best_results[0].m_block_color_unscaled.r << 3) | dr); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2378:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2378 | if (dg < 0) dg += 8; dst_block.m_bytes[1] = static_cast((best_results[0].m_block_color_unscaled.g << 3) | dg); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2378:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: ctr_etc1@0.1.0: 2378 | if (dg < 0) dg += 8; dst_block.m_bytes[1] = static_cast((best_results[0].m_block_color_unscaled.g << 3) | dg); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2379:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2379 | if (db < 0) db += 8; dst_block.m_bytes[2] = static_cast((best_results[0].m_block_color_unscaled.b << 3) | db); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2379:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: ctr_etc1@0.1.0: 2379 | if (db < 0) db += 8; dst_block.m_bytes[2] = static_cast((best_results[0].m_block_color_unscaled.b << 3) | db); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: In file included from etc1_encoder/src/rg_etc1.cpp:18: [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In instantiation of 'T* rg_etc1::indirect_radix_sort(rg_etc1::uint, T*, T*, const Q*, rg_etc1::uint, rg_etc1::uint, bool) [with T = unsigned int; Q = short unsigned int; rg_etc1::uint = unsigned int]': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:1654:54: required from here [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:750:31: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] [INFO] [stderr] warning: ctr_etc1@0.1.0: 750 | RG_ETC1_ASSERT((key_ofs >= 0) && (key_ofs < sizeof(T))); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ~~~~~~~~~^~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:750:7: note: in expansion of macro 'RG_ETC1_ASSERT' [INFO] [stderr] warning: ctr_etc1@0.1.0: 750 | RG_ETC1_ASSERT((key_ofs >= 0) && (key_ofs < sizeof(T))); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/etc1_encoder.cpp: In function 'void encodeETC1Block(int, int, const uint8_t*, uint8_t*)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/etc1_encoder.cpp:65:30: error: 'memcpy' is not a member of 'std'; did you mean 'wmemcpy'? [INFO] [stderr] warning: ctr_etc1@0.1.0: 65 | std::memcpy(ptrOut, &block, 8); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: | wmemcpy [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/etc1_encoder.cpp:70:25: error: '_byteswap_uint64' was not declared in this scope [INFO] [stderr] warning: ctr_etc1@0.1.0: 70 | block = _byteswap_uint64(block); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/etc1_encoder.cpp:71:22: error: 'memcpy' is not a member of 'std'; did you mean 'wmemcpy'? [INFO] [stderr] warning: ctr_etc1@0.1.0: 71 | std::memcpy(ptrOut, &block, 8); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: | wmemcpy [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "c2124adb51cbde819034c16d65d8593a43091f255dc37f91716c625171a3fd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2124adb51cbde819034c16d65d8593a43091f255dc37f91716c625171a3fd0a", kill_on_drop: false }` [INFO] [stdout] c2124adb51cbde819034c16d65d8593a43091f255dc37f91716c625171a3fd0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d22de163243d73e4411ee6a5e7c07dc343961e3022e7eb736ce1411102527ce0 [INFO] running `Command { std: "docker" "start" "-a" "d22de163243d73e4411ee6a5e7c07dc343961e3022e7eb736ce1411102527ce0", kill_on_drop: false }` [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:22: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] [INFO] [stderr] warning: ctr_etc1@0.1.0: 22 | #pragma warning (disable: 4201) // nonstandard extension used : nameless struct/union [INFO] [stderr] warning: ctr_etc1@0.1.0: | [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In function 'rg_etc1::uint rg_etc1::etc1_decode_value(rg_etc1::uint, rg_etc1::uint, rg_etc1::uint, rg_etc1::uint)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:1883:42: warning: statement has no effect [-Wunused-value] [INFO] [stderr] warning: ctr_etc1@0.1.0: 1883 | const uint limit = diff ? 32 : 16; limit; [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In function 'rg_etc1::uint64 rg_etc1::pack_etc1_block_solid_color(rg_etc1::etc1_block&, const uint8*, rg_etc1::etc1_pack_params&)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:1945:7: warning: statement has no effect [-Wunused-value] [INFO] [stderr] warning: ctr_etc1@0.1.0: 1945 | pack_params; [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In function 'rg_etc1::uint rg_etc1::pack_etc1_block_solid_color_constrained(rg_etc1::etc1_optimizer::results&, rg_etc1::uint, const uint8*, rg_etc1::etc1_pack_params&, bool, const rg_etc1::color_quad_u8*)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2037:7: warning: statement has no effect [-Wunused-value] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2037 | pack_params; [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In function 'void rg_etc1::dither_block_555(rg_etc1::color_quad_u8*, const rg_etc1::color_quad_u8*)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2150:13: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct rg_etc1::color_quad_u8' with no trivial copy-assignment [-Wclass-memaccess] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2150 | memset(dest, 0xFF, sizeof(color_quad_u8)*16); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:57:11: note: 'struct rg_etc1::color_quad_u8' declared here [INFO] [stderr] warning: ctr_etc1@0.1.0: 57 | struct color_quad_u8 [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In function 'unsigned int rg_etc1::pack_etc1_block(void*, const unsigned int*, rg_etc1::etc1_pack_params&)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2256:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct rg_etc1::color_quad_u8' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2256 | memcpy(subblock_pixels, pSrc_pixels + subblock * 8, sizeof(color_quad_u8) * 8); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:57:11: note: 'struct rg_etc1::color_quad_u8' declared here [INFO] [stderr] warning: ctr_etc1@0.1.0: 57 | struct color_quad_u8 [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: In file included from etc1_encoder/src/rg_etc1.cpp:18: [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2367:94: warning: suggest parentheses around '&&' within '||' [-Wparentheses] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2367 | RG_ETC1_ASSERT(best_use_color4 || (rg_etc1::minimum(dr, dg, db) >= cETC1ColorDeltaMin) && (rg_etc1::maximum(dr, dg, db) <= cETC1ColorDeltaMax)); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2367:7: note: in expansion of macro 'RG_ETC1_ASSERT' [INFO] [stderr] warning: ctr_etc1@0.1.0: 2367 | RG_ETC1_ASSERT(best_use_color4 || (rg_etc1::minimum(dr, dg, db) >= cETC1ColorDeltaMin) && (rg_etc1::maximum(dr, dg, db) <= cETC1ColorDeltaMax)); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2377:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2377 | if (dr < 0) dr += 8; dst_block.m_bytes[0] = static_cast((best_results[0].m_block_color_unscaled.r << 3) | dr); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2377:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: ctr_etc1@0.1.0: 2377 | if (dr < 0) dr += 8; dst_block.m_bytes[0] = static_cast((best_results[0].m_block_color_unscaled.r << 3) | dr); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2378:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2378 | if (dg < 0) dg += 8; dst_block.m_bytes[1] = static_cast((best_results[0].m_block_color_unscaled.g << 3) | dg); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2378:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: ctr_etc1@0.1.0: 2378 | if (dg < 0) dg += 8; dst_block.m_bytes[1] = static_cast((best_results[0].m_block_color_unscaled.g << 3) | dg); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2379:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: ctr_etc1@0.1.0: 2379 | if (db < 0) db += 8; dst_block.m_bytes[2] = static_cast((best_results[0].m_block_color_unscaled.b << 3) | db); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:2379:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: ctr_etc1@0.1.0: 2379 | if (db < 0) db += 8; dst_block.m_bytes[2] = static_cast((best_results[0].m_block_color_unscaled.b << 3) | db); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: In file included from etc1_encoder/src/rg_etc1.cpp:18: [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp: In instantiation of 'T* rg_etc1::indirect_radix_sort(rg_etc1::uint, T*, T*, const Q*, rg_etc1::uint, rg_etc1::uint, bool) [with T = unsigned int; Q = short unsigned int; rg_etc1::uint = unsigned int]': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:1654:54: required from here [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:750:31: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] [INFO] [stderr] warning: ctr_etc1@0.1.0: 750 | RG_ETC1_ASSERT((key_ofs >= 0) && (key_ofs < sizeof(T))); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ~~~~~~~~~^~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/rg_etc1.cpp:750:7: note: in expansion of macro 'RG_ETC1_ASSERT' [INFO] [stderr] warning: ctr_etc1@0.1.0: 750 | RG_ETC1_ASSERT((key_ofs >= 0) && (key_ofs < sizeof(T))); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/etc1_encoder.cpp: In function 'void encodeETC1Block(int, int, const uint8_t*, uint8_t*)': [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/etc1_encoder.cpp:65:30: error: 'memcpy' is not a member of 'std'; did you mean 'wmemcpy'? [INFO] [stderr] warning: ctr_etc1@0.1.0: 65 | std::memcpy(ptrOut, &block, 8); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: | wmemcpy [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/etc1_encoder.cpp:70:25: error: '_byteswap_uint64' was not declared in this scope [INFO] [stderr] warning: ctr_etc1@0.1.0: 70 | block = _byteswap_uint64(block); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: etc1_encoder/src/etc1_encoder.cpp:71:22: error: 'memcpy' is not a member of 'std'; did you mean 'wmemcpy'? [INFO] [stderr] warning: ctr_etc1@0.1.0: 71 | std::memcpy(ptrOut, &block, 8); [INFO] [stderr] warning: ctr_etc1@0.1.0: | ^~~~~~ [INFO] [stderr] warning: ctr_etc1@0.1.0: | wmemcpy [INFO] [stderr] Compiling ctr_etc1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "d22de163243d73e4411ee6a5e7c07dc343961e3022e7eb736ce1411102527ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d22de163243d73e4411ee6a5e7c07dc343961e3022e7eb736ce1411102527ce0", kill_on_drop: false }` [INFO] [stdout] d22de163243d73e4411ee6a5e7c07dc343961e3022e7eb736ce1411102527ce0