[INFO] cloning repository https://github.com/c2d7fa/squaretillery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c2d7fa/squaretillery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc2d7fa%2Fsquaretillery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc2d7fa%2Fsquaretillery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fa34090d4a0724934de6197122cf83fcb2af036 [INFO] testing c2d7fa/squaretillery against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc2d7fa%2Fsquaretillery" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/c2d7fa/squaretillery [INFO] finished tweaking git repo https://github.com/c2d7fa/squaretillery [INFO] tweaked toml for git repo https://github.com/c2d7fa/squaretillery written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/c2d7fa/squaretillery 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] crate git repo https://github.com/c2d7fa/squaretillery 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_xorshift v0.1.1 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded rand_pcg v0.1.2 [INFO] [stderr] Downloaded rand_chacha v0.1.1 [INFO] [stderr] Downloaded rand_hc v0.1.0 [INFO] [stderr] Downloaded c2-chacha v0.2.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.5 [INFO] [stderr] Downloaded num-traits v0.2.8 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded wasi v0.5.0 [INFO] [stderr] Downloaded rand v0.7.0 [INFO] [stderr] Downloaded rand v0.6.5 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] [stderr] Downloaded bitflags v1.1.0 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded getrandom v0.1.11 [INFO] [stderr] Downloaded num-iter v0.1.39 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded rand_isaac v0.1.1 [INFO] [stderr] Downloaded autocfg v0.1.6 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded libc v0.2.62 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1640bf7ad7c4415cce409fea0baef6a4307f93f118aec4219f3292e0a4769ce0 [INFO] running `Command { std: "docker" "start" "-a" "1640bf7ad7c4415cce409fea0baef6a4307f93f118aec4219f3292e0a4769ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1640bf7ad7c4415cce409fea0baef6a4307f93f118aec4219f3292e0a4769ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1640bf7ad7c4415cce409fea0baef6a4307f93f118aec4219f3292e0a4769ce0", kill_on_drop: false }` [INFO] [stdout] 1640bf7ad7c4415cce409fea0baef6a4307f93f118aec4219f3292e0a4769ce0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 95b2456413b92895bb7c9451b55e688492ebdcc2fb8d862ff3c13ffade5f5f4c [INFO] running `Command { std: "docker" "start" "-a" "95b2456413b92895bb7c9451b55e688492ebdcc2fb8d862ff3c13ffade5f5f4c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling squaretillery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/game.rs:301:50 [INFO] [stdout] | [INFO] [stdout] 301 | enum SuitSimilarity { None, Color, Suit }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/game.rs:218:56 [INFO] [stdout] | [INFO] [stdout] 218 | let mut result: [[Pile; 5]; 5] = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/game.rs:220:54 [INFO] [stdout] | [INFO] [stdout] 220 | let mut value: [Pile; 5] = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[[Pile; 5]; 5]` does not permit being left uninitialized [INFO] [stdout] --> src/game.rs:218:46 [INFO] [stdout] | [INFO] [stdout] 218 | let mut result: [[Pile; 5]; 5] = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: `alloc::raw_vec::RawVec` must be initialized inside its custom valid range (in this struct field) [INFO] [stdout] --> src/game.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | cards: Vec, // NOTE: The top of the pile is at the back. [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: because `alloc::raw_vec::RawVecInner` must be initialized inside its custom valid range [INFO] [stdout] = note: `std::ptr::Unique` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[Pile; 5]` does not permit being left uninitialized [INFO] [stdout] --> src/game.rs:220:44 [INFO] [stdout] | [INFO] [stdout] 220 | let mut value: [Pile; 5] = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: `alloc::raw_vec::RawVec` must be initialized inside its custom valid range (in this struct field) [INFO] [stdout] --> src/game.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | cards: Vec, // NOTE: The top of the pile is at the back. [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: because `alloc::raw_vec::RawVecInner` must be initialized inside its custom valid range [INFO] [stdout] = note: `std::ptr::Unique` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcBG4dBC/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libsdl2-12aad6f7423e0240.rlib,librand-4326c62a62ee749f.rlib,librand_xorshift-53e86778f5ce919e.rlib,librand_pcg-8cbb4b26085e07f7.rlib,librand_hc-6dc516f61621a2e6.rlib,librand_chacha-30ebc35f8473726b.rlib,librand_isaac-047a883fcf14d827.rlib,librand_core-f95d039c327d494d.rlib,librand_os-e9c3d7579384a93f.rlib,librand_jitter-b5788f9d55ce55e9.rlib,librand_core-5dd93ed12702f197.rlib,libsdl2_sys-20fd57e3f084af7b.rlib}.rlib" "-lSDL2" "-lSDL2_ttf" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbitflags-68dcc24f5d6d2c0a.rlib,libnum-30bbc993b855edc0.rlib,libnum_iter-e4e206d5f2e1c398.rlib,libnum_integer-96ad272a9cc90492.rlib,libnum_traits-42677646cb100005.rlib,librand-02fa43d29a2207fe.rlib,librand_chacha-9549fc7b2c2cb362.rlib,libc2_chacha-cf94adc7219d5724.rlib,libppv_lite86-d2b6008f6a6cb16f.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,librand_core-a39c1df2315bb3d2.rlib,libgetrandom-fc696dc70b31e6ae.rlib,liblibc-46f3b98612db1c39.rlib,libcfg_if-5f8284c8b6f04027.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcBG4dBC/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/squaretillery-c0d69cffe3497ab1" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `squaretillery` (bin "squaretillery") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "95b2456413b92895bb7c9451b55e688492ebdcc2fb8d862ff3c13ffade5f5f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b2456413b92895bb7c9451b55e688492ebdcc2fb8d862ff3c13ffade5f5f4c", kill_on_drop: false }` [INFO] [stdout] 95b2456413b92895bb7c9451b55e688492ebdcc2fb8d862ff3c13ffade5f5f4c