[INFO] updating cached repository https://github.com/42f87d89/Guitar-String [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] 5bdd150db7df907dcdce44e5fe9558de72ebf94f [INFO] testing 42f87d89/Guitar-String against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F42f87d89%2FGuitar-String" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/42f87d89/Guitar-String on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/42f87d89/Guitar-String [INFO] finished tweaking git repo https://github.com/42f87d89/Guitar-String [INFO] tweaked toml for git repo https://github.com/42f87d89/Guitar-String written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/42f87d89/Guitar-String already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 07779c9d74b4e1882feaa679e2142c2886807d89aa00c93406057a6a68434874 [INFO] running `"docker" "start" "-a" "07779c9d74b4e1882feaa679e2142c2886807d89aa00c93406057a6a68434874"` [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl v0.3.6 [INFO] [stderr] Compiling chord_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/main.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 199 | thread::sleep_ms(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `size` [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | fn size(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new_sine` [INFO] [stderr] --> src/main.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | fn new_sine(n: u16, k: f64) -> Chord { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.chord_sim.ck5pzmh2-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf" "/opt/rustwide/target/debug/deps/chord_sim-59aabb889e95aecf.5f7l5wtfiwtirp1o.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl-eb9f78cba46d5919.rlib" "/opt/rustwide/target/debug/deps/libnum-7d00200606e927ca.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-90b860217c4a2592.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-adb55e0c7562594c.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-e746cdd2ac649290.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-bfce5498649dc14e.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-a9121b727fa3a111.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-9032d7a2d99629ef.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9f97a4fd61bd1e10.rlib" "/opt/rustwide/target/debug/deps/librand-c361fc138ff86d08.rlib" "/opt/rustwide/target/debug/deps/librand-e5de54040a037534.rlib" "/opt/rustwide/target/debug/deps/liblibc-7f3b8e4c2db2a8d8.rlib" "/opt/rustwide/target/debug/deps/liblibc-c529c38856022132.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62f93208e14fa8f0.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b2c4dbe979cef5e2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8b9b66cb3e9f891d.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5998b08bf29f56ac.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-efd1670396ccb585.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6435b9209e888961.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-866e5dfb603b34d2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-75eac3089695b3b4.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-35744537b4825584.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f7ee5081d96fb2cd.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-5b28479cb639d76c.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f827473dd3b319fa.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-53f9c299c549c6a9.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-44132fbb3fcc18d3.rlib" "-Wl,-Bdynamic" "-lSDL" "-lutil" "-ldl" "-lutil" "-lc" "-lm" "-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; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `chord_sim`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "07779c9d74b4e1882feaa679e2142c2886807d89aa00c93406057a6a68434874"` [INFO] running `"docker" "rm" "-f" "07779c9d74b4e1882feaa679e2142c2886807d89aa00c93406057a6a68434874"` [INFO] [stdout] 07779c9d74b4e1882feaa679e2142c2886807d89aa00c93406057a6a68434874