[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 beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 129cb3276477443a8451969a3171be2c51df88607a07e40f29fa728a1b951066 [INFO] running `"docker" "start" "-a" "129cb3276477443a8451969a3171be2c51df88607a07e40f29fa728a1b951066"` [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] Compiling backtrace v0.3.0 [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/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.bootsim.dybzweec-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d" "/opt/crater/target/debug/deps/bootsim-2cf04ead4dfabd0d.1nw0f06dvz877q3m.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/target/debug/build/bootsim-cfc5dd486a784b35/out" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-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-82db74289f22aa5d.rlib" "/opt/crater/target/debug/deps/libbacktrace-cdd124b9bc44a038.rlib" "/opt/crater/target/debug/deps/libbacktrace_sys-adf813ccac9e9df5.rlib" "/opt/crater/target/debug/deps/librustc_demangle-a63e03c53d847d30.rlib" "/opt/crater/target/debug/deps/libcfg_if-e594ac7fa20b1aa3.rlib" "/opt/crater/target/debug/deps/libdbghelp-d860676abe2fb31b.rlib" "/opt/crater/target/debug/deps/libwinapi-be47d272a993a950.rlib" "/opt/crater/target/debug/deps/libkernel32-ed10b6f453a27092.rlib" "/opt/crater/target/debug/deps/librand-d9ed88a36aefdd98.rlib" "/opt/crater/target/debug/deps/liblibc-5727d97ccaa262e3.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1d6d86bd078a28e9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e9721e46a424e2a9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-c07193698f282147.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6da45690f3863086.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-690797036dd27680.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d3896ccbfd8eda2b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7cccc3739e3d7623.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5e9ba178a513cd29.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-5ca9f83bf63d1f4b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bba1c7ef9e950882.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e23c9de62012deb5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9b59dffdcd513d5d.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-17392340ab2e4a97.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ac21508a81e3f7f3.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /opt/crater/target/debug/deps/libbacktrace-cdd124b9bc44a038.rlib(backtrace-cdd124b9bc44a038.backtrace.m0d8uhmd-cgu.6.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-cdd124b9bc44a038.rlib(backtrace-cdd124b9bc44a038.backtrace.m0d8uhmd-cgu.6.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" "129cb3276477443a8451969a3171be2c51df88607a07e40f29fa728a1b951066"` [INFO] running `"docker" "rm" "-f" "129cb3276477443a8451969a3171be2c51df88607a07e40f29fa728a1b951066"` [INFO] [stdout] 129cb3276477443a8451969a3171be2c51df88607a07e40f29fa728a1b951066