[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.37-6/sources/1.36.0/gh/d3zd3z/bootsim"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/d3zd3z/bootsim'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/d3zd3z/bootsim" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/d3zd3z/bootsim"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/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.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of d3zd3z/bootsim on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/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.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing d3zd3z/bootsim against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-1/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "build" "--frozen"` [INFO] [stdout] aea763731a9dcd15239ef22088218484882a36f0c64ee49d609e0ab9d9707b47 [INFO] running `"docker" "start" "-a" "aea763731a9dcd15239ef22088218484882a36f0c64ee49d609e0ab9d9707b47"` [INFO] [stderr] Compiling gcc v0.3.38 [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling bootsim v0.1.0 (/opt/crater/workdir) [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.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.bootsim.cjsysoey-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476" "/opt/crater/target/debug/deps/bootsim-eee8039221e2c476.1c28oyaxl85wq5np.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/target/debug/build/bootsim-105aff2b37cb58e0/out" "-L" "/opt/crater/rustup-home/toolchains/1.36.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-f81124574c1b4f80.rlib" "/opt/crater/target/debug/deps/libbacktrace-c7dc5a3084bdf0b1.rlib" "/opt/crater/target/debug/deps/libbacktrace_sys-d8f5755272e78f15.rlib" "/opt/crater/target/debug/deps/librustc_demangle-274c4da954efaa0a.rlib" "/opt/crater/target/debug/deps/libcfg_if-fcc9aff037f57c39.rlib" "/opt/crater/target/debug/deps/libdbghelp-4c5eeff50cd0cc4c.rlib" "/opt/crater/target/debug/deps/libwinapi-6779d1f046ce211b.rlib" "/opt/crater/target/debug/deps/libkernel32-579101ee9cfddddd.rlib" "/opt/crater/target/debug/deps/librand-ca2a4a314571917b.rlib" "/opt/crater/target/debug/deps/liblibc-da4b711171922317.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9895e8982b0a79e7.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57306b8ed3378a0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-54463ae5adae3649.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d99667b199a9875a.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51f4300e102199f5.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b3ccf1f7737a6a91.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-157c37a3ceb78853.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-505bcee45aafb736.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c29abd529ba4452b.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-895383a3232f6572.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5594cb4f559bc761.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-38e90baf978bc428.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /opt/crater/target/debug/deps/libbacktrace-c7dc5a3084bdf0b1.rlib(backtrace-c7dc5a3084bdf0b1.backtrace.6vo3nabl-cgu.5.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-c7dc5a3084bdf0b1.rlib(backtrace-c7dc5a3084bdf0b1.backtrace.6vo3nabl-cgu.5.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" "aea763731a9dcd15239ef22088218484882a36f0c64ee49d609e0ab9d9707b47"` [INFO] running `"docker" "rm" "-f" "aea763731a9dcd15239ef22088218484882a36f0c64ee49d609e0ab9d9707b47"` [INFO] [stdout] aea763731a9dcd15239ef22088218484882a36f0c64ee49d609e0ab9d9707b47