[INFO] updating cached repository manesho/rustyising [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/manesho/rustyising [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/manesho/rustyising" "work/ex/beta-1.37-6/sources/1.36.0/gh/manesho/rustyising"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/manesho/rustyising'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/manesho/rustyising" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/manesho/rustyising"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/manesho/rustyising'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b037297b199d2faa153d9e057ea65b493bd94d78 [INFO] sha for GitHub repo manesho/rustyising: b037297b199d2faa153d9e057ea65b493bd94d78 [INFO] validating manifest of manesho/rustyising 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 manesho/rustyising 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 manesho/rustyising [INFO] removed path dependency sdl from manesho/rustyising [INFO] finished frobbing manesho/rustyising [INFO] frobbed toml for manesho/rustyising written to work/ex/beta-1.37-6/sources/1.36.0/gh/manesho/rustyising/Cargo.toml [INFO] started frobbing manesho/rustyising [INFO] removed path dependency sdl from manesho/rustyising [INFO] finished frobbing manesho/rustyising [INFO] frobbed toml for manesho/rustyising written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/manesho/rustyising/Cargo.toml [INFO] crate manesho/rustyising 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] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/manesho/rustyising/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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 manesho/rustyising against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/manesho/rustyising:/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" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] 4f7b8cdc2a1e1c11ba77b13234b31238668e7899477e426ba86a58f0ae5078dc [INFO] running `"docker" "start" "-a" "4f7b8cdc2a1e1c11ba77b13234b31238668e7899477e426ba86a58f0ae5078dc"` [INFO] [stderr] warning: dependency (sdl) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling sdl v0.3.6 [INFO] [stderr] Compiling rustyising v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `geometry` [INFO] [stderr] --> src/algorithms.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use geometry; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/algorithms.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | if ((!self.isdiscovered[nb]) && [INFO] [stderr] | ________________^ [INFO] [stderr] 39 | | m.spins[nb] == m.spins[ri]){ [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 38 | if (!self.isdiscovered[nb]) && [INFO] [stderr] 39 | m.spins[nb] == m.spins[ri]{ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | for i in 0..200{ [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | for i in 0..5{ [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:89:29 [INFO] [stderr] | [INFO] [stderr] 89 | for i in 0..n{ [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | for i in 0..1000{ [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:117:13 [INFO] [stderr] | [INFO] [stderr] 117 | for i in 0..20{ [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:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | let mut lat = geometry::Lattice::new(&sizes); [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: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | let mut lat = geometry::Lattice::new(&sizes); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/geometry.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let mut numsites:i32 = sizes.iter().product(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/geometry.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | let mut cx = Lattice::index2coords(i,&sizes); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/models.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | let mut spins = vec![1; lattice.numsites as usize]; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/algorithms.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | let mut isdiscovered = vec![false; m.lattice.numsites as usize]; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `asci_print` [INFO] [stderr] --> src/models.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn asci_print(& mut self){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `main2` [INFO] [stderr] --> src/main.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | fn main2() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/models.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | stdout().flush(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [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/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.rustyising.5v22jgqf-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a" "/opt/crater/target/debug/deps/rustyising-cceafbf26b1c998a.36swa9pv62999h7v.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libsdl-c8cd023b356bdbcc.rlib" "/opt/crater/target/debug/deps/libnum-56232bbc3481d7e4.rlib" "/opt/crater/target/debug/deps/libnum_rational-4b67caa4c49810a7.rlib" "/opt/crater/target/debug/deps/libnum_bigint-1fd4b19cd24ff983.rlib" "/opt/crater/target/debug/deps/libnum_complex-2c45d74b57ccfed4.rlib" "/opt/crater/target/debug/deps/librustc_serialize-349ba31664dfb847.rlib" "/opt/crater/target/debug/deps/libnum_iter-6aa8c2e263944e3d.rlib" "/opt/crater/target/debug/deps/libnum_integer-35be16e7600d6cb9.rlib" "/opt/crater/target/debug/deps/libnum_traits-04277105b9bd2221.rlib" "/opt/crater/target/debug/deps/librand-e08ba8aab010d886.rlib" "/opt/crater/target/debug/deps/librand-12c0152561214ea4.rlib" "/opt/crater/target/debug/deps/liblibc-a21dc24c6709badb.rlib" "/opt/crater/target/debug/deps/librand-4ee038089fec5f57.rlib" "/opt/crater/target/debug/deps/librand_chacha-e5d1d566b0531f8c.rlib" "/opt/crater/target/debug/deps/libc2_chacha-1f9cf6f488c16699.rlib" "/opt/crater/target/debug/deps/libppv_lite86-cf2c70c3aa37fdda.rlib" "/opt/crater/target/debug/deps/liblazy_static-6a4e8ea56a445919.rlib" "/opt/crater/target/debug/deps/librand_core-bf1c292b15418041.rlib" "/opt/crater/target/debug/deps/libgetrandom-607dd4bc476454ca.rlib" "/opt/crater/target/debug/deps/liblibc-15b143653abd1ffe.rlib" "/opt/crater/target/debug/deps/libcfg_if-17244d8fcea476bd.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a80a1e8e09cafef8.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e0e6351da805c468.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-e04f54bafc95e331.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-67901d3322495bd5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-bd390b1abaceaec1.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-312dd37fdc7bedfc.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8ed0e51d58d644a3.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-8a423c320a6c707f.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-d6a95598e2238263.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d231614b153016eb.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-3821619027f463e4.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-1cfd794d18771a44.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-dcf33cf10c2452ef.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-c258fea34bf64bce.rlib" "-Wl,-Bdynamic" "-lSDL" "-lc" "-lm" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL [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 `rustyising`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4f7b8cdc2a1e1c11ba77b13234b31238668e7899477e426ba86a58f0ae5078dc"` [INFO] running `"docker" "rm" "-f" "4f7b8cdc2a1e1c11ba77b13234b31238668e7899477e426ba86a58f0ae5078dc"` [INFO] [stdout] 4f7b8cdc2a1e1c11ba77b13234b31238668e7899477e426ba86a58f0ae5078dc