[INFO] updating cached repository balvaldyr/ricex [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/balvaldyr/ricex [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/balvaldyr/ricex" "work/ex/beta-1.38-1/sources/1.37.0/gh/balvaldyr/ricex"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/balvaldyr/ricex'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/balvaldyr/ricex" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/balvaldyr/ricex"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of balvaldyr/ricex on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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/beta-1.38-1/sources/1.37.0/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/beta-1.38-1/sources/beta-2019-08-13/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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "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" "+beta-2019-08-13" "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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing balvaldyr/ricex against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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=warn" "-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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 2c637191e1fd73b87203e3c549c0c73231afa92ab3931967896055bb740572ea [INFO] running `"docker" "start" "-a" "2c637191e1fd73b87203e3c549c0c73231afa92ab3931967896055bb740572ea"` [INFO] [stderr] Compiling iup-sys v0.0.3 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling palette v0.2.1 [INFO] [stderr] Compiling kiss-ui v0.1.0 (https://github.com/KISS-UI/kiss-ui#074bf82d) [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling stopwatch v0.0.6 [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/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.ricex.6jn03fgz-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675" "/opt/crater/target/debug/deps/ricex-0632a0b638de2675.12vqkdhgfmdyi7ul.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libstopwatch-b81212f2a8116917.rlib" "/opt/crater/target/debug/deps/libnum-ad74a9df56806dae.rlib" "/opt/crater/target/debug/deps/libnum_rational-c8b7ebee6e138fef.rlib" "/opt/crater/target/debug/deps/libnum_complex-67ae269179599ea7.rlib" "/opt/crater/target/debug/deps/libnum_bigint-53c2537e33831380.rlib" "/opt/crater/target/debug/deps/libtime-29b9853d922d9d06.rlib" "/opt/crater/target/debug/deps/libbyteorder-6625e79c2e8ceba8.rlib" "/opt/crater/target/debug/deps/libpalette-ba9095e2a683b196.rlib" "/opt/crater/target/debug/deps/libphf-6a988f63427a513e.rlib" "/opt/crater/target/debug/deps/libphf_shared-d59b78f17b7eeb54.rlib" "/opt/crater/target/debug/deps/libsiphasher-d8c9cc1cc66f074e.rlib" "/opt/crater/target/debug/deps/libnum-e63d53c314fbbd58.rlib" "/opt/crater/target/debug/deps/libnum_rational-e30c67c8b728c84e.rlib" "/opt/crater/target/debug/deps/libnum_bigint-a73e158724f6314f.rlib" "/opt/crater/target/debug/deps/librand-a2977b71a5d1a0ed.rlib" "/opt/crater/target/debug/deps/libnum_complex-527c400245fd80b7.rlib" "/opt/crater/target/debug/deps/librustc_serialize-cc29b8ffd74fbfca.rlib" "/opt/crater/target/debug/deps/libnum_iter-710c4cd4b54241c7.rlib" "/opt/crater/target/debug/deps/libnum_integer-e8e7d1ec85b23cb1.rlib" "/opt/crater/target/debug/deps/libnum_traits-d11dcc7883adaecb.rlib" "/opt/crater/target/debug/deps/libapprox-006b105747eba6fa.rlib" "/opt/crater/target/debug/deps/libkiss_ui-1f3caa763c22d028.rlib" "/opt/crater/target/debug/deps/libiup_sys-6385c7b1404f4e92.rlib" "/opt/crater/target/debug/deps/liblibc-aafb0c5c9e710352.rlib" "/opt/crater/target/debug/deps/liblibc-d019039477cac03b.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.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" "2c637191e1fd73b87203e3c549c0c73231afa92ab3931967896055bb740572ea"` [INFO] running `"docker" "rm" "-f" "2c637191e1fd73b87203e3c549c0c73231afa92ab3931967896055bb740572ea"` [INFO] [stdout] 2c637191e1fd73b87203e3c549c0c73231afa92ab3931967896055bb740572ea