[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrxus%2Fduck_husky_wedding" "/workspace/builds/worker-99/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-99/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nrxus/duck_husky_wedding on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-99/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf99fb7e0c6af7795a97c43b59ab4fb90d6d8c249ed9d939ea025db2f1e5aff6 [INFO] running `Command { std: "docker" "start" "-a" "cf99fb7e0c6af7795a97c43b59ab4fb90d6d8c249ed9d939ea025db2f1e5aff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf99fb7e0c6af7795a97c43b59ab4fb90d6d8c249ed9d939ea025db2f1e5aff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf99fb7e0c6af7795a97c43b59ab4fb90d6d8c249ed9d939ea025db2f1e5aff6", kill_on_drop: false }` [INFO] [stdout] cf99fb7e0c6af7795a97c43b59ab4fb90d6d8c249ed9d939ea025db2f1e5aff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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=forbid" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b90500cf3ec8a82c419e038dd8b3f75e8ee4e1031782a0a4f98be2e76b6d99d [INFO] running `Command { std: "docker" "start" "-a" "6b90500cf3ec8a82c419e038dd8b3f75e8ee4e1031782a0a4f98be2e76b6d99d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [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 serde v1.0.20 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling quickcheck v0.2.27 [INFO] [stderr] Compiling serde_derive v1.0.20 [INFO] [stderr] Compiling num-bigint v0.1.40 [INFO] [stderr] Compiling num-complex v0.1.40 [INFO] [stderr] Compiling serde_yaml v0.7.2 [INFO] [stderr] Compiling num-rational v0.1.40 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling sdl2 v0.31.0 [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(V::Value) -> String` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(V::Value) -> String` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(V::Value) -> String` [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] [INFO] [stdout] [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: 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" "6b90500cf3ec8a82c419e038dd8b3f75e8ee4e1031782a0a4f98be2e76b6d99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b90500cf3ec8a82c419e038dd8b3f75e8ee4e1031782a0a4f98be2e76b6d99d", kill_on_drop: false }` [INFO] [stdout] 6b90500cf3ec8a82c419e038dd8b3f75e8ee4e1031782a0a4f98be2e76b6d99d