Repository: rust
Issue: Undefined symbols for architecture x86_64
Labels: A-linkage,T-compiler,C-bug,E-needs-mcve

First of all I apologise for the long steps needed to reproduce this issue. 

### Error
```
  = note: Undefined symbols for architecture x86_64:
            "_$LT$openm44..orientation..FLAT$u20$as$u20$core..ops..deref..Deref$GT$::deref::__stability::LAZY::ha1a1ee59629f5d0d (.llvm.14922800789097485937)", referenced from:
                openm44::game::Game::new::he00edae092ca94fd in libopenm44-b18ac1b6021fb1a6.rlib(openm44-b18ac1b6021fb1a6.34ixt68ftx3uvjkh.rcgu.o)
          ld: symbol(s) not found for architecture x86_64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

## Steps to reproduce
This error is quite spurious, it seems to be fixed by changing the `opt-level` back to `0`, if you change the code first it could not error or it could hang forever. It doesn't seem to be related to incremental. I've also had this error happen when using `HashMap::get_mut` but I couldn't reproduce that case.

* Clone XAMPPRocky/openm44
* Checkout the `linker_error` branch.
* Run `cargo run`.  (I'm sorry, this has 160–200 dependencies)
* You should get the below output
```
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" })', src/libcore/result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
```
* Change `&*crate::orientation::POINTY` on [line 62 of `src/layout`][code-line] to `&*crate::orientation::FLAT`
* Run `cargo run`


## Rustc
```
rustc 1.33.0 (2aa4c46cf 2019-02-28)
binary: rustc
commit-hash: 2aa4c46cfdd726e97360c2734835aa3515e8c858
commit-date: 2019-02-28
host: x86_64-apple-darwin
release: 1.33.0
LLVM version: 8.0
```

## Full output
```
       Fresh ucd-util v0.1.3
       Fresh glob v0.2.11
       Fresh lazy_static v1.3.0
       Fresh cfg-if v0.1.7
       Fresh utf8-ranges v1.0.2
       Fresh unicode-xid v0.1.0
       Fresh unicode-width v0.1.5
       Fresh ansi_term v0.11.0
       Fresh vec_map v0.8.1
       Fresh strsim v0.7.0
       Fresh bitflags v1.0.4
       Fresh peeking_take_while v0.1.2
       Fresh autocfg v0.1.2
       Fresh cc v1.0.34
       Fresh rand_core v0.4.0
       Fresh nodrop v0.1.13
       Fresh void v1.0.2
       Fresh unicode-xid v0.0.4
       Fresh adler32 v1.0.3
       Fresh linked-hash-map v0.5.2
       Fresh rustc-demangle v0.1.13
       Fresh rawpointer v0.1.0
       Fresh fnv v1.0.6
       Fresh bitflags v0.7.0
       Fresh color_quant v1.0.1
       Fresh quote v0.3.15
       Fresh lzw v0.10.0
       Fresh approx v0.1.1
       Fresh lazy_static v0.2.11
       Fresh smallvec v0.6.9
       Fresh xi-unicode v0.1.0
       Fresh claxon v0.3.2
       Fresh podio v0.1.6
       Fresh dtoa v0.4.3
       Fresh hound v3.4.0
       Fresh either v1.5.2
       Fresh app_dirs2 v2.0.3
       Fresh regex-syntax v0.5.6
       Fresh thread_local v0.3.6
       Fresh log v0.4.6
       Fresh proc-macro2 v0.2.3
       Fresh textwrap v0.10.0
       Fresh xml-rs v0.7.0
       Fresh draw_state v0.8.0
       Fresh rand_core v0.3.1
       Fresh unreachable v1.0.0
       Fresh synom v0.11.3
       Fresh inflate v0.4.5
       Fresh yaml-rust v0.4.3
       Fresh gif v0.10.1
       Fresh unicode-normalization v0.1.8
       Fresh itertools v0.7.11
       Fresh memchr v2.2.0
       Fresh libc v0.2.51
       Fresh libloading v0.4.3
       Fresh log v0.3.9
       Fresh quote v0.4.2
       Fresh num-traits v0.2.6
       Fresh proc-macro2 v0.4.27
       Fresh khronos_api v2.2.0
       Fresh arrayvec v0.4.10
       Fresh rand_isaac v0.1.1
       Fresh rand_hc v0.1.0
       Fresh rand_xorshift v0.1.1
       Fresh byteorder v1.3.1
       Fresh typenum v1.10.0
       Fresh syn v0.11.11
       Fresh matrixmultiply v0.1.15
       Fresh serde v1.0.90
       Fresh aho-corasick v0.6.10
       Fresh memchr v1.0.2
       Fresh atty v0.2.11
       Fresh which v1.0.5
       Fresh rand_jitter v0.1.3
       Fresh rand v0.4.6
       Fresh rand_os v0.1.3
       Fresh time v0.1.42
       Fresh core-foundation-sys v0.5.1
       Fresh clang-sys v0.21.2
       Fresh sdl2-sys v0.31.0
       Fresh num-traits v0.1.43
       Fresh num-integer v0.1.39
       Fresh num-complex v0.1.43
       Fresh quote v0.6.11
       Fresh gl_generator v0.9.0
       Fresh rand_pcg v0.1.2
       Fresh rand_chacha v0.1.1
       Fresh backtrace v0.3.14
       Fresh bzip2-sys v0.1.7
       Fresh deflate v0.7.19
       Fresh stb_truetype v0.2.6
       Fresh ogg v0.4.1
       Fresh jpeg-decoder v0.1.15
       Fresh generic-array v0.8.3
       Fresh smart-default v0.2.0
       Fresh toml v0.4.10
       Fresh serde_yaml v0.8.8
       Fresh regex v0.2.11
       Fresh nom v3.2.1
       Fresh clap v2.32.0
       Fresh rand v0.3.23
       Fresh msdos_time v0.1.6
       Fresh euclid v0.17.3
       Fresh sid v0.5.2
       Fresh ordered-float v0.5.2
       Fresh num-iter v0.1.37
       Fresh num-rational v0.1.42
       Fresh alga v0.5.4
       Fresh syn v0.15.30
       Fresh rand v0.6.5
       Fresh error-chain v0.10.0
       Fresh bzip2 v0.3.3
       Fresh lewton v0.5.2
       Fresh env_logger v0.4.3
       Fresh cexpr v0.2.3
       Fresh cgmath v0.14.1
       Fresh lyon_geom v0.10.1
       Fresh rusttype v0.5.2
       Fresh num v0.1.42
       Fresh png v0.12.0
       Fresh nalgebra v0.14.4
       Fresh derivative v1.0.2
       Fresh num-derive v0.2.4
       Fresh serde_derive v1.0.90
       Fresh twox-hash v1.1.2
       Fresh yaml-merge-keys v0.3.0
       Fresh zip v0.3.3
       Fresh bindgen v0.32.3
       Fresh lyon_path v0.10.1
       Fresh sdl2 v0.31.0
       Fresh gfx_core v0.8.3
       Fresh image v0.19.0
       Fresh gfx_gl v0.5.0
       Fresh lyon_tessellation v0.10.2
       Fresh gfx v0.17.1
       Fresh gfx_device_gl v0.15.5
       Fresh lyon v0.10.2
       Fresh gfx_glyph v0.10.2
       Fresh gfx_window_sdl v0.8.0
       Fresh coreaudio-sys v0.2.2
       Fresh coreaudio-rs v0.9.1
       Fresh cpal v0.8.2
       Fresh rodio v0.7.0
       Fresh ggez v0.4.4
   Compiling openm44 v0.1.0 (/Users/aep/src/openm44)
     Running `rustc --crate-name openm44 src/main.rs --color always --crate-type bin --emit=dep-info,link -C opt-level=2 -C debuginfo=2 -C debug-assertions=on -C metadata=4cad5c9c2117641f -C extra-filename=-4cad5c9c2117641f --out-dir /Users/aep/src/openm44/target/debug/deps -C incremental=/Users/aep/src/openm44/target/debug/incremental -L dependency=/Users/aep/src/openm44/target/debug/deps --extern ggez=/Users/aep/src/openm44/target/debug/deps/libggez-a1434b343f73fabd.rlib --extern lazy_static=/Users/aep/src/openm44/target/debug/deps/liblazy_static-33c51f17c72ef9f4.rlib --extern openm44=/Users/aep/src/openm44/target/debug/deps/libopenm44-b18ac1b6021fb1a6.rlib --extern rand=/Users/aep/src/openm44/target/debug/deps/librand-f40a137293de3ea6.rlib --extern serde=/Users/aep/src/openm44/target/debug/deps/libserde-ca9fc1cb9204a3a0.rlib --extern serde_derive=/Users/aep/src/openm44/target/debug/deps/libserde_derive-54b69c06e37e5ac8.dylib --extern serde_yaml=/Users/aep/src/openm44/target/debug/deps/libserde_yaml-266327b739d45545.rlib --extern yaml_merge_keys=/Users/aep/src/openm44/target/debug/deps/libyaml_merge_keys-f9f4e811e1c60aab.rlib -C target-cpu=native -L native=/Users/aep/src/openm44/target/debug/build/bzip2-sys-62ba1ecf6f24750e/out/lib`
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.12i7qeo4r6iva8bf.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.181nvzg7z39z93cx.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.1ln5a3o626etidrj.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.1u2zi85kxcfop7v5.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.24fj0kwpq7wly2kq.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.26al8s29656fi14s.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.274jjzkvtwxfohx6.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.2a6nwire5c2gfh5l.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.2etjnmp60cja3ipy.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.2exg2x5ig2lz1u1e.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.2onu3k2v584e1rsr.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.2qqtfxpaoyevh5i0.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.2sksa8cm7bmt8qz3.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.38vd7f4nldc7e2pw.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.3b0356h3b1uknzj8.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.3caxon3dyy6ctm3m.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.3elsj62444z9ap3i.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.3rt28by0folzosgx.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.42zdkclvkc44lzh6.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.49a10iryjb9ecve6.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.4bild5kndfyixjqo.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.4hr1vmqov7wp8bmp.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.52qqzlro2gfkdnii.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.54ttn0c7jc93b1a3.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.djappinvxq645yx.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.gtfzwk2989i25jy.rcgu.o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.wkfxrfbson20odh.rcgu.o" "-o" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f" "/Users/aep/src/openm44/target/debug/deps/openm44-4cad5c9c2117641f.4ttsxlkzn8w9id8u.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/aep/src/openm44/target/debug/deps" "-L" "/Users/aep/src/openm44/target/debug/build/bzip2-sys-62ba1ecf6f24750e/out/lib" "-L" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/aep/src/openm44/target/debug/deps/libopenm44-b18ac1b6021fb1a6.rlib" "/Users/aep/src/openm44/target/debug/deps/libyaml_merge_keys-f9f4e811e1c60aab.rlib" "/Users/aep/src/openm44/target/debug/deps/libitertools-da42954271f41c43.rlib" "/Users/aep/src/openm44/target/debug/deps/libeither-a8dca019ee877371.rlib" "/Users/aep/src/openm44/target/debug/deps/liberror_chain-b4ef00902d1630f0.rlib" "/Users/aep/src/openm44/target/debug/deps/libserde_yaml-266327b739d45545.rlib" "/Users/aep/src/openm44/target/debug/deps/libyaml_rust-0440f1db9fcdc51a.rlib" "/Users/aep/src/openm44/target/debug/deps/libdtoa-f0a0ed83f6be8de3.rlib" "/Users/aep/src/openm44/target/debug/deps/libggez-a1434b343f73fabd.rlib" "/Users/aep/src/openm44/target/debug/deps/libzip-9768b289f4f54a06.rlib" "/Users/aep/src/openm44/target/debug/deps/libpodio-ebf8660ca9843743.rlib" "/Users/aep/src/openm44/target/debug/deps/libmsdos_time-4f8af4bee8357d82.rlib" "/Users/aep/src/openm44/target/debug/deps/libtime-c743629c49551248.rlib" "/Users/aep/src/openm44/target/debug/deps/libbzip2-879503cca28d5114.rlib" "/Users/aep/src/openm44/target/debug/deps/libbzip2_sys-685000300fdef309.rlib" "/Users/aep/src/openm44/target/debug/deps/libtoml-c422bd572fb04710.rlib" "/Users/aep/src/openm44/target/debug/deps/libserde-ca9fc1cb9204a3a0.rlib" "/Users/aep/src/openm44/target/debug/deps/librodio-4001d1c7890311b6.rlib" "/Users/aep/src/openm44/target/debug/deps/libcgmath-58c5d98694f1398d.rlib" "/Users/aep/src/openm44/target/debug/deps/liblewton-1dfd2d832b6881df.rlib" "/Users/aep/src/openm44/target/debug/deps/libogg-e53b483d3548f9cf.rlib" "/Users/aep/src/openm44/target/debug/deps/libhound-f07258d9b948a939.rlib" "/Users/aep/src/openm44/target/debug/deps/libcpal-2f77b124e89d58b0.rlib" "/Users/aep/src/openm44/target/debug/deps/libcore_foundation_sys-a3db1d934c1809ed.rlib" "/Users/aep/src/openm44/target/debug/deps/libcoreaudio-46d5671dfe58db3d.rlib" "/Users/aep/src/openm44/target/debug/deps/libcoreaudio_sys-5b6f08e874b0b8ed.rlib" "/Users/aep/src/openm44/target/debug/deps/libclaxon-ed599c61d155f564.rlib" "/Users/aep/src/openm44/target/debug/deps/libnalgebra-a983ac4228555f0c.rlib" "/Users/aep/src/openm44/target/debug/deps/libalga-3e6dccf93c474b5c.rlib" "/Users/aep/src/openm44/target/debug/deps/libnum_complex-ad95609806e9688b.rlib" "/Users/aep/src/openm44/target/debug/deps/libmatrixmultiply-29003071f5246473.rlib" "/Users/aep/src/openm44/target/debug/deps/librawpointer-67ec6ede1e3269d4.rlib" "/Users/aep/src/openm44/target/debug/deps/libgeneric_array-f5d9cd295cb9bc5e.rlib" "/Users/aep/src/openm44/target/debug/deps/libtypenum-8201d7b95e516bfe.rlib" "/Users/aep/src/openm44/target/debug/deps/liblyon-8c618434f0b75bd8.rlib" "/Users/aep/src/openm44/target/debug/deps/liblyon_tessellation-084100f4b29a0642.rlib" "/Users/aep/src/openm44/target/debug/deps/libsid-f6fa70e3bb710eef.rlib" "/Users/aep/src/openm44/target/debug/deps/liblyon_path-8b824a60b1dbe3ee.rlib" "/Users/aep/src/openm44/target/debug/deps/liblyon_geom-aaf9e8a744f4d8c6.rlib" "/Users/aep/src/openm44/target/debug/deps/libeuclid-37b0315f55794618.rlib" "/Users/aep/src/openm44/target/debug/deps/libimage-a5573001f432c109.rlib" "/Users/aep/src/openm44/target/debug/deps/libgif-0febc02fae3959b0.rlib" "/Users/aep/src/openm44/target/debug/deps/libcolor_quant-d76ac73ef978df1a.rlib" "/Users/aep/src/openm44/target/debug/deps/libjpeg_decoder-19ab8c3344166d40.rlib" "/Users/aep/src/openm44/target/debug/deps/libpng-57c7f391c8897fbb.rlib" "/Users/aep/src/openm44/target/debug/deps/libdeflate-ee3dfcbff8232c1a.rlib" "/Users/aep/src/openm44/target/debug/deps/libinflate-6eedb925c73f3278.rlib" "/Users/aep/src/openm44/target/debug/deps/libadler32-9e6af50984ed49e8.rlib" "/Users/aep/src/openm44/target/debug/deps/liblzw-01303f353d1c7f13.rlib" "/Users/aep/src/openm44/target/debug/deps/libnum_rational-dd6671692fd920ab.rlib" "/Users/aep/src/openm44/target/debug/deps/libgfx_window_sdl-e9e2193884335211.rlib" "/Users/aep/src/openm44/target/debug/deps/libsdl2-0b1fb598a985c1e0.rlib" "/Users/aep/src/openm44/target/debug/deps/librand-f46aa1ebbb41f34f.rlib" "/Users/aep/src/openm44/target/debug/deps/librand-89a73b97a78aa358.rlib" "/Users/aep/src/openm44/target/debug/deps/libsdl2_sys-3f3acb67c2e7e9a1.rlib" "/Users/aep/src/openm44/target/debug/deps/libbitflags-bea0fd9dd4290bd9.rlib" "/Users/aep/src/openm44/target/debug/deps/liblazy_static-38decb78e5e72f5f.rlib" "/Users/aep/src/openm44/target/debug/deps/libnum-9a059b9a4ac911a6.rlib" "/Users/aep/src/openm44/target/debug/deps/libnum_iter-8dd5e89344d0a5e9.rlib" "/Users/aep/src/openm44/target/debug/deps/libnum_integer-77b5addd0c00616e.rlib" "/Users/aep/src/openm44/target/debug/deps/libgfx_glyph-005afb89fa1f9618.rlib" "/Users/aep/src/openm44/target/debug/deps/libxi_unicode-afa9d41d5574c42e.rlib" "/Users/aep/src/openm44/target/debug/deps/libunicode_normalization-694d13e21cea054a.rlib" "/Users/aep/src/openm44/target/debug/deps/libsmallvec-cd5fa54f93171c59.rlib" "/Users/aep/src/openm44/target/debug/deps/libtwox_hash-ba62ed23f1519a44.rlib" "/Users/aep/src/openm44/target/debug/deps/librand-f40a137293de3ea6.rlib" "/Users/aep/src/openm44/target/debug/deps/librand_xorshift-e3d2d7e4b4bbefbf.rlib" "/Users/aep/src/openm44/target/debug/deps/librand_pcg-16b56105c2c07cfe.rlib" "/Users/aep/src/openm44/target/debug/deps/librand_hc-b8724c65a1b7398d.rlib" "/Users/aep/src/openm44/target/debug/deps/librand_chacha-5d588c732442d516.rlib" "/Users/aep/src/openm44/target/debug/deps/librand_isaac-1792dc6a6ffd49cb.rlib" "/Users/aep/src/openm44/target/debug/deps/librand_core-01e531db9f4b36ef.rlib" "/Users/aep/src/openm44/target/debug/deps/librand_os-3ff6cc24ea10f0b0.rlib" "/Users/aep/src/openm44/target/debug/deps/librand_jitter-d56f4a994389ee93.rlib" "/Users/aep/src/openm44/target/debug/deps/librand_core-7f4cf1d9844170c0.rlib" "/Users/aep/src/openm44/target/debug/deps/librusttype-aa9764df7618e90a.rlib" "/Users/aep/src/openm44/target/debug/deps/liblinked_hash_map-408e23c21b7deb43.rlib" "/Users/aep/src/openm44/target/debug/deps/libfnv-ef89a5a11e4346ed.rlib" "/Users/aep/src/openm44/target/debug/deps/libstb_truetype-62a8130afb1f9dd8.rlib" "/Users/aep/src/openm44/target/debug/deps/libbyteorder-c33973dc5fb31ddb.rlib" "/Users/aep/src/openm44/target/debug/deps/libarrayvec-7fc74ea4fb17974c.rlib" "/Users/aep/src/openm44/target/debug/deps/libnodrop-7d4a05ccab346fb1.rlib" "/Users/aep/src/openm44/target/debug/deps/libapprox-7e51d710922e2894.rlib" "/Users/aep/src/openm44/target/debug/deps/libordered_float-8ba5ee635a4d7e35.rlib" "/Users/aep/src/openm44/target/debug/deps/libunreachable-889eebb14e3cbc3f.rlib" "/Users/aep/src/openm44/target/debug/deps/libvoid-2b9c3bf882a6c13f.rlib" "/Users/aep/src/openm44/target/debug/deps/libnum_traits-2dc513570ab3b1e1.rlib" "/Users/aep/src/openm44/target/debug/deps/libnum_traits-c6230151cf74133e.rlib" "/Users/aep/src/openm44/target/debug/deps/libbacktrace-34ea63b9a3c9addc.rlib" "/Users/aep/src/openm44/target/debug/deps/librustc_demangle-7d58dd655468a5ab.rlib" "/Users/aep/src/openm44/target/debug/deps/liblibc-20614a28e625a397.rlib" "/Users/aep/src/openm44/target/debug/deps/libgfx_device_gl-d5010af77c85972d.rlib" "/Users/aep/src/openm44/target/debug/deps/libgfx_gl-bf2f7114d947ada8.rlib" "/Users/aep/src/openm44/target/debug/deps/libgfx-03a6071d14f71753.rlib" "/Users/aep/src/openm44/target/debug/deps/libgfx_core-421bb4f17f9947ec.rlib" "/Users/aep/src/openm44/target/debug/deps/libdraw_state-b2249afff6ffb860.rlib" "/Users/aep/src/openm44/target/debug/deps/libbitflags-46ff434c2a502b54.rlib" "/Users/aep/src/openm44/target/debug/deps/liblog-8d68c4f87b72cd0f.rlib" "/Users/aep/src/openm44/target/debug/deps/libcfg_if-4c92674b38dfed8b.rlib" "/Users/aep/src/openm44/target/debug/deps/libapp_dirs2-2347f827488b9c67.rlib" "/Users/aep/src/openm44/target/debug/deps/liblazy_static-33c51f17c72ef9f4.rlib" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-d4fbe66ddea5f3ce.rlib" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-cb02f3c2aa14313b.rlib" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace_sys-b0895307a49d7b98.rlib" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-5751ec7e6e80fbea.rlib" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-136c67c44acb8989.rlib" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-440e2779940c5e25.rlib" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-089d48ff1bba5f70.rlib" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-9d6280dd79b180e2.rlib" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-f948d62f596dcd3d.rlib" "/Users/aep/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-35232c4af1148867.rlib" "-framework" "CoreFoundation" "-framework" "AudioUnit" "-framework" "CoreAudio" "-lSDL2" "-framework" "Security" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: Undefined symbols for architecture x86_64:
            "_$LT$openm44..orientation..FLAT$u20$as$u20$core..ops..deref..Deref$GT$::deref::__stability::LAZY::ha1a1ee59629f5d0d (.llvm.14922800789097485937)", referenced from:
                openm44::game::Game::new::he00edae092ca94fd in libopenm44-b18ac1b6021fb1a6.rlib(openm44-b18ac1b6021fb1a6.34ixt68ftx3uvjkh.rcgu.o)
          ld: symbol(s) not found for architecture x86_64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: Could not compile `openm44`.

