[INFO] updating cached repository https://github.com/vinhig/fictional-happiness [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] 957b2b03c52571aeefe424c99aa4dfb558d121d6 [INFO] testing vinhig/fictional-happiness against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinhig%2Ffictional-happiness" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vinhig/fictional-happiness on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/vinhig/fictional-happiness already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b929725cfb3566fcd1e39eb896004b8efb3ef89bb7391ea584e90d89a87e5db [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" "2b929725cfb3566fcd1e39eb896004b8efb3ef89bb7391ea584e90d89a87e5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b929725cfb3566fcd1e39eb896004b8efb3ef89bb7391ea584e90d89a87e5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b929725cfb3566fcd1e39eb896004b8efb3ef89bb7391ea584e90d89a87e5db", kill_on_drop: false }` [INFO] [stdout] 2b929725cfb3566fcd1e39eb896004b8efb3ef89bb7391ea584e90d89a87e5db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3f5909ed8a50e825444875f56ab7ceafbe35e5bf06ac309e6739f60f6ce8b32 [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" "f3f5909ed8a50e825444875f56ab7ceafbe35e5bf06ac309e6739f60f6ce8b32", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [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_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.39 [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] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Rect` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::rect::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::display` [INFO] [stdout] --> src/sprite.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::image::LoadTexture` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::image::LoadTexture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut sprite = sprite::Sprite::new(texture); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut sprite = sprite::Sprite::new(texture); [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] error[E0503]: cannot use `display.should_close` because it was mutably borrowed [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 14 | let texture = display.load_texture("robot.jpg"); [INFO] [stdout] | ------- borrow of `display` occurs here [INFO] [stdout] ... [INFO] [stdout] 20 | while !display.should_close { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of borrowed `display` [INFO] [stdout] ... [INFO] [stdout] 30 | } [INFO] [stdout] | - borrow might be used here, when `sprite` is dropped and runs the destructor for type `sprite::Sprite<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `display` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 14 | let texture = display.load_texture("robot.jpg"); [INFO] [stdout] | ------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 21 | display.update(); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 30 | } [INFO] [stdout] | - first borrow might be used here, when `sprite` is dropped and runs the destructor for type `sprite::Sprite<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `display` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 14 | let texture = display.load_texture("robot.jpg"); [INFO] [stdout] | ------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 25 | display.present(); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 30 | } [INFO] [stdout] | - first borrow might be used here, when `sprite` is dropped and runs the destructor for type `sprite::Sprite<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0503. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gluglu`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f3f5909ed8a50e825444875f56ab7ceafbe35e5bf06ac309e6739f60f6ce8b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f5909ed8a50e825444875f56ab7ceafbe35e5bf06ac309e6739f60f6ce8b32", kill_on_drop: false }` [INFO] [stdout] f3f5909ed8a50e825444875f56ab7ceafbe35e5bf06ac309e6739f60f6ce8b32