[INFO] updating cached repository https://github.com/bcamp1/Gravisim [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] 3dbbddea8fc708657bbb6fc1993272fb5f73978b [INFO] testing bcamp1/Gravisim against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcamp1%2FGravisim" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bcamp1/Gravisim on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bcamp1/Gravisim [INFO] finished tweaking git repo https://github.com/bcamp1/Gravisim [INFO] tweaked toml for git repo https://github.com/bcamp1/Gravisim written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/bcamp1/Gravisim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0db3f5f7ac900fb33d4cf7cbb5bab0293e8cd88162992cee59c7dd34cf69791 [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" "b0db3f5f7ac900fb33d4cf7cbb5bab0293e8cd88162992cee59c7dd34cf69791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0db3f5f7ac900fb33d4cf7cbb5bab0293e8cd88162992cee59c7dd34cf69791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0db3f5f7ac900fb33d4cf7cbb5bab0293e8cd88162992cee59c7dd34cf69791", kill_on_drop: false }` [INFO] [stdout] b0db3f5f7ac900fb33d4cf7cbb5bab0293e8cd88162992cee59c7dd34cf69791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 163c455aa2e5bfb83480d794da36112cb86a9c2ac338e6b8ceb813d59b895fa4 [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" "163c455aa2e5bfb83480d794da36112cb86a9c2ac338e6b8ceb813d59b895fa4", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling c_vec v1.3.2 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.32.1 [INFO] [stderr] Compiling stopwatch v0.0.7 [INFO] [stderr] Compiling gravisim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/body.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res_mult` is never read [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut res_mult = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pmouse_pressed` is never read [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut pmouse_pressed = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_time` [INFO] [stdout] --> src/body.rs:44:47 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn update_self(&mut self, mult: &f32, total_time: &f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mult` [INFO] [stdout] --> src/body.rs:58:51 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn compute_gravity(&mut self, body: Body, mult: &f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/gui.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | context: &'a Sdl2TtfContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `filename` [INFO] [stdout] --> src/gui.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | filename: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_color` [INFO] [stdout] --> src/gui.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn set_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_font_size` [INFO] [stdout] --> src/gui.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_font_size(&mut self, size: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/body.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | canvas.filled_circle(t.0 as i16, t.1 as i16, (self.size * cam.zoom) as i16, (255, color_g, 255, 255)); [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" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.gravisim.4q1zg8tc-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7" "/opt/rustwide/target/debug/deps/gravisim-c1d6dd5f77a921c7.3qiq5kj0u4y8zp6c.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstopwatch-8f59edcb7bfe3a26.rlib" "/opt/rustwide/target/debug/deps/libsdl2-6022e5206ead9841.rlib" "/opt/rustwide/target/debug/deps/librand-d8c33f09e73939bc.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-7ac0bbf33eab17c3.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-2979a42224e86729.rlib" "/opt/rustwide/target/debug/deps/librand_hc-7616e3bb64dc5ef6.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-9a60c16312ff520f.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-b2748fbbad7a886b.rlib" "/opt/rustwide/target/debug/deps/librand_core-9df86ead2ee4a580.rlib" "/opt/rustwide/target/debug/deps/librand_os-71e2a195394fe713.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-f7d74d5738cea20e.rlib" "/opt/rustwide/target/debug/deps/librand_core-28553c25b52e4ac6.rlib" "/opt/rustwide/target/debug/deps/libc_vec-aaf9cc9e03162719.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-d7ff8b1462b39f35.rlib" "/opt/rustwide/target/debug/deps/libbitflags-d84be2ed0b8bbca8.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-95255a913897c8ce.rlib" "/opt/rustwide/target/debug/deps/libnum-2081105ccbfeb8b6.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-0128cfb7290e8250.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-56f1cb0bc96096c1.rlib" "/opt/rustwide/target/debug/deps/librand-3cca54caccada814.rlib" "/opt/rustwide/target/debug/deps/liblibc-43ad4e4e7b3c9e74.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-47fa3f12eb1c43a2.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-d833c3470fa60f44.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-aef27937ff364bda.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-b0b6745d22f32d76.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-0de210d470508289.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_ttf" "-lSDL2_gfx" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] /usr/bin/ld: cannot find -lSDL2_gfx [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gravisim`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "163c455aa2e5bfb83480d794da36112cb86a9c2ac338e6b8ceb813d59b895fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "163c455aa2e5bfb83480d794da36112cb86a9c2ac338e6b8ceb813d59b895fa4", kill_on_drop: false }` [INFO] [stdout] 163c455aa2e5bfb83480d794da36112cb86a9c2ac338e6b8ceb813d59b895fa4