[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.37-6/sources/1.36.0/gh/balvaldyr/ricex"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/balvaldyr/ricex'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/balvaldyr/ricex" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/balvaldyr/ricex"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/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.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of balvaldyr/ricex on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/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.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [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-07-23" "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.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing balvaldyr/ricex against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "build" "--frozen"` [INFO] [stdout] 234f8ee13da3fcce6ae97eca5475e8510d78a4e5553aa74b418b9c8003b9be1a [INFO] running `"docker" "start" "-a" "234f8ee13da3fcce6ae97eca5475e8510d78a4e5553aa74b418b9c8003b9be1a"` [INFO] [stderr] Compiling iup-sys v0.0.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.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 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: 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.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.ricex.5m7h1558-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d" "/opt/crater/target/debug/deps/ricex-781319bbe8c6746d.1y2i8rabg45fgyxn.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libstopwatch-90429a87ff515fc9.rlib" "/opt/crater/target/debug/deps/libnum-6e3e61f6bf645421.rlib" "/opt/crater/target/debug/deps/libnum_rational-f471059e1bfea269.rlib" "/opt/crater/target/debug/deps/libnum_complex-982f77e4ef563131.rlib" "/opt/crater/target/debug/deps/libnum_bigint-41c068385dc6364d.rlib" "/opt/crater/target/debug/deps/libtime-4355d8e50100aa43.rlib" "/opt/crater/target/debug/deps/libbyteorder-cff01e473fad35f8.rlib" "/opt/crater/target/debug/deps/libpalette-11d5551c6f900a2c.rlib" "/opt/crater/target/debug/deps/libphf-5137726eb111b7c3.rlib" "/opt/crater/target/debug/deps/libphf_shared-d2d3d37bc6b35b7b.rlib" "/opt/crater/target/debug/deps/libsiphasher-3800d550d1146963.rlib" "/opt/crater/target/debug/deps/libnum-ea55f17a1ddea2e0.rlib" "/opt/crater/target/debug/deps/libnum_rational-8cde9460cef05150.rlib" "/opt/crater/target/debug/deps/libnum_bigint-59c3d0d13cc433f5.rlib" "/opt/crater/target/debug/deps/librand-00e4c4fa1088f68e.rlib" "/opt/crater/target/debug/deps/libnum_complex-e9c9b6bb110468dc.rlib" "/opt/crater/target/debug/deps/librustc_serialize-04f5d71c016b4cf1.rlib" "/opt/crater/target/debug/deps/libnum_iter-119af297c543b436.rlib" "/opt/crater/target/debug/deps/libnum_integer-a81dd69c1c0fe133.rlib" "/opt/crater/target/debug/deps/libnum_traits-8c434304d2c544b1.rlib" "/opt/crater/target/debug/deps/libapprox-1fd7e0dde6480993.rlib" "/opt/crater/target/debug/deps/libkiss_ui-5a98b7150dcc1c59.rlib" "/opt/crater/target/debug/deps/libiup_sys-ad1510ed6793c572.rlib" "/opt/crater/target/debug/deps/liblibc-f3c88a91d9cbe10b.rlib" "/opt/crater/target/debug/deps/liblibc-e3ba75b536aabfa5.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9895e8982b0a79e7.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57306b8ed3378a0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-54463ae5adae3649.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d99667b199a9875a.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51f4300e102199f5.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b3ccf1f7737a6a91.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-157c37a3ceb78853.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-505bcee45aafb736.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c29abd529ba4452b.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-895383a3232f6572.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5594cb4f559bc761.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-38e90baf978bc428.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" "234f8ee13da3fcce6ae97eca5475e8510d78a4e5553aa74b418b9c8003b9be1a"` [INFO] running `"docker" "rm" "-f" "234f8ee13da3fcce6ae97eca5475e8510d78a4e5553aa74b418b9c8003b9be1a"` [INFO] [stdout] 234f8ee13da3fcce6ae97eca5475e8510d78a4e5553aa74b418b9c8003b9be1a