[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.38-1/sources/1.37.0/gh/manesho/rustyising"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/manesho/rustyising'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/manesho/rustyising" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/manesho/rustyising"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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.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 manesho/rustyising 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 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.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/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.37.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.38-1/sources/1.37.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.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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] 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 manesho/rustyising against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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-08-13" "build" "--frozen"` [INFO] [stdout] a6fcf4b4dd3beecaa43c4aef0d2b8405b395175531951dc33f538eb81e2eebf0 [INFO] running `"docker" "start" "-a" "a6fcf4b4dd3beecaa43c4aef0d2b8405b395175531951dc33f538eb81e2eebf0"` [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-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.rustyising.r258qse3-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5" "/opt/crater/target/debug/deps/rustyising-e360a4be6fe576a5.1bbnkseviwmrbyim.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-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libsdl-f1e5f4e2f208b24a.rlib" "/opt/crater/target/debug/deps/libnum-b4d439dec8b9f3a4.rlib" "/opt/crater/target/debug/deps/libnum_rational-3e9ad4cac53e6eaf.rlib" "/opt/crater/target/debug/deps/libnum_bigint-e391ce4d5e227144.rlib" "/opt/crater/target/debug/deps/libnum_complex-fde456084da6af7a.rlib" "/opt/crater/target/debug/deps/librustc_serialize-fc0a027b4489f806.rlib" "/opt/crater/target/debug/deps/libnum_iter-28b38f13f9916d21.rlib" "/opt/crater/target/debug/deps/libnum_integer-d96dd1015ac621b3.rlib" "/opt/crater/target/debug/deps/libnum_traits-64f50821abf23d98.rlib" "/opt/crater/target/debug/deps/librand-5eda43279f0ef45c.rlib" "/opt/crater/target/debug/deps/librand-7efbcbd89944bda6.rlib" "/opt/crater/target/debug/deps/liblibc-c4bf5ff2ab21da58.rlib" "/opt/crater/target/debug/deps/librand-8b15411866abd9f1.rlib" "/opt/crater/target/debug/deps/librand_chacha-7ab0375c8e73b81e.rlib" "/opt/crater/target/debug/deps/libc2_chacha-f16892c13faa6da1.rlib" "/opt/crater/target/debug/deps/libppv_lite86-d642cb1e0049ec58.rlib" "/opt/crater/target/debug/deps/liblazy_static-1f7a4359e40a6da9.rlib" "/opt/crater/target/debug/deps/librand_core-b98b73c4d658421f.rlib" "/opt/crater/target/debug/deps/libgetrandom-4696f98276bb287c.rlib" "/opt/crater/target/debug/deps/liblibc-37f3d1c853b3b7bd.rlib" "/opt/crater/target/debug/deps/libcfg_if-c978b2f886ff1de7.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1d6d86bd078a28e9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e9721e46a424e2a9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-c07193698f282147.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6da45690f3863086.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-690797036dd27680.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d3896ccbfd8eda2b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7cccc3739e3d7623.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5e9ba178a513cd29.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-5ca9f83bf63d1f4b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bba1c7ef9e950882.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e23c9de62012deb5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9b59dffdcd513d5d.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-17392340ab2e4a97.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ac21508a81e3f7f3.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" "a6fcf4b4dd3beecaa43c4aef0d2b8405b395175531951dc33f538eb81e2eebf0"` [INFO] running `"docker" "rm" "-f" "a6fcf4b4dd3beecaa43c4aef0d2b8405b395175531951dc33f538eb81e2eebf0"` [INFO] [stdout] a6fcf4b4dd3beecaa43c4aef0d2b8405b395175531951dc33f538eb81e2eebf0