[INFO] cloning repository balvaldyr/ricex [INFO] running `"git" "clone" "--bare" "git://github.com/balvaldyr/ricex.git" "work/cache/sources/gh/balvaldyr/ricex"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/balvaldyr/ricex'... [INFO] running `"git" "clone" "work/cache/sources/gh/balvaldyr/ricex" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/balvaldyr/ricex"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/balvaldyr/ricex'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/balvaldyr/ricex" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/balvaldyr/ricex"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/balvaldyr/ricex'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f61ac4c35ba5013ff33409a923de21ecc99da842 [INFO] sha for GitHub repo balvaldyr/ricex: f61ac4c35ba5013ff33409a923de21ecc99da842 [INFO] validating manifest of balvaldyr/ricex on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of balvaldyr/ricex on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing balvaldyr/ricex [INFO] finished frobbing balvaldyr/ricex [INFO] frobbed toml for balvaldyr/ricex written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/balvaldyr/ricex/Cargo.toml [INFO] started frobbing balvaldyr/ricex [INFO] finished frobbing balvaldyr/ricex [INFO] frobbed toml for balvaldyr/ricex written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/balvaldyr/ricex/Cargo.toml [INFO] crate balvaldyr/ricex already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating git repository `https://github.com/KISS-UI/kiss-ui` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/balvaldyr/ricex/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/KISS-UI/kiss-ui` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/KISS-UI/kiss-ui` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing balvaldyr/ricex against master#c8865d8e195813ade6b84434ac9f8850e7112d1a for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-0/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/balvaldyr/ricex:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "build" "--frozen"` [INFO] [stdout] 2c8d0e8e459b37532da9214569fcd49988cca9a8723e016fa7c43397a247adb2 [INFO] running `"docker" "start" "-a" "2c8d0e8e459b37532da9214569fcd49988cca9a8723e016fa7c43397a247adb2"` [INFO] [stderr] Compiling iup-sys v0.0.3 [INFO] [stderr] Compiling palette v0.2.1 [INFO] [stderr] Compiling stopwatch v0.0.6 [INFO] [stderr] Compiling kiss-ui v0.1.0 (https://github.com/KISS-UI/kiss-ui#074bf82d) [INFO] [stderr] Compiling ricex v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `DirEntry` [INFO] [stderr] --> src/main.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | use std::fs::{self, File, DirEntry, ReadDir}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/main.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jpeg_enc::*` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use jpeg_enc::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::*` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use image::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bmp::*` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use bmp::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `IntoColor` [INFO] [stderr] --> src/image.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | use palette::{Color, Rgb, IntoColor}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `palette::pixel::RgbPixel` [INFO] [stderr] --> src/image.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use palette::pixel::RgbPixel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/image.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | n @ 0.0 ... 1.0 => (255.0 * n).round() as u8, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: #[warn(ellipsis_inclusive_range_patterns)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bmp.rs:70:27 [INFO] [stderr] | [INFO] [stderr] 70 | let row_iterator: Box> = match image_height.is_positive() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/image.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | n @ 0.0 ... 1.0 => (255.0 * n).round() as u8, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(illegal_floating_point_literal_pattern)] on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/image.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | n @ 0.0 ... 1.0 => (255.0 * n).round() as u8, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/main.rs:79:15 [INFO] [stderr] | [INFO] [stderr] 79 | let mut file = match File::create(&path) { [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_file` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/jpeg_enc.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn save_to_jpeg(f : & mut File, i : &Image) { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/jpeg_enc.rs:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn save_to_jpeg(f : & mut File, i : &Image) { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:79:11 [INFO] [stderr] | [INFO] [stderr] 79 | let mut file = match File::create(&path) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/image.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | n @ 0.0 ... 1.0 => (255.0 * n).round() as u8, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.ricex.blhkma8l-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67" "/opt/crater/target/debug/deps/ricex-3ff0b2bc4a245b67.2gok6x5ccbpk8qya.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libstopwatch-cdb8a740ecf47d4f.rlib" "/opt/crater/target/debug/deps/libnum-a27b4d154a506b4f.rlib" "/opt/crater/target/debug/deps/libnum_rational-2d072dcf654466ba.rlib" "/opt/crater/target/debug/deps/libnum_complex-f1f1548a4d6d8cf4.rlib" "/opt/crater/target/debug/deps/libnum_bigint-d0401b626a5e0fe4.rlib" "/opt/crater/target/debug/deps/libtime-090696ea0a79ecae.rlib" "/opt/crater/target/debug/deps/libbyteorder-30b05188a3dbb175.rlib" "/opt/crater/target/debug/deps/libpalette-f9141194c1754548.rlib" "/opt/crater/target/debug/deps/libphf-9ce7c498a46d80d6.rlib" "/opt/crater/target/debug/deps/libphf_shared-434e4805ae6bc6a2.rlib" "/opt/crater/target/debug/deps/libsiphasher-b6da2f0f1754471b.rlib" "/opt/crater/target/debug/deps/libnum-9c96de22a1a667fa.rlib" "/opt/crater/target/debug/deps/libnum_rational-48544f039dcc8e40.rlib" "/opt/crater/target/debug/deps/libnum_bigint-26210f93bc07c012.rlib" "/opt/crater/target/debug/deps/librand-d1726427a7cd4c62.rlib" "/opt/crater/target/debug/deps/libnum_complex-2f090990cbf5ed92.rlib" "/opt/crater/target/debug/deps/librustc_serialize-ec5d6f68ad470a46.rlib" "/opt/crater/target/debug/deps/libnum_iter-758d68271c590b8e.rlib" "/opt/crater/target/debug/deps/libnum_integer-41408ea3566d61d2.rlib" "/opt/crater/target/debug/deps/libnum_traits-eba28d25d0fd935d.rlib" "/opt/crater/target/debug/deps/libapprox-88b2b028f4314247.rlib" "/opt/crater/target/debug/deps/libkiss_ui-f3fb508461ca3c60.rlib" "/opt/crater/target/debug/deps/libiup_sys-801c06821b77e9ae.rlib" "/opt/crater/target/debug/deps/liblibc-6bc17c2883fdbd0a.rlib" "/opt/crater/target/debug/deps/liblibc-2be231e10ed03565.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5eb7072357e3f704.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-be57a0a20ef83edc.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-53ea5c4d1e8787c5.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-90a03fea645d1ca0.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d0be8ec5eb12a622.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-c9bd1ed65ad5f9b5.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-232a620458cbc142.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-378c2daa95643520.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b1ad0e3b0cafff9a.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bd92551ef79ec0f7.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6f92150ede6dcf89.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5d5836de4a922af7.rlib" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0bd990bd23dec0da.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5a50a9afbc6d167.rlib" "-Wl,-Bdynamic" "-liup" "-lc" "-lm" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -liup [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `ricex`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2c8d0e8e459b37532da9214569fcd49988cca9a8723e016fa7c43397a247adb2"` [INFO] running `"docker" "rm" "-f" "2c8d0e8e459b37532da9214569fcd49988cca9a8723e016fa7c43397a247adb2"` [INFO] [stdout] 2c8d0e8e459b37532da9214569fcd49988cca9a8723e016fa7c43397a247adb2