[INFO] updating cached repository https://github.com/manesho/rustyising
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] b037297b199d2faa153d9e057ea65b493bd94d78
[INFO] testing manesho/rustyising against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanesho%2Frustyising" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/manesho/rustyising on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/manesho/rustyising
[INFO] removed path dependency sdl from git repo https://github.com/manesho/rustyising
[INFO] finished tweaking git repo https://github.com/manesho/rustyising
[INFO] tweaked toml for git repo https://github.com/manesho/rustyising written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/manesho/rustyising already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0d9462fa41fb36b1f0e966136d384534827b72d6ee96888a0228bc3ddcf32127
[INFO] running `"docker" "start" "-a" "0d9462fa41fb36b1f0e966136d384534827b72d6ee96888a0228bc3ddcf32127"`
[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/rustwide/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/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.rustyising.4ktllay7-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250" "/opt/rustwide/target/debug/deps/rustyising-51ba44c2bec15250.1jhu4nzxrnxl1blt.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl-0edbc29ee483db7c.rlib" "/opt/rustwide/target/debug/deps/libnum-86b5e19d6a44c089.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-0ac57d881bdd10da.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-5d8cfd1e7926088a.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-c2e5ce26d8200d82.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-3e447be9c078b614.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-6f59dedf4ebc8cdd.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-502132c24428c9b8.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-45b4ba16ebd3e1b3.rlib" "/opt/rustwide/target/debug/deps/librand-fc9b74ba9dba2f3c.rlib" "/opt/rustwide/target/debug/deps/librand-eed103f64b64f067.rlib" "/opt/rustwide/target/debug/deps/liblibc-a396abb25c153217.rlib" "/opt/rustwide/target/debug/deps/librand-6a4a386accc9e395.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-ef5c40416b5bfed1.rlib" "/opt/rustwide/target/debug/deps/libc2_chacha-ee08fcc944a1f645.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-c699edc6fc9496b3.rlib" "/opt/rustwide/target/debug/deps/librand_core-5abd76b7e6c7e7f5.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-fb69a24e657bccd5.rlib" "/opt/rustwide/target/debug/deps/liblibc-52f675a24655d4b8.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-5ce6f5a306c8ebd7.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-74488c47a41eb313.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-efbc2c947951b8cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b177382d9a04ffbe.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ba7d2244d33447d5.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-39569dc87e4ea301.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cd9e255bd82ddb5c.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f83165e777dccb8d.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-10b085de263b1750.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9a4a22edf44da957.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-68fabc677efa98de.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-026dc0061b48e8b6.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7bf75bb619341145.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ef54709e300503ed.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4ed27d8420cb4abc.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" "0d9462fa41fb36b1f0e966136d384534827b72d6ee96888a0228bc3ddcf32127"`
[INFO] running `"docker" "rm" "-f" "0d9462fa41fb36b1f0e966136d384534827b72d6ee96888a0228bc3ddcf32127"`
[INFO] [stdout] 0d9462fa41fb36b1f0e966136d384534827b72d6ee96888a0228bc3ddcf32127
