[INFO] cloning repository https://github.com/nrxus/duck_husky_wedding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nrxus/duck_husky_wedding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrxus%2Fduck_husky_wedding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrxus%2Fduck_husky_wedding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b058ea59ca5a9271fb35523c373f63b0eecd75d [INFO] testing nrxus/duck_husky_wedding against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrxus%2Fduck_husky_wedding" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nrxus/duck_husky_wedding 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/nrxus/duck_husky_wedding [INFO] finished tweaking git repo https://github.com/nrxus/duck_husky_wedding [INFO] tweaked toml for git repo https://github.com/nrxus/duck_husky_wedding written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/nrxus/duck_husky_wedding 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] Downloading crates ... [INFO] [stderr] Downloaded num-rational v0.1.40 [INFO] [stderr] Downloaded lazy_static v0.2.10 [INFO] [stderr] Downloaded serde_yaml v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e92f0c2fe534e9086eb3861e68ab6b1ff43752af1837de7562aeb8b5099a2673 [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" "e92f0c2fe534e9086eb3861e68ab6b1ff43752af1837de7562aeb8b5099a2673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e92f0c2fe534e9086eb3861e68ab6b1ff43752af1837de7562aeb8b5099a2673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e92f0c2fe534e9086eb3861e68ab6b1ff43752af1837de7562aeb8b5099a2673", kill_on_drop: false }` [INFO] [stdout] e92f0c2fe534e9086eb3861e68ab6b1ff43752af1837de7562aeb8b5099a2673 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f39ac47ac9453e37b00b0ad408ab46405aaf437221ad11874a4b6875c3285ee1 [INFO] running `Command { std: "docker" "start" "-a" "f39ac47ac9453e37b00b0ad408ab46405aaf437221ad11874a4b6875c3285ee1", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.10 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.0 [INFO] [stderr] Compiling duck_husky_wedding v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling num-complex v0.1.40 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling num-bigint v0.1.40 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling num-rational v0.1.40 [INFO] [stderr] Compiling serde_yaml v0.7.2 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling quickcheck v0.2.27 [INFO] [stderr] Compiling glm v0.2.3 [INFO] [stderr] Compiling backtrace v0.3.4 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling moho v0.0.10 (https://github.com/nrxus/moho#6195801c) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / error_chain!{ [INFO] [stdout] 23 | | links { [INFO] [stdout] 24 | | Moho(::moho::errors::Error, ::moho::errors::ErrorKind); [INFO] [stdout] 25 | | } [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/duck_husky_wedding/hud.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | pattern: Box String>, [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] 81 - pattern: Box String>, [INFO] [stdout] 81 + pattern: Box String>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/duck_husky_wedding/hud.rs:45:62 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn load(value: CacheValue, font: &F, pattern: &Fn(V::Value) -> String) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 45 - pub fn load(value: CacheValue, font: &F, pattern: &Fn(V::Value) -> String) -> Result [INFO] [stdout] 45 + pub fn load(value: CacheValue, font: &F, pattern: &dyn Fn(V::Value) -> String) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/duck_husky_wedding/hud.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn load(value: V, font: Rc, pattern: Box String>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 86 - pub fn load(value: V, font: Rc, pattern: Box String>) -> Result { [INFO] [stdout] 86 + pub fn load(value: V, font: Rc, pattern: Box String>) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/duck_husky_wedding/body.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 96 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 97 | / let circles = self.circles.iter().map(|c| { [INFO] [stdout] 98 | | let hdims = glm::dvec2(c.radius, c.radius); [INFO] [stdout] 99 | | glm::dvec4( [INFO] [stdout] 100 | | c.center.x - hdims.x, [INFO] [stdout] ... | [INFO] [stdout] 104 | | ) [INFO] [stdout] 105 | | }); [INFO] [stdout] | |___________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/data/mod.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | .load(&format!("media/sprites/{}", self.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / error_chain!{ [INFO] [stdout] 23 | | links { [INFO] [stdout] 24 | | Moho(::moho::errors::Error, ::moho::errors::ErrorKind); [INFO] [stdout] 25 | | } [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `duck_husky_wedding` due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f39ac47ac9453e37b00b0ad408ab46405aaf437221ad11874a4b6875c3285ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39ac47ac9453e37b00b0ad408ab46405aaf437221ad11874a4b6875c3285ee1", kill_on_drop: false }` [INFO] [stdout] f39ac47ac9453e37b00b0ad408ab46405aaf437221ad11874a4b6875c3285ee1