[INFO] cloning repository https://github.com/vinhig/fictional-happiness [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vinhig/fictional-happiness" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinhig%2Ffictional-happiness"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinhig%2Ffictional-happiness'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 957b2b03c52571aeefe424c99aa4dfb558d121d6 [INFO] testing vinhig/fictional-happiness against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinhig%2Ffictional-happiness" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vinhig/fictional-happiness on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/vinhig/fictional-happiness [INFO] finished tweaking git repo https://github.com/vinhig/fictional-happiness [INFO] tweaked toml for git repo https://github.com/vinhig/fictional-happiness written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/vinhig/fictional-happiness already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2020-06-03" "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] ea7725dcf567a0436c2d7b002f9c090ba1b108c9e62093da31a99727505588fc [INFO] running `"docker" "start" "-a" "ea7725dcf567a0436c2d7b002f9c090ba1b108c9e62093da31a99727505588fc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling c_vec v1.3.3 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling gluglu v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `sdl2::pixels::Color` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use sdl2::pixels::Color; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::rect::Rect` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use sdl2::rect::Rect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::display` [INFO] [stderr] --> src/sprite.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::display; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::image::LoadTexture` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use sdl2::image::LoadTexture; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sprite` [INFO] [stderr] --> src/main.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | let mut sprite = sprite::Sprite::new(texture); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | let mut sprite = sprite::Sprite::new(texture); [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] error[E0503]: cannot use `display.should_close` because it was mutably borrowed [INFO] [stderr] --> src/main.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 14 | let texture = display.load_texture("robot.jpg"); [INFO] [stderr] | ------- borrow of `display` occurs here [INFO] [stderr] ... [INFO] [stderr] 20 | while !display.should_close { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ use of borrowed `display` [INFO] [stderr] ... [INFO] [stderr] 30 | } [INFO] [stderr] | - borrow might be used here, when `sprite` is dropped and runs the destructor for type `sprite::Sprite<'_>` [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `display` as mutable more than once at a time [INFO] [stderr] --> src/main.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 14 | let texture = display.load_texture("robot.jpg"); [INFO] [stderr] | ------- first mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 21 | display.update(); [INFO] [stderr] | ^^^^^^^ second mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 30 | } [INFO] [stderr] | - first borrow might be used here, when `sprite` is dropped and runs the destructor for type `sprite::Sprite<'_>` [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `display` as mutable more than once at a time [INFO] [stderr] --> src/main.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 14 | let texture = display.load_texture("robot.jpg"); [INFO] [stderr] | ------- first mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 25 | display.present(); [INFO] [stderr] | ^^^^^^^ second mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 30 | } [INFO] [stderr] | - first borrow might be used here, when `sprite` is dropped and runs the destructor for type `sprite::Sprite<'_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0499, E0503. [INFO] [stderr] For more information about an error, try `rustc --explain E0499`. [INFO] [stderr] error: could not compile `gluglu`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ea7725dcf567a0436c2d7b002f9c090ba1b108c9e62093da31a99727505588fc"` [INFO] running `"docker" "rm" "-f" "ea7725dcf567a0436c2d7b002f9c090ba1b108c9e62093da31a99727505588fc"` [INFO] [stdout] ea7725dcf567a0436c2d7b002f9c090ba1b108c9e62093da31a99727505588fc