[INFO] cloning repository https://github.com/42f87d89/Guitar-String [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/42f87d89/Guitar-String" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F42f87d89%2FGuitar-String", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F42f87d89%2FGuitar-String'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bdd150db7df907dcdce44e5fe9558de72ebf94f [INFO] testing 42f87d89/Guitar-String against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F42f87d89%2FGuitar-String" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/42f87d89/Guitar-String on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/42f87d89/Guitar-String already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0dc641cb7b2e6037ee852c7a3cb65fced1a57278a38443ff2f27cf3fcd6665d5 [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" "0dc641cb7b2e6037ee852c7a3cb65fced1a57278a38443ff2f27cf3fcd6665d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dc641cb7b2e6037ee852c7a3cb65fced1a57278a38443ff2f27cf3fcd6665d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dc641cb7b2e6037ee852c7a3cb65fced1a57278a38443ff2f27cf3fcd6665d5", kill_on_drop: false }` [INFO] [stdout] 0dc641cb7b2e6037ee852c7a3cb65fced1a57278a38443ff2f27cf3fcd6665d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e26b4c5acdeaabb2b6fe4be2a7972dd0bbacca07cacb258d14f8751a56f5d3c1 [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" "e26b4c5acdeaabb2b6fe4be2a7972dd0bbacca07cacb258d14f8751a56f5d3c1", kill_on_drop: false }` [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] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | thread::sleep_ms(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_sine` [INFO] [stdout] --> src/main.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn new_sine(n: u16, k: f64) -> Chord { [INFO] [stdout] | ^^^^^^^^ [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" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.chord_sim.cbqexv7i-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd" "/opt/rustwide/target/debug/deps/chord_sim-acda06f5b3fe8abd.ttb4wpm9rs3ffff.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl-b0fb83c8b56480ac.rlib" "/opt/rustwide/target/debug/deps/libnum-825ea3114784d4a6.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-bf8d959acf9e2378.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-53ecb7e5742c33b0.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-dbedff2ba9589a7d.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-cf160550f07bf347.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-63eb6f71941d397c.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-4545f17f749a0151.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-4a59219676fe7595.rlib" "/opt/rustwide/target/debug/deps/librand-6bc5995eb936c5dc.rlib" "/opt/rustwide/target/debug/deps/librand-26ff6dc32e2129b5.rlib" "/opt/rustwide/target/debug/deps/liblibc-e0846f52673851a4.rlib" "/opt/rustwide/target/debug/deps/liblibc-9f37c0c02eb55f9e.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e12de7683a34c500.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-446a53c2e468675f.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-86fef9fb252a2d33.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-3bed9bfd30304751.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-0e38eeb474a7b386.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-a846ed547b824740.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c9540f0a4fb9265d.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7d2ca66c92c356eb.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-147e2c808f949493.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bd2a4369506670e9.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74bfdd0ce7d0ed48.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6777f47f1c491841.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b104f1790174f2be.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-db37898996f45c13.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-25b7435131fc4938.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9d4b6f3c097e876e.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3f953ad652ab829a.rlib" "-Wl,-Bdynamic" "-lSDL" "-lc" "-lm" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chord_sim` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e26b4c5acdeaabb2b6fe4be2a7972dd0bbacca07cacb258d14f8751a56f5d3c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26b4c5acdeaabb2b6fe4be2a7972dd0bbacca07cacb258d14f8751a56f5d3c1", kill_on_drop: false }` [INFO] [stdout] e26b4c5acdeaabb2b6fe4be2a7972dd0bbacca07cacb258d14f8751a56f5d3c1