[INFO] updating cached repository https://github.com/d3zd3z/bootsim [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 98d4a518c6a1a5d4a3a3fec6581786b02513f0fc [INFO] testing d3zd3z/bootsim against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3zd3z%2Fbootsim" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/d3zd3z/bootsim on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/d3zd3z/bootsim [INFO] finished tweaking git repo https://github.com/d3zd3z/bootsim [INFO] tweaked toml for git repo https://github.com/d3zd3z/bootsim written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/d3zd3z/bootsim already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8f2686803ecbe39a045ee4aa9debb6ec4f5b0323c0382d57c0ca6521f570d3cf [INFO] running `"docker" "start" "-a" "8f2686803ecbe39a045ee4aa9debb6ec4f5b0323c0382d57c0ca6521f570d3cf"` [INFO] [stderr] Compiling gcc v0.3.38 [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.3 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling bootsim v0.1.0 (/opt/rustwide/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/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.bootsim.cgyzcdo2-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be" "/opt/rustwide/target/debug/deps/bootsim-adebeb0184fbf0be.1s98s384mlv61zee.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/bootsim-24c5ae61299bd668/out" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lbootutil" "-Wl,--no-whole-archive" "/opt/rustwide/target/debug/deps/liberror_chain-988d1d514ec5d761.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-7da593e7c6b8b6ae.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-3d924365aca4b4fc.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-032e8deda3d1ae1a.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-3fc688139546cad7.rlib" "/opt/rustwide/target/debug/deps/libdbghelp-2e7e64bf69889b18.rlib" "/opt/rustwide/target/debug/deps/libwinapi-7bb0c4db0a257e6c.rlib" "/opt/rustwide/target/debug/deps/libkernel32-2a88380f4928b946.rlib" "/opt/rustwide/target/debug/deps/librand-8279e73357ea298b.rlib" "/opt/rustwide/target/debug/deps/liblibc-4e2d1f63550948da.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62f93208e14fa8f0.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b2c4dbe979cef5e2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8b9b66cb3e9f891d.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5998b08bf29f56ac.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-efd1670396ccb585.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6435b9209e888961.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-866e5dfb603b34d2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-75eac3089695b3b4.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-35744537b4825584.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f7ee5081d96fb2cd.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-5b28479cb639d76c.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f827473dd3b319fa.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-53f9c299c549c6a9.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-44132fbb3fcc18d3.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /opt/rustwide/target/debug/deps/libbacktrace-7da593e7c6b8b6ae.rlib(backtrace-7da593e7c6b8b6ae.backtrace.eeql8vbj-cgu.14.rcgu.o): In function `backtrace::symbolize::libbacktrace::init_state::{{closure}}': [INFO] [stderr] /opt/rustwide/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/rustwide/target/debug/deps/libbacktrace-7da593e7c6b8b6ae.rlib(backtrace-7da593e7c6b8b6ae.backtrace.eeql8vbj-cgu.14.rcgu.o): In function `backtrace::symbolize::libbacktrace::resolve': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.0/src/symbolize/libbacktrace.rs:173: undefined reference to `backtrace_pcinfo' [INFO] [stderr] /opt/rustwide/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; 3 warnings emitted [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" "8f2686803ecbe39a045ee4aa9debb6ec4f5b0323c0382d57c0ca6521f570d3cf"` [INFO] running `"docker" "rm" "-f" "8f2686803ecbe39a045ee4aa9debb6ec4f5b0323c0382d57c0ca6521f570d3cf"` [INFO] [stdout] 8f2686803ecbe39a045ee4aa9debb6ec4f5b0323c0382d57c0ca6521f570d3cf