[INFO] updating cached repository d3zd3z/bootsim [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/d3zd3z/bootsim [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/d3zd3z/bootsim" "work/ex/beta-1.38-1/sources/1.37.0/gh/d3zd3z/bootsim"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/d3zd3z/bootsim'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/d3zd3z/bootsim" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/d3zd3z/bootsim"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/d3zd3z/bootsim'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 98d4a518c6a1a5d4a3a3fec6581786b02513f0fc [INFO] sha for GitHub repo d3zd3z/bootsim: 98d4a518c6a1a5d4a3a3fec6581786b02513f0fc [INFO] validating manifest of d3zd3z/bootsim on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of d3zd3z/bootsim on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing d3zd3z/bootsim [INFO] finished frobbing d3zd3z/bootsim [INFO] frobbed toml for d3zd3z/bootsim written to work/ex/beta-1.38-1/sources/1.37.0/gh/d3zd3z/bootsim/Cargo.toml [INFO] started frobbing d3zd3z/bootsim [INFO] finished frobbing d3zd3z/bootsim [INFO] frobbed toml for d3zd3z/bootsim written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/d3zd3z/bootsim/Cargo.toml [INFO] crate d3zd3z/bootsim already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing d3zd3z/bootsim against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/d3zd3z/bootsim:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 6ddcdfff0fc15ed7d8b0f9bf66b222f63fb7fb99cb37580dc176d5d030d14882 [INFO] running `"docker" "start" "-a" "6ddcdfff0fc15ed7d8b0f9bf66b222f63fb7fb99cb37580dc176d5d030d14882"` [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.3 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling bootsim v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] warning: bootutil/src/loader.c: In function 'split_go': [INFO] [stderr] warning: bootutil/src/loader.c:1092:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: *entry = (void*) entry_val; [INFO] [stderr] warning: ^ [INFO] [stderr] Compiling error-chain v0.7.1 [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/flash.rs:77:13 [INFO] [stderr] | [INFO] [stderr] 77 | let mut sub = &mut self.data[offset .. offset + payload.len()]; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/api.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let mut dev: &mut Flash = unsafe { &mut *dev }; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/api.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let mut dev: &mut Flash = unsafe { &mut *dev }; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.bootsim.8h6a6hhk-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771" "/opt/crater/target/debug/deps/bootsim-5a87bfc72c6f9771.1rdav6i715al3eu3.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/target/debug/build/bootsim-d1a57c5c861327f2/out" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lbootutil" "-Wl,--no-whole-archive" "/opt/crater/target/debug/deps/liberror_chain-744aa11f5ec049df.rlib" "/opt/crater/target/debug/deps/libbacktrace-a713fac8819ec74e.rlib" "/opt/crater/target/debug/deps/libbacktrace_sys-5b5ac10edc94bd5f.rlib" "/opt/crater/target/debug/deps/librustc_demangle-550740f22608ec8c.rlib" "/opt/crater/target/debug/deps/libcfg_if-55146e185022d321.rlib" "/opt/crater/target/debug/deps/libdbghelp-94ab056f98c942bf.rlib" "/opt/crater/target/debug/deps/libwinapi-d699aca12e7b19a5.rlib" "/opt/crater/target/debug/deps/libkernel32-68d3558eb82f9807.rlib" "/opt/crater/target/debug/deps/librand-1da20e4495368c4e.rlib" "/opt/crater/target/debug/deps/liblibc-7b787326fb50cb32.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /opt/crater/target/debug/deps/libbacktrace-a713fac8819ec74e.rlib(backtrace-a713fac8819ec74e.backtrace.3gxp8u2m-cgu.4.rcgu.o): In function `backtrace::symbolize::libbacktrace::init_state::{{closure}}': [INFO] [stderr] /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.0/src/symbolize/libbacktrace.rs:156: undefined reference to `backtrace_create_state' [INFO] [stderr] /opt/crater/target/debug/deps/libbacktrace-a713fac8819ec74e.rlib(backtrace-a713fac8819ec74e.backtrace.3gxp8u2m-cgu.4.rcgu.o): In function `backtrace::symbolize::libbacktrace::resolve': [INFO] [stderr] /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.0/src/symbolize/libbacktrace.rs:173: undefined reference to `backtrace_pcinfo' [INFO] [stderr] /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.0/src/symbolize/libbacktrace.rs:177: undefined reference to `backtrace_syminfo' [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: bootutil/src/loader.c: In function 'split_go': [INFO] [stderr] warning: bootutil/src/loader.c:1092:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: *entry = (void*) entry_val; [INFO] [stderr] warning: ^ [INFO] [stderr] [INFO] [stderr] error: Could not compile `bootsim`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6ddcdfff0fc15ed7d8b0f9bf66b222f63fb7fb99cb37580dc176d5d030d14882"` [INFO] running `"docker" "rm" "-f" "6ddcdfff0fc15ed7d8b0f9bf66b222f63fb7fb99cb37580dc176d5d030d14882"` [INFO] [stdout] 6ddcdfff0fc15ed7d8b0f9bf66b222f63fb7fb99cb37580dc176d5d030d14882