[INFO] updating cached repository https://github.com/manesho/rustyising [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b037297b199d2faa153d9e057ea65b493bd94d78 [INFO] testing manesho/rustyising against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanesho%2Frustyising" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/manesho/rustyising on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-10/source/Cargo.toml [INFO] crate git repo https://github.com/manesho/rustyising already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-10/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] add0b4c706f64e23587eb7a8597960d9cb2c20f1479555f02c614fb1991b8eea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "add0b4c706f64e23587eb7a8597960d9cb2c20f1479555f02c614fb1991b8eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "add0b4c706f64e23587eb7a8597960d9cb2c20f1479555f02c614fb1991b8eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add0b4c706f64e23587eb7a8597960d9cb2c20f1479555f02c614fb1991b8eea", kill_on_drop: false }` [INFO] [stdout] add0b4c706f64e23587eb7a8597960d9cb2c20f1479555f02c614fb1991b8eea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b22a95a3374e4ec52382c9afd36b98c927ca4bd937977c96d051f5c8e87f5230 [INFO] running `Command { std: "docker" "start" "-a" "b22a95a3374e4ec52382c9afd36b98c927ca4bd937977c96d051f5c8e87f5230", kill_on_drop: false }` [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 libc v0.1.12 [INFO] [stderr] Compiling sdl v0.3.6 [INFO] [stderr] Compiling rustyising v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geometry` [INFO] [stdout] --> src/algorithms.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use geometry; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/algorithms.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | if ((!self.isdiscovered[nb]) && [INFO] [stdout] | ________________^ [INFO] [stdout] 39 | | m.spins[nb] == m.spins[ri]){ [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 | if (!self.isdiscovered[nb]) && [INFO] [stdout] 39 | m.spins[nb] == m.spins[ri] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | for i in 0..200{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | for i in 0..5{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | for i in 0..n{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | for i in 0..1000{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | for i in 0..20{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | let mut lat = geometry::Lattice::new(&sizes); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut lat = geometry::Lattice::new(&sizes); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/geometry.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut numsites:i32 = sizes.iter().product(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/geometry.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut cx = Lattice::index2coords(i,&sizes); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | let mut spins = vec![1; lattice.numsites as usize]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithms.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut isdiscovered = vec![false; m.lattice.numsites as usize]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `asci_print` [INFO] [stdout] --> src/models.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn asci_print(& mut self){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main2` [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn main2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/models.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.rustyising.37p7032p-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05" "/opt/rustwide/target/debug/deps/rustyising-a9be984cc63bbc05.5gl3tvv9jfjfcps9.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl-0cdd11f754d2bd3f.rlib" "/opt/rustwide/target/debug/deps/libnum-7ccb7a84d86df4c1.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-ac38289afe19c459.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-218c2fe94f8517e7.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-38b34b9c5bb580a3.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f61ed616208b2c25.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-f733c6b77dc722ee.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-f84db87ac40dfc9a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-dab92e4a7c3b6ca2.rlib" "/opt/rustwide/target/debug/deps/librand-d4e2111805436139.rlib" "/opt/rustwide/target/debug/deps/librand-51f5f7bf0186ec60.rlib" "/opt/rustwide/target/debug/deps/liblibc-44c737dde2364af6.rlib" "/opt/rustwide/target/debug/deps/librand-4cf512b29e26b073.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-8aba7fc6133cae48.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-c44318ca2ca571e9.rlib" "/opt/rustwide/target/debug/deps/librand_core-1440c3537228cfdc.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-ad217ac2d4552ffa.rlib" "/opt/rustwide/target/debug/deps/liblibc-809b3ff95751964d.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-ab1bd98be96b57b3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bb11f807a7b6b4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ca8087507780d964.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-259c92b387c1c166.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-16e0a2fbbb8e14b3.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-8a1651b8e23d2aaf.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-23bdd98b0574083e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-855a92055ec33e2e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-24c70dd44fbacdfb.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b326273841bae587.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ac3c1f0e16507051.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5729542b65954aa.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-09bd1119ab1cad7d.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9a787681bfbeaf61.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5a0398ee67f74664.rlib" "-Wl,-Bdynamic" "-lSDL" "-lc" "-lm" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustyising`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b22a95a3374e4ec52382c9afd36b98c927ca4bd937977c96d051f5c8e87f5230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b22a95a3374e4ec52382c9afd36b98c927ca4bd937977c96d051f5c8e87f5230", kill_on_drop: false }` [INFO] [stdout] b22a95a3374e4ec52382c9afd36b98c927ca4bd937977c96d051f5c8e87f5230