[INFO] cloning repository https://github.com/tomc1998/rs-proc-gen-experiment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomc1998/rs-proc-gen-experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frs-proc-gen-experiment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frs-proc-gen-experiment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cda6dfbc593366a9f339dbaa9ca484f8d97326d2 [INFO] checking tomc1998/rs-proc-gen-experiment against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frs-proc-gen-experiment" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomc1998/rs-proc-gen-experiment on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tomc1998/rs-proc-gen-experiment [INFO] finished tweaking git repo https://github.com/tomc1998/rs-proc-gen-experiment [INFO] tweaked toml for git repo https://github.com/tomc1998/rs-proc-gen-experiment written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/tomc1998/rs-proc-gen-experiment already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hibitset v0.5.0 [INFO] [stderr] Downloaded shred v0.7.0 [INFO] [stderr] Downloaded wayland-scanner v0.20.10 [INFO] [stderr] Downloaded wayland-commons v0.20.10 [INFO] [stderr] Downloaded wayland-sys v0.20.10 [INFO] [stderr] Downloaded winit v0.15.1 [INFO] [stderr] Downloaded specs-derive v0.2.0 [INFO] [stderr] Downloaded x11-dl v2.18.1 [INFO] [stderr] Downloaded shred-derive v0.5.0 [INFO] [stderr] Downloaded wayland-client v0.20.10 [INFO] [stderr] Downloaded yaml-rust v0.4.0 [INFO] [stderr] Downloaded rusttype v0.6.2 [INFO] [stderr] Downloaded wayland-protocols v0.20.10 [INFO] [stderr] Downloaded gfx_window_glutin v0.24.0 [INFO] [stderr] Downloaded glutin v0.16.0 [INFO] [stderr] Downloaded approx v0.2.0 [INFO] [stderr] Downloaded crossbeam v0.3.2 [INFO] [stderr] Downloaded rand v0.5.3 [INFO] [stderr] Downloaded smithay-client-toolkit v0.2.4 [INFO] [stderr] Downloaded specs v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", 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] 75cd7c6486da349850e58fe71e456fb3812ffa605fa72582de02b78c474f0fdf [INFO] running `Command { std: "docker" "start" "-a" "75cd7c6486da349850e58fe71e456fb3812ffa605fa72582de02b78c474f0fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75cd7c6486da349850e58fe71e456fb3812ffa605fa72582de02b78c474f0fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75cd7c6486da349850e58fe71e456fb3812ffa605fa72582de02b78c474f0fdf", kill_on_drop: false }` [INFO] [stdout] 75cd7c6486da349850e58fe71e456fb3812ffa605fa72582de02b78c474f0fdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e40e85a216d73f9afcdb061bc4ac3c4c8edabb210c2c17a34a93a1e569cdbf2 [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" "5e40e85a216d73f9afcdb061bc4ac3c4c8edabb210c2c17a34a93a1e569cdbf2", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking stb_truetype v0.2.2 [INFO] [stderr] Checking smallvec v0.6.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking approx v0.2.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking nix v0.11.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Checking rand v0.5.3 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling x11-dl v2.18.1 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking ordered-float v0.5.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.20.10 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Checking rusttype v0.6.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking tempfile v3.0.2 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking parking_lot v0.5.5 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Compiling wayland-client v0.20.10 [INFO] [stderr] Compiling wayland-protocols v0.20.10 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling glutin v0.16.0 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.20.10 [INFO] [stderr] Compiling shred-derive v0.5.0 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking wayland-commons v0.20.10 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking hibitset v0.5.0 [INFO] [stderr] Checking shred v0.7.0 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling specs-derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking smithay-client-toolkit v0.2.4 [INFO] [stderr] Checking gfx_core v0.8.2 [INFO] [stderr] Checking shrev v1.0.1 [INFO] [stderr] Checking winit v0.15.1 [INFO] [stderr] Checking specs v0.12.0 [INFO] [stderr] Checking gfx_device_gl v0.15.3 [INFO] [stderr] Checking gfx v0.17.1 [INFO] [stderr] Checking gfx_window_glutin v0.24.0 [INFO] [stderr] Checking proc-gen-experiment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/renderer/paint_sys/mod.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::*; [INFO] [stdout] | -------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 86 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/comp/coll.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | (vec.nor() * (combined_r - dis)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/sys_control/slime_ai.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::*; [INFO] [stdout] | -------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 23 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/sys_control/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 9 | use specs::*; [INFO] [stdout] | -------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 34 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/sys_phys.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::*; [INFO] [stdout] | -------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 38 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ParJoin` is imported redundantly [INFO] [stdout] --> src/sys_anim.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::*; [INFO] [stdout] | -------- the item `ParJoin` is already imported here [INFO] [stdout] ... [INFO] [stdout] 16 | use specs::ParJoin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/sys_lifetime.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::*; [INFO] [stdout] | -------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 14 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Builder` is imported redundantly [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 50 | use specs::*; [INFO] [stdout] | -------- the item `Builder` is already imported here [INFO] [stdout] ... [INFO] [stdout] 150 | use specs::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/renderer/tex_key.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | /// This shouldn't really be accessed directly, except for in the [INFO] [stdout] 8 | | /// asset_loader module, where it is first initially written to. [INFO] [stdout] 9 | | pub static ref ASSET_NAME_MAP : RwLock> [INFO] [stdout] 10 | | = RwLock::new(BTreeMap::new()); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/item/mod.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / lazy_static! { [INFO] [stdout] 123 | | /// The item register is a list of all the stats of all the items. Items [INFO] [stdout] 124 | | /// should be referenced by their index in this list. This list will be [INFO] [stdout] 125 | | /// loaded from a configuration file at game startup, and will be accessed [INFO] [stdout] ... | [INFO] [stdout] 128 | | RwLock::new(ItemRegister::new()); [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/renderer/paint_sys/mod.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::*; [INFO] [stdout] | -------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 86 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/comp/coll.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | (vec.nor() * (combined_r - dis)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/sys_control/slime_ai.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::*; [INFO] [stdout] | -------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 23 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/sys_control/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 9 | use specs::*; [INFO] [stdout] | -------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 34 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/sys_phys.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 4 | use specs::*; [INFO] [stdout] | -------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 38 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ParJoin` is imported redundantly [INFO] [stdout] --> src/sys_anim.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::*; [INFO] [stdout] | -------- the item `ParJoin` is already imported here [INFO] [stdout] ... [INFO] [stdout] 16 | use specs::ParJoin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/sys_lifetime.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::*; [INFO] [stdout] | -------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 14 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Builder` is imported redundantly [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 50 | use specs::*; [INFO] [stdout] | -------- the item `Builder` is already imported here [INFO] [stdout] ... [INFO] [stdout] 150 | use specs::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/renderer/tex_key.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | /// This shouldn't really be accessed directly, except for in the [INFO] [stdout] 8 | | /// asset_loader module, where it is first initially written to. [INFO] [stdout] 9 | | pub static ref ASSET_NAME_MAP : RwLock> [INFO] [stdout] 10 | | = RwLock::new(BTreeMap::new()); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/item/mod.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / lazy_static! { [INFO] [stdout] 123 | | /// The item register is a list of all the stats of all the items. Items [INFO] [stdout] 124 | | /// should be referenced by their index in this list. This list will be [INFO] [stdout] 125 | | /// loaded from a configuration file at game startup, and will be accessed [INFO] [stdout] ... | [INFO] [stdout] 128 | | RwLock::new(ItemRegister::new()); [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/renderer/paint_sys/ui_inventory.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | let position_iter = [ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 110 | | (17.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Helmet), [INFO] [stdout] 111 | | (49.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Body), [INFO] [stdout] 112 | | (81.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Weapon), [INFO] [stdout] 113 | | (113.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Ring)].into_iter(); [INFO] [stdout] | | ^ - temporary value is freed at the end of this statement [INFO] [stdout] | |_______________________________________________________________| [INFO] [stdout] | creates a temporary which is freed while still in use [INFO] [stdout] 114 | for (x, y, slot) in position_iter { [INFO] [stdout] | ------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/ui/inventory.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | let position_iter = [ [INFO] [stdout] | _________________________^ [INFO] [stdout] 65 | | (17.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Helmet), [INFO] [stdout] 66 | | (49.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Body), [INFO] [stdout] 67 | | (81.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Weapon), [INFO] [stdout] 68 | | (113.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Ring)].into_iter(); [INFO] [stdout] | | ^ - temporary value is freed at the end of this statement [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] | creates a temporary which is freed while still in use [INFO] [stdout] 69 | for (x, y, slot) in position_iter { [INFO] [stdout] | ------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/renderer/paint_sys/ui_inventory.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | let position_iter = [ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 110 | | (17.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Helmet), [INFO] [stdout] 111 | | (49.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Body), [INFO] [stdout] 112 | | (81.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Weapon), [INFO] [stdout] 113 | | (113.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Ring)].into_iter(); [INFO] [stdout] | | ^ - temporary value is freed at the end of this statement [INFO] [stdout] | |_______________________________________________________________| [INFO] [stdout] | creates a temporary which is freed while still in use [INFO] [stdout] 114 | for (x, y, slot) in position_iter { [INFO] [stdout] | ------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/ui/inventory.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | let position_iter = [ [INFO] [stdout] | _________________________^ [INFO] [stdout] 65 | | (17.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Helmet), [INFO] [stdout] 66 | | (49.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Body), [INFO] [stdout] 67 | | (81.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Weapon), [INFO] [stdout] 68 | | (113.0 * 4.0, 113.0 * 4.0, InventorySlotRef::Ring)].into_iter(); [INFO] [stdout] | | ^ - temporary value is freed at the end of this statement [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] | creates a temporary which is freed while still in use [INFO] [stdout] 69 | for (x, y, slot) in position_iter { [INFO] [stdout] | ------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proc-gen-experiment` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5e40e85a216d73f9afcdb061bc4ac3c4c8edabb210c2c17a34a93a1e569cdbf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e40e85a216d73f9afcdb061bc4ac3c4c8edabb210c2c17a34a93a1e569cdbf2", kill_on_drop: false }` [INFO] [stdout] 5e40e85a216d73f9afcdb061bc4ac3c4c8edabb210c2c17a34a93a1e569cdbf2