Caused by:
  process didn't exit successfully: `rustc --crate-name openm44 src/main.rs --color always --crate-type bin --emit=dep-info,link -C opt-level=2 -C debuginfo=2 -C debug-assertions=on -C metadata=4cad5c9c2117641f -C extra-filename=-4cad5c9c2117641f --out-dir /Users/aep/src/openm44/target/debug/deps -C incremental=/Users/aep/src/openm44/target/debug/incremental -L dependency=/Users/aep/src/openm44/target/debug/deps --extern ggez=/Users/aep/src/openm44/target/debug/deps/libggez-a1434b343f73fabd.rlib --extern lazy_static=/Users/aep/src/openm44/target/debug/deps/liblazy_static-33c51f17c72ef9f4.rlib --extern openm44=/Users/aep/src/openm44/target/debug/deps/libopenm44-b18ac1b6021fb1a6.rlib --extern rand=/Users/aep/src/openm44/target/debug/deps/librand-f40a137293de3ea6.rlib --extern serde=/Users/aep/src/openm44/target/debug/deps/libserde-ca9fc1cb9204a3a0.rlib --extern serde_derive=/Users/aep/src/openm44/target/debug/deps/libserde_derive-54b69c06e37e5ac8.dylib --extern serde_yaml=/Users/aep/src/openm44/target/debug/deps/libserde_yaml-266327b739d45545.rlib --extern yaml_merge_keys=/Users/aep/src/openm44/target/debug/deps/libyaml_merge_keys-f9f4e811e1c60aab.rlib -C target-cpu=native -L native=/Users/aep/src/openm44/target/debug/build/bzip2-sys-62ba1ecf6f24750e/out/lib` (exit code: 1)
```

[code-line]: https://github.com/XAMPPRocky/openm44/blob/bbd558649672a5dbb359f4257205c19ea49c5726/src/layout.rs#L62