[INFO] updating cached repository https://github.com/agmcleod/spellcaster-sacrifice [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] b23f85dfbe32a483d68ab4220dec4cb0415117cb [INFO] testing agmcleod/spellcaster-sacrifice against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagmcleod%2Fspellcaster-sacrifice" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agmcleod/spellcaster-sacrifice on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/agmcleod/spellcaster-sacrifice [INFO] removed path dependency tiled from git repo https://github.com/agmcleod/spellcaster-sacrifice [INFO] finished tweaking git repo https://github.com/agmcleod/spellcaster-sacrifice [INFO] tweaked toml for git repo https://github.com/agmcleod/spellcaster-sacrifice written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/agmcleod/spellcaster-sacrifice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tiled) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tiled) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06b3a60fffc9de9d2687164c4c3697ceda411ee50005750aa9bdac44bd3e1866 [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" "06b3a60fffc9de9d2687164c4c3697ceda411ee50005750aa9bdac44bd3e1866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06b3a60fffc9de9d2687164c4c3697ceda411ee50005750aa9bdac44bd3e1866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b3a60fffc9de9d2687164c4c3697ceda411ee50005750aa9bdac44bd3e1866", kill_on_drop: false }` [INFO] [stdout] 06b3a60fffc9de9d2687164c4c3697ceda411ee50005750aa9bdac44bd3e1866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60653495697f2d7fac7d1b46c26159c0929d4cea4aab4a3ab1de36a392cb49fc [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" "60653495697f2d7fac7d1b46c26159c0929d4cea4aab4a3ab1de36a392cb49fc", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tiled) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling nonzero_signed v1.0.3 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling claxon v0.3.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-deque v0.5.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling tiled v0.9.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling cgmath v0.14.1 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling crossbeam v0.4.1 [INFO] [stderr] Compiling glyph_brush v0.4.3 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling shred-derive v0.5.1 [INFO] [stderr] Compiling gfx_glyph v0.14.1 [INFO] [stderr] Compiling rodio v0.8.1 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling shred v0.7.2 [INFO] [stderr] Compiling hibitset v0.5.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling specs v0.14.3 [INFO] [stderr] Compiling image v0.21.3 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling gfx_window_sdl v0.9.1 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling spellcaster-sacrifice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tiled::Group` [INFO] [stdout] --> src/entities/mod.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use tiled::{Group, Map, ObjectGroup, ObjectShape, PropertyValue}; [INFO] [stdout] | ^^^^^ no `Group` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sprite` [INFO] [stdout] --> src/renderer/mod.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | components::{Camera, Color, Shape, Sprite, Text, Transform as ComponentTransform}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FactoryExt` is imported redundantly [INFO] [stdout] --> src/renderer/mod.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 4 | use gfx::{self, texture, traits::FactoryExt}; [INFO] [stdout] | ------------------ the item `FactoryExt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 81 | use gfx::traits::FactoryExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deref` is imported redundantly [INFO] [stdout] --> src/renderer/mod.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | --------------- the item `Deref` is already imported here [INFO] [stdout] ... [INFO] [stdout] 378 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screen.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | states: HashMap>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screen.rs:29:59 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn add_state(&mut self, name: String, screen: Box) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sprite` [INFO] [stdout] --> src/systems/player_system.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | components::{AnimationSheet, DeltaTime, Input, Player, Sprite, Transform}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/components/map/tiled.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | if *cell != 0 { [INFO] [stdout] | ^ expected struct `tiled::LayerTile`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `tiled::LayerTile` as `usize` [INFO] [stdout] --> src/components/map/tiled.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | ... <= *cell as usize [INFO] [stdout] | ^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `tiled::LayerTile` as `u32` [INFO] [stdout] --> src/components/map/tiled.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | ... let x = ((*cell as u32 - 1u32) % tiles_wide) as f32 [INFO] [stdout] | ^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `tiled::LayerTile` as `u32` [INFO] [stdout] --> src/components/map/tiled.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | ... let y = ((*cell as u32 - 1u32) / tiles_wide) as f32 [INFO] [stdout] | ^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `groups` on type `&tiled::Map` [INFO] [stdout] --> src/entities/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | map.groups [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `version`, `orientation`, `width`, `height`, `tile_width` ... and 7 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `builder::FlatPathBuilder` [INFO] [stdout] --> src/components/shape.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use lyon_path::{builder::FlatPathBuilder, math::point as lyon_point, Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0605, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spellcaster-sacrifice`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "60653495697f2d7fac7d1b46c26159c0929d4cea4aab4a3ab1de36a392cb49fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60653495697f2d7fac7d1b46c26159c0929d4cea4aab4a3ab1de36a392cb49fc", kill_on_drop: false }` [INFO] [stdout] 60653495697f2d7fac7d1b46c26159c0929d4cea4aab4a3ab1de36a392cb49fc