[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.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanesho%2Frustyising" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/manesho/rustyising on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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-5/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.44.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-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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.44.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] c5b90c3100a2f57577a2950c9b56a1c4c7f8b503111a737aba320271151b9e55 [INFO] running `"docker" "start" "-a" "c5b90c3100a2f57577a2950c9b56a1c4c7f8b503111a737aba320271151b9e55"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling sdl v0.3.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [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: if this is intentional, prefix it 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: if this is intentional, prefix it 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: if this is intentional, prefix it 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: if this is intentional, prefix it 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: if this is intentional, prefix it 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:4 [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.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.rustyising.7zjyg4cr-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43" "/opt/rustwide/target/debug/deps/rustyising-ed9db8b07e704b43.2weisb5u63j1vtr.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl-0327c2d0a6fb5585.rlib" "/opt/rustwide/target/debug/deps/libnum-9a49abb5dc704d82.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-d5f3174cc8dea53d.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-c5436fe0f5c21211.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-26062967b4ad0b72.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-93a3205e411ff51e.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-b9e9804583109253.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-83e1cc8b78a53297.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-ddc6fba6583d3d3e.rlib" "/opt/rustwide/target/debug/deps/librand-22efe9ef3c114fa7.rlib" "/opt/rustwide/target/debug/deps/librand-bb807c742746e684.rlib" "/opt/rustwide/target/debug/deps/liblibc-789e836d4fd44939.rlib" "/opt/rustwide/target/debug/deps/librand-76e34f11f20ec390.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-1c49bee79fc6ebcf.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-d6e416a918eb1afe.rlib" "/opt/rustwide/target/debug/deps/librand_core-4d3ec403c5f54cf7.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-0878db7961a90168.rlib" "/opt/rustwide/target/debug/deps/liblibc-e4dfce483ea4fe1d.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-c207894dabf2ad2d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-205127404fcba336.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a657948fb7763780.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-4af901391177f653.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-9bdd51edf637d1e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-df9a9630b2ea2e1e.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fddbfe63d5cc9339.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dc1fcc6e43806791.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2f4bff19e00107e.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a152d13c1d7ed405.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d92b841792fc008d.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a64c249515c023f5.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-57654524b3e40c00.rlib" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-72180f1527a726a2.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.44.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-990cc8f4a91a3ab4.rlib" "-Wl,-Bdynamic" "-lSDL" "-lc" "-lm" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-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; 17 warnings emitted [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" "c5b90c3100a2f57577a2950c9b56a1c4c7f8b503111a737aba320271151b9e55"` [INFO] running `"docker" "rm" "-f" "c5b90c3100a2f57577a2950c9b56a1c4c7f8b503111a737aba320271151b9e55"` [INFO] [stdout] c5b90c3100a2f57577a2950c9b56a1c4c7f8b503111a737aba320271151b9e55