[INFO] cloning repository manesho/rustyising [INFO] running `"git" "clone" "--bare" "git://github.com/manesho/rustyising.git" "work/cache/sources/gh/manesho/rustyising"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/manesho/rustyising'... [INFO] running `"git" "clone" "work/cache/sources/gh/manesho/rustyising" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/manesho/rustyising"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/manesho/rustyising'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/manesho/rustyising" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/manesho/rustyising"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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 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 manesho/rustyising 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 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/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/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/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/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" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl v0.3.6 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing manesho/rustyising against master#c8865d8e195813ade6b84434ac9f8850e7112d1a for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-3/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/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=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] 21046558ffb16901082066cfcbbb485e3bfab88fff101e5e402e30034ba39953 [INFO] running `"docker" "start" "-a" "21046558ffb16901082066cfcbbb485e3bfab88fff101e5e402e30034ba39953"` [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/c8865d8e195813ade6b84434ac9f8850e7112d1a-alt/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.rustyising.3jryxgot-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec" "/opt/crater/target/debug/deps/rustyising-500a4f42e3b5c4ec.4jdhxz84lopjpiaa.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/libsdl-958cc1ecd2120675.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/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/librand-9e5f54143eb8302c.rlib" "/opt/crater/target/debug/deps/librand-d1726427a7cd4c62.rlib" "/opt/crater/target/debug/deps/liblibc-6bc17c2883fdbd0a.rlib" "/opt/crater/target/debug/deps/librand-d44eb7b09f5ce683.rlib" "/opt/crater/target/debug/deps/librand_xorshift-d080cc8ec1ae59bd.rlib" "/opt/crater/target/debug/deps/librand_pcg-4a93ded8a6ae0b28.rlib" "/opt/crater/target/debug/deps/librand_hc-69e1c68d172b69f5.rlib" "/opt/crater/target/debug/deps/librand_chacha-166a631d59d508da.rlib" "/opt/crater/target/debug/deps/librand_isaac-2264ac2807e16d27.rlib" "/opt/crater/target/debug/deps/librand_core-c3a3ab401d39eca6.rlib" "/opt/crater/target/debug/deps/librand_os-f71da36102cb96cf.rlib" "/opt/crater/target/debug/deps/liblibc-2be231e10ed03565.rlib" "/opt/crater/target/debug/deps/librand_jitter-4b8d45d53bb1cef5.rlib" "/opt/crater/target/debug/deps/librand_core-161e0a90fc629c56.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" "-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" "21046558ffb16901082066cfcbbb485e3bfab88fff101e5e402e30034ba39953"` [INFO] running `"docker" "rm" "-f" "21046558ffb16901082066cfcbbb485e3bfab88fff101e5e402e30034ba39953"` [INFO] [stdout] 21046558ffb16901082066cfcbbb485e3bfab88fff101e5e402e30034ba39953