[INFO] cloning repository https://github.com/frjonsen/magnetman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frjonsen/magnetman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrjonsen%2Fmagnetman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrjonsen%2Fmagnetman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ee4cfa808d1bc5d269b045654cdb341f4fd5a4c [INFO] testing frjonsen/magnetman against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrjonsen%2Fmagnetman" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frjonsen/magnetman on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frjonsen/magnetman [INFO] finished tweaking git repo https://github.com/frjonsen/magnetman [INFO] tweaked toml for git repo https://github.com/frjonsen/magnetman written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/frjonsen/magnetman already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d00a874d364a05a2fc3677fa6687b99d01f4554dafd47c78ea0d2a526063794f [INFO] running `Command { std: "docker" "start" "-a" "d00a874d364a05a2fc3677fa6687b99d01f4554dafd47c78ea0d2a526063794f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d00a874d364a05a2fc3677fa6687b99d01f4554dafd47c78ea0d2a526063794f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d00a874d364a05a2fc3677fa6687b99d01f4554dafd47c78ea0d2a526063794f", kill_on_drop: false }` [INFO] [stdout] d00a874d364a05a2fc3677fa6687b99d01f4554dafd47c78ea0d2a526063794f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54ca4e7f4864e73c15a1ad4d1e53ea637e239250b865ca6fcf021709c25c9f58 [INFO] running `Command { std: "docker" "start" "-a" "54ca4e7f4864e73c15a1ad4d1e53ea637e239250b865ca6fcf021709c25c9f58", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling magnetman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Texture` [INFO] [stdout] --> src/graphics/graphics_engine.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | render::{Canvas, Texture}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/graphics_engine.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn draw_screen(&mut self, sprites: &[&Sprite]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - pub fn draw_screen(&mut self, sprites: &[&Sprite]) { [INFO] [stdout] 53 + pub fn draw_screen(&mut self, sprites: &[&dyn Sprite]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `engine` does not live long enough [INFO] [stdout] --> src/main.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | engine.load_game_textures(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 9 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `engine` dropped here while still borrowed [INFO] [stdout] | borrow might be used here, when `engine` is dropped and runs the destructor for type `GraphicsEngine<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magnetman` due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "54ca4e7f4864e73c15a1ad4d1e53ea637e239250b865ca6fcf021709c25c9f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ca4e7f4864e73c15a1ad4d1e53ea637e239250b865ca6fcf021709c25c9f58", kill_on_drop: false }` [INFO] [stdout] 54ca4e7f4864e73c15a1ad4d1e53ea637e239250b865ca6fcf021709c25c9f